/* WELCOME REC */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: block;
    min-height: 70vh;
    overflow: auto;
    /* Evita che l'animazione possa fare uno scrolling */
    flex-direction: column;
    width: 100%;
    position: relative;
}

#noti-safety.noti-safety {
    margin: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--background-shadow-alf-0);
}

#noti-safety .msg {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 4px;
}

#noti-safety p {
    margin: auto;
    padding: 4px 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    line-height: 26px;
    color: var(--secondary-color);
    background: var(--background-color-alf-a);
}

#noti-safety p.msg {
    margin: auto;
    padding: 7px 5px;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
}

#noti-safety .msg.success {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 4px;
}

#noti-safety .success::after {
    content: '\2615';
    /* Unicode character for checkmark */
    display: flex;
    font-size: 29px;
    color: #155724;
    position: absolute;
    width: auto;
    height: auto;
    opacity: 1;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    padding-right: 3px;
    left: auto;
    top: auto;
}

#noti-safety .success {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 19px;
    margin-bottom: 30px;
}

#noti-safety .success::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background-color: #3f3f3f1c;
    border: 4px dashed #2fa04a;
    border-radius: 50%;
    margin-bottom: auto;
    animation: circleClose 8s cubic-bezier(0.55, 0.09, 0.68, 0.53) infinite, checkmarkAppear 1s 1s ease-in-out infinite;
}

.header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}


.message {
    font-size: 18px;
    margin: auto;
    padding: 10px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success {
    color: #155724;
}

.success::after {
    content: '\2713';
    /* Unicode character for checkmark */
    display: flex;
    font-size: 53px;
    color: #155724;
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.success::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    background-color: #3f3f3f1c;
    border: 4px dashed #2fa04a;
    border-radius: 50%;
    margin-bottom: 11px;
    animation: circleClose 8s cubic-bezier(0.55, 0.09, 0.68, 0.53) infinite, checkmarkAppear 1s 1s ease-in-out infinite;
}

#noti-box {
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease-in-out, display 0.3s ease-in-out;
    box-shadow: -2px 7px 11px 0px rgb(90 90 90 / 38%);
}

#noti-box {
    position: sticky;
    top: 4px;
    width: max-content;
    display: flex;
    line-height: 1.5;
    font-size: 14px;
    padding: 5px 12px;
    background: var(--bg-button-light);
    z-index: 2;
    align-items: center;
    margin: auto;
}

#noti-box .msg {
    position: relative;
    display: flex;
    margin-left: 42px;
    color: white;
}

.closealert {
    position: relative;
    display: flex;
    padding: 6px;
    width: 21px;
    height: 21px;
    justify-content: center;
    align-items: center;
}


#noti-box.success::before {
    content: '';
    position: absolute;
    margin-top: 8px;
    margin-left: -2px;
    display: block;
    width: 30px;
    height: 30px;
    background-color: #3f3f3f1c;
    border: 2px dashed #FFEB3B;
    border-radius: 50%;
    margin-bottom: 11px;
    animation: circleClose 8s cubic-bezier(0.55, 0.09, 0.68, 0.53) infinite, checkmarkAppear 1s 1s ease-in-out infinite;
}

#noti-box.success::after {
    content: '\2713';
    /* Unicode character for checkmark */
    display: flex;
    font-size: 22px;
    color: #155724;
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.fadeIn {
    opacity: 1;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.fadeOut {
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease-in-out;
}

@keyframes circleClose {
    50% {
        transform: rotate(0deg);
        border: 4px dashed #2fa04a;
    }

    100% {
        transform: rotate(360deg);
        border: 4px dashed #2fa04abd;
    }
}

@keyframes checkmarkAppear {
    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

h2.recovery {
    display: flex;
    align-items: center;
    width: fit-content;
}

h2 {
    display: block;
    margin: 10px;
    font-size: 22px;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    text-align: center;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.welcome-container {
    flex: 1;
    display: flex;
    max-width: 400px;
    min-height: 100vh;
    position: sticky;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 7px;
    top: 12px;
    margin: auto;
    margin-bottom: 6rem;
}

.welcome-container .center {
    text-align: center;
}

.welcome-content {
    padding: 2rem;
    display: flex;
    background-color: #fff;
    min-width: -webkit-fill-available;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-words {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.words {
    padding: 6px 18px;
    border: 1px dashed #a7a7a7;
    margin: 7px 6px;
    border-radius: 4px;
    color: #4c4c4c;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    position: relative;
    margin-top: 3rem;
    font-size: 12px;
}

.location-footer {
    font-size: 12px;
    line-height: 1.7;
}

.location-item {
    padding: 8px;
}


.img {
    width: 50px;
    margin: auto;
    margin-right: 9px;
}

label {
    display: block;
    width: 100%;
    color: #7b7b7b;
    position: relative;
    font-size: 12px;
    text-align: left;
    padding: 5px 0px 10px 12px;
    border-bottom: var(--border-input);
}

.field {
    position: relative;
    display: flex;
    margin: auto;
    padding: 29px 27px;
    border-radius: 8px;
    box-shadow: 0 0 2px rgb(90 90 90 / 18%);
    background: var(--background-color-alf-5);
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

input::-webkit-input-placeholder {
    font-size: 13px;
    padding: 12px 4px;
    background: var(--bg-color);
    width: 15px;
    text-align: center;
}

input,
textarea {
    width: 33%;
    padding: 10px;
    margin: 9px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

textarea {
    width: 100%;
}

input[name='email'] {
    width: calc(100% - 0rem);
    margin-bottom: 21px;
}

input[name='passphrase[]']:placeholder {
    content: 'frase mnemonica';
    color: black;
    display: block;
}

.field .forgot {
    display: flex;
    padding: 0;
    margin: auto;
    align-items: center;
    width: -webkit-fill-available;
}

.forgot i {
    padding: 9px;
    font-size: 20px;
    margin: auto;
    border-radius: 12px;
}

.field .forgot input[name='email'] {
    margin: 9px 16px 9px 0px;
}

.field .forgot button {
    width: max-content;
    margin: 9px 1px 9px 5px;
}

button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 15px;
}

.note {
    font-size: 13px;
    color: #777777;
    text-align: center;
}

button:hover {
    background-color: #2980b9;
}

@media only screen and (max-width: 780px) {
    .field {
        margin: auto;
        padding: 11px 12px;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    input {
        width: 39%;
        margin: 11px 5px;
    }

    .welcome-container {
        flex: 1;
        display: block;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 17px 26px;
        text-align: center;
    }
}