@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet');

:root {
    --dark-blue: #003A63;
    --light-blue: #0096D6;
    --text-dark: #0D1430;
    --text-light: #FFFFFF;
    --background-light: #FFFFFF;
    --background-gray: #F7F9FA;
    --border-color: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Rubik', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
    display: flex;
    min-height: 100vh;
}


.password-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    flex: 0.2;
    background: url('../imgs/lateral.png') no-repeat center center;
    background-color: var(--dark-blue);
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.logo-sidebar {
    max-width: 200px;
}

.password-form-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: var(--background-light);
}

.password-form-container {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.logo-form {
    max-width: 150px;
    margin-bottom: 20px;
}

.password-form-container h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.password-form-container p {
    margin-bottom: 32px;
    color: #3D4359;
}

.form-group {
    text-align: left;
    margin-bottom: 40px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group label span {
    font-weight: 400;
    color: #888;
    font-size: 0.8rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #3D4359;
    border-radius: 12px;
    font-family: 'Rubik', sans-serif;
}

.warning{
    border: 1px solid #E33737;
}

.warning-popup{
    display: none;
    position: fixed; 
    top:0; left:0;
    width:100%; height:100%;
    z-index:9999;
    margin-top: 20px;
    justify-items:center;
    animation-name: popupAnimation;
    animation-duration: 0.8s;
}
.popup-box{
    color: #0D1430;
    width: 80%;
    max-width: 500px;
    padding: 40px 0px;
    align-content:center;
    justify-items:center;
    text-align: center;
    background-color: #FDFDFD;
    border-radius: 16px;
    border: 1px solid #003A60;
    box-shadow: 10px 10px 16px rgba(0, 58, 96, 0.2);
}
.popup-box img{
    width: 15%;
    margin-bottom: 20px;
}
.popup-box h4{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}
.popup-box p{
    margin-bottom: 30px;
    max-width: 70%;
    font-size: 15px;
}
.popup-box a{
    text-decoration: none;
    padding: 10px 32px;
    background-color: #52AE32;
    color: #FFF;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
}


.btn-password {
    width: 70%;
    max-width: 250px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background-color: var(--dark-blue);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: 700;
    box-shadow: 0 4px 8px 0 rgba(13, 20, 48, 0.30);
}

.btn-password:hover {
    background-color: var(--light-blue);
}

.back-link{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-weight: 500;
}
.password-form-container a{
    text-decoration: none;
    color: var(--dark-blue);
}
.password-form-container a:hover{
    text-decoration: underline;
}

.password-wrapper {
    position: relative;
    align-content: center;
}

.password-wrapper input {
    padding-right: 45px;
}
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-42%);
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
}


/*Done page*/
.password-registered{
    display: grid;
    grid-template-columns: 1fr;
}
.password-registered img{
    width: 70%;
    max-width: 300px;
    justify-self: center;
    margin-bottom: 32px;
}
.password-registered h1{
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: center;
    max-width: 270px;
    justify-self: center;
    line-height: 130%;
    font-weight: 600;
    font-size: 28px;
}
.password-registered p{
    justify-self: center;
    color: #3D4359;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 400px;
    margin-bottom: 32px;
}
.password-registered a{
    background-color: var(--dark-blue);
    color: #fff;
    border-radius: 12px;
    justify-self: center;
    padding: 15px 40px;
    text-decoration: none;
    width: 200px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 8px 0 rgba(13, 20, 48, 0.30);
}



.link-sent{
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 400px;
    gap: 32px;
}
.link-sent p{
    text-align: center;
    color: #3D4359;
}
.link-sent h1{
    font-size: 28px;
}
.link-sent h4{
    margin: 15px 0;
    color: var(--text-dark);
    font-weight: 700;
}
.link-sent a{
    background-color: var(--dark-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(13, 20, 48, 0.30);
}



@media (max-width: 768px) {
    .password-container {
        flex-direction: column;
    }
    .btn-password{
        font-size: 15px;
        padding: 15px 10px;
    }
    .sidebar {
        display: none;
    }
    .password-form-section {
        padding: 30px 20px;
    }
}

.hidden{
    display: none;
}