body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
}

.password-requirements {
    background: #ffffff;
    border-left: 4px solid #bb0e45;
    padding: 18px 22px;
    /* margin-top: 12px; */
    border-radius: 12px;
    font-size: 0.95rem;
    color: #444;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.password-requirements::before {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    z-index: -1;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 16px;
}

.password-requirements p {
    margin: 0 0 10px;
    font-weight: 600;
    font-size: 1rem;
    color: #bb0e45;
    display: flex;
    align-items: center;
    gap: 6px;
}

.password-requirements p::before {
    content: "🔒";
    font-size: 1.2rem;
}

.password-requirements ul {
    margin: 0;
    padding-left: 18px;
    list-style: none;
}

.password-requirements li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 22px;
    font-size: 0.93rem;
    color: #333;
}

.password-requirements li::before {
    content: "✔";
    color: #4caf50;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.95rem;
}

#facebookk {
    background-color: #3B5998;
    color: #FFFFFF;
}

#google-logo {
    background-color: #DB4437;
    color: #FFFFFF;
}

#password-rules {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.5s ease;
    margin-top: -40px;
}

#password-rules.show {
    max-height: 200px;
    /* Enough to fit the content */
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}



.page {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    padding: 0px 90px;
    margin-top: 6%;
}

/* Left fixed image */
.imag {
    width: 400px;
    flex-shrink: 0;
    display: block;
}

.imag img {
    position: sticky;
    top: 0;
    /* height: 100vh; */
    width: 100%;
    object-fit: cover;
}

/* Form content */
.conten {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Hide image on tablets & mobiles */
@media screen and (max-width: 991px) {
    .page {
        margin-top: 5%;
    }

    .imag {
        display: none;
    }

    .conten {
        padding: 20px;
    }
}


.card1-student {
    max-width: 450px;
    width: 100%;
}

.card-student {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.txt {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
    display: block;
}

.buttons {
    display: flex;
    gap: .625rem;
    justify-content: space-between;
    margin-bottom: 20px;
}

.buttons button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.buttons button:hover {
    background-color: #e3e3e3;
}

.input-icon {
    position: relative;
    margin-bottom: 18px;
    width: 100%;
}

.input-icon i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 15px;
}

/* Lock icon on left */
.lock-icon,
.fa-user,
.fa-envelope {
    left: 12px;
}

/* Eye icon on right */
.eye-icon {
    right: 12px;
    left: auto;
    /* reset left */
    cursor: pointer;
    font-size: 16px;
}


.input-icon input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.checkbox {
    margin: 15px 0;
    font-size: 15px;
}

.checkbox input {
    margin-right: 10px;
}

.checkbox a {
    text-decoration: none;
    color: #0644a6;
}

.btn12-primary {
    background-color: #b92151;
    color: white;
    padding: 12px;
    border: none;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn12-primary:hover {
    background-color: #a01c46;
    color: white;
}

#login p {
    margin-top: 18px;
    font-size: 14px;
    color: #333;
}

#login a {
    color: #0644a6;
    text-decoration: none;
    font-weight: 600;
}

.register a {
    font-size: 14px;
    color: #0644a6;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

small {
    font-size: 12px;
    color: #555;
}

.input-icon {
    position: relative;
    margin-bottom: 18px;
    width: 100%;
    /* full width */
    max-width: none;
    /* remove any max-width limitation */
}

.input-icon input {
    width: 100%;
    padding: 12px 45px 12px 40px;
    /* left padding for lock icon, right padding for eye icon */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.input-icon.password {
    position: relative;
    width: 100%;
    /* full width */
}

.input-icon.password input {
    width: 100%;
    padding-left: 40px;
    /* space for lock icon */
    padding-right: 40px;
    /* space for eye icon */
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    height: 40px;
}


.eye-icon:hover {
    color: #333;
}


/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 991px) {
    .page {
        margin-top: 5%;
        padding: 0;
    }

    .imag {
        display: none;
    }

    .conten {
        justify-content: center;
        padding: 30px 20px;
        padding-left: 20px;
    }

    .card-student {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .page {
        margin-top: 20%;
        padding: 0;
    }

    .card-student {
        padding: 25px 15px;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn12-primary {
        font-size: 15px;
    }
}