.admin-login {
    padding: 20px;
    margin: 50px;
}

.login-box {
    display: flex;
    background: rgb(255, 255, 255);
    width: 900px;
    margin: auto;
    border: 0px solid black;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* LEFT PANEL FULL HEIGHT */
.login-left {
    width: 50%;
    position: relative;
    overflow: hidden;

    background: linear-gradient(135deg, #f5f9ff, #eef5ff);
    border-radius: 10px 0 0 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* CENTERED CONTENT */
.login-left-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    background: transparent;
}

/* LOGO TEXT ON TOP */
.login-admin-logo {
    color: var(--primary);
    font-weight: 700;
    font-size: 22px;
}

.login-admin-logo span {
    color: var(--accent);
}

.login-admin-logo p {
    font-size: 32px;
    margin-top: 10px;
}

/* FLOATING ICONS */
.float-icon {
    position: absolute;
    font-size: 46px;
    color: rgba(10, 37, 64, 0.15);
    pointer-events: none;
    z-index: 5;

    animation: floatAcross 18s linear infinite;
}

/* ICON START POSITIONS + DELAYS */
.i1 {
    top: 10%;
    left: -20%;
    animation-delay: 4s;
}

.i2 {
    top: 25%;
    left: -20%;
    animation-delay: 1s;
}

.i3 {
    top: 40%;
    left: -20%;
    animation-delay: 0s;
}

.i4 {
    top: 55%;
    left: -20%;
    animation-delay: 3s;
}

.i5 {
    top: 70%;
    left: -20%;
    animation-delay: 5s;
}

.i6 {
    top: 85%;
    left: -20%;
    animation-delay: 2s;
}

.i7 {
    top: 10%;
    left: -20%;
    animation-delay: 10s;
}

.i8 {
    top: 25%;
    left: -20%;
    animation-delay: 7s;
}

.i9 {
    top: 40%;
    left: -20%;
    animation-delay: 6s;
}

.i10 {
    top: 55%;
    left: -20%;
    animation-delay: 9s;
}

.i11 {
    top: 70%;
    left: -20%;
    animation-delay: 11s;
}

.i12 {
    top: 85%;
    left: -20%;
    animation-delay: 8s;
}

.i13 {
    top: 10%;
    left: -20%;
    animation-delay: 16s;
}

.i14 {
    top: 25%;
    left: -20%;
    animation-delay: 13s;
}

.i15 {
    top: 40%;
    left: -20%;
    animation-delay: 12s;
}

.i16 {
    top: 55%;
    left: -20%;
    animation-delay: 15s;
}

.i17 {
    top: 70%;
    left: -20%;
    animation-delay: 17s;
}

.i18 {
    top: 85%;
    left: -20%;
    animation-delay: 14s;
}

/* CONSTANT SPEED ANIMATION */
@keyframes floatAcross {
    0% {
        transform: translateX(-120%) translateY(0) rotate(0deg);
        opacity: 0.6;
    }

    100% {
        transform: translateX(120vw) translateY(-30px) rotate(20deg);
        opacity: 0.6;
    }
}



.login-right {
    width: 50%;
    background: rgb(255, 255, 255);
    border-radius: 0 10px 10px 0;
    /*box-shadow: -12px 0 25px rgba(0,0,0,0.15);*/
}

.login-right form {
    margin: 40px;
}

.admin-input-field {
    margin: 10px;
    margin-top: 15px
}

.admin-input-field label {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
}

.admin-input-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 35px;
    margin-top: 5px;
    font-size: 15px;
}

.admin-input-field button {
    width: 100%;
    background: linear-gradient(135deg, #0A2540, #0d3b66);
    color: white;
    border: 0px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    padding: 10px;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.25);
    transition: all 6.6s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.admin-input-field button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.35);
    background: linear-gradient(135deg, #0f3c69, #0e5394);
    cursor: pointer;
}

@media(max-width:768px) {

    .admin-login{
        margin:10px;
    }

    .login-box{
        width:100%;
    }

    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
    }
}

/* Change Password Page */

.change-password-wrapper {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f6f9;
}

.change-password-box {
    background: #ffffff;
    padding: 30px 35px;
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.change-password-box h2 {
    margin-bottom: 25px;
    font-size: 22px;
    text-align: center;
    color: #1f2937;
}

.change-password-box label {
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
    display: inline-block;
}

.change-password-box input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    transition: 0.2s;
}

.change-password-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.change-password-box button {
    width: 100%;
    margin-top: 25px;
    padding: 11px;
    background: linear-gradient(135deg, #0A2540, #0d3b66);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:0.3s;
}

.change-password-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.35);
    background: linear-gradient(135deg, #3EC6FF, #1fa2ff);
    transition:0.3s;
}

/* Mobile */
@media (max-width: 480px) {
    .change-password-box {
        padding: 25px 20px;
    }
}

.forgot-pass-btn {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: var(--primary);
    text-decoration: none;
}

.forgot-pass-btn:hover {
    text-decoration: underline;
}