* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.card1,
.card2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* background-color: #f8fafc; */
}

.container {
    width: 100%;
    max-width: 400px;
    min-width: 400px;
    text-align: center;
}

.container h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.container p {
    font-size: 14px;
    color: #65758b;
    margin-bottom: 20px;
    text-align: start;
}

[data-bs-theme=dark] .container p {
    color: unset;
}

.container p.bottom-text{
    text-align: center !important;
}

.form-container {
    background: white;
    padding: 24px 24px 0;
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

[data-bs-theme=dark] .form-container {
    background: var(--light-gray);
    border-color: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.1);
}

.form-container h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: left;
}

.form-container label {
    font-size: 14px;
    font-weight: 400;
    display: block;
    color: #0f1729;
    text-align: left;
}

[data-bs-theme=dark] .form-container label {
    color: unset;
}

.form-container input {
    width: 100%;
    height: 45px;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    background: #f8fafc;
    margin-top: 8px;
}

[data-bs-theme=dark] .form-container input {
    border-color: var(--border-color);
    background: unset;
}

[data-bs-theme=dark] .form-container input::placeholder {
    color: #959595;
}

form {
    margin-top: 24px;
}

.flex-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.flex-label a {
    text-decoration: none;
    color: #0f1729 !important;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

[data-bs-theme=dark] .flex-label a {
    color: unset !important;
}

.flex-label a:hover {
    color: #1462a2 !important;
}

[data-bs-theme=dark] .flex-label a:hover {
    color: unset !important;
    filter: brightness(100);
}

.form-container button {
    width: 100%;
    background: #0f1729;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 24px;
}

.form-container button:hover {
    background: #0f1729e6;
}

.form-container button i {
    margin-left: 8px;
}

.bottom-text {
    margin-top: 16px;
    font-size: 14px;
    color: #65758b;
    padding: 16px 0px !important;
    margin: 0 !important;
}

.bottom-text a {
    color: #0f1729 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

[data-bs-theme=dark] .bottom-text a {
    color: unset !important;
}

.bottom-text a:hover {
    color: #1462a2 !important;
}

[data-bs-theme=dark] .bottom-text a:hover {
    color: unset !important;
    filter: brightness(100);
}

.P_one {
    font-size: 16px !important;
    margin: 0px;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.hidden {
    display: none;
}

/* Fade Out Effect */
.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Fade In Effect */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

a {
    color: white;
    text-decoration: none;
}

.msg {
    font-size: 14px !important; 
    color: red;
    margin: 10px 0px;
}

.submit_btn {
    background-color: #1462a2 !important;
       font-size: 14px;
    padding: 10px 16px;
    border-radius: 5px;
    color: white;
}

input:focus {
    outline: none !important;
    box-shadow: none !important;
}

#password {
    padding-right: 40px;
}

.passToggle {
    position: relative;
}

.passToggle i {
    position: absolute;
    top: 17px;
    right: 17px;
    font-size: 19px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        max-width: 300px;
        min-width: 300px;
    }

    .container h1 {
        font-size: 30px !important;
        font-weight: 700;
        margin-bottom: 8px;
    }

    form {
        margin-top: 15px;
    }

    .form-container input {
        height: 40px;
        padding: 8px 12px;
    }

    .form-container h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 4px;
        text-align: left;
    }

    .form-container button {
        padding: 8px 16px;
        margin-top: 16px;
        margin-bottom: 24px;
    }
}