* {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    padding: 20px;
    height: 100vh;
    justify-content: center;
    background-image: url("/assets/img/")
}

.right {
    width: 450px;
    background-color: white;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left {
    flex: 1;
    background-color: #d0d0d0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.logo {
    width: 200px;
    height: auto;
    display: block;
    margin-bottom: 25px;
    margin-left: 0;
    justify-self: center;
}

.header > h2 {
    margin: 0;
    color: #333;
    font-size: 26px;
    font-weight: 500;
    text-align: center;
}

.header > h4 {
    margin-top: 10px;
    font-weight: normal;
    font-size: 16px;
    color: #777;
    text-align: center;
}

.form {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

label {
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
    display: block;
    font-weight: 500;
}

.form-field {
    height: 46px;
    padding: 0 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    outline: 0;
    margin-top: 4px;
    margin-bottom: 14px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-field:focus {
    border-color: #0f7ef1;
}

.form > button {
    padding: 12px;
    background-color: #252552;
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.form > button:hover {
    background-color: #393962;
}

.form > p {
    margin: 0 0 20px;
}

.form > p > a {
    color: #888;
    font-size: 14px;
    text-decoration: none;
}

.form > p > a:hover {
    text-decoration: underline;
}

.form > div {
    text-align: center;
    margin-top: 20px;
}

.form > div > a {
    color: #888;
    font-size: 14px;
    text-decoration: none;
}

.form > div > a:hover {
    text-decoration: underline;
}

@keyframes move {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animation {
    animation-name: move;
    animation-duration: 0.4s;
    animation-fill-mode: both;
}

.a1 { animation-delay: 0.1s; }
.a2 { animation-delay: 0.2s; }
.a3 { animation-delay: 0.3s; }
.a4 { animation-delay: 0.4s; }
.a5 { animation-delay: 0.5s; }
.a6 { animation-delay: 0.6s; }

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-top: 5px !important;
    margin-bottom: 15px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #777;
    border-radius: 4px;
    background-color: #fff;
    margin-right: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.checkbox-container a {
    color: #242461;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.error {
    color: #252552;
    background-color: #f6f6f6;
    border-left: 4px solid #252552;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    text-align: center;
    font-size: 14px;
}

.success {
    color: #252552;
    background-color: #f6f6f6;
    border-left: 4px solid #252552;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    text-align: center;
    font-size: 14px;
}


@media (min-width: 768px) {
    .container {
        flex-wrap: nowrap;
    }

    .right {
        width: 450px;
    }

    .left {
        display: block;
    }
}

@media (max-width: 767px) {
    .left {
        display: none;
    }
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        height: auto;
    }

    .left {
        width: 100%;
        height: 250px;
        min-height: auto;
        background-position: center;
    }

    .right {
        width: 90%;
        max-width: 400px;
    }
}


.footer-legal {
    position: fixed;
    bottom: 10px;
    right: 20px;
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    z-index: 100;
}

.footer-legal a {
    color: var(--text-muted);
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-legal {
        position: static;
        text-align: center;
        margin-top: 30px;
        padding: 15px 0;
        width: 100%;
    }
    
    .footer-legal a {
        display: inline-block;
        margin: 5px 10px;
    }
}
