
       
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
           
            background: #0d1b2a; 
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            color: #f0f0f0;
            overflow: hidden;
        }

       
        .login-frame {
           
            --cardAccent: #4a90e2; 
            
            position: relative;
            max-width: 400px; 
            width: 90%;
            padding: 15px; 
            border-radius: 30px; 
            z-index: 10;
            box-sizing: border-box;
        }
        
       
        .login-frame::after {
            position: absolute;
           
            inset: -30px; 
            z-index: -2;
           
            border-radius: 60px;
           
            background-color: transparent; 
           
            filter: drop-shadow(0px 0px 30px var(--cardAccent)); 
            content: "";
           
            animation: subtle-color-shift 6s linear infinite;
        }

       
        .login-frame .svg-border {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1; 
            overflow: visible;
        }

        .login-frame .svg-border path {
           
            stroke: var(--cardAccent);
            stroke-width: 5;
            stroke-linejoin: round;
            stroke-linecap: round;
            fill: none;
            stroke-dasharray: 307 131;
           
            animation: dash-and-color-shift 6s linear infinite;
        }

       

       
        @keyframes subtle-color-shift {
            0% {
                filter: drop-shadow(0px 0px 30px #4a90e2);
            }
            50% {
               
                filter: drop-shadow(0px 0px 45px #4a90e2);
            }
            100% {
                filter: drop-shadow(0px 0px 30px #4a90e2);
            }
        }

       
        @keyframes dash-and-color-shift {
            0% {
                stroke-dashoffset: 0px;
                stroke: #4a90e2; 
            }
            50% {
                stroke-dashoffset: -219px;
                stroke: #4a90e2; 
            }
            100% {
                stroke-dashoffset: -438px;
                stroke: #4a90e2; 
            }
        }

       
        .login-card {
            background-color: rgba(255, 255, 255, 0.05);
            border-radius: 20px; 
            padding: 60px;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            width: 100%; 
            box-sizing: border-box;
            position: relative;
            z-index: 10;
        }

       
        .bubbles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }
        
        .bubbles span {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            list-style: none;
            width: 20px;
            height: 20px;
            background: #4a90e2;
            animation: animate 25s linear infinite;
            bottom: -150px;
            
        }

        .bubbles span:nth-child(1) {
            left: 25%;
            width: 80px;
            height: 80px;
            animation-delay: 0s;
        }

        .bubbles span:nth-child(2) {
            left: 10%;
            width: 20px;
            height: 20px;
            animation-delay: 2s;
            animation-duration: 12s;
        }

        .bubbles span:nth-child(3) {
            left: 70%;
            width: 20px;
            height: 20px;
            animation-delay: 4s;
        }

        .bubbles span:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            animation-delay: 0s;
            animation-duration: 18s;
        }

        .bubbles span:nth-child(5) {
            left: 65%;
            width: 20px;
            height: 20px;
            animation-delay: 0s;
        }

        .bubbles span:nth-child(6) {
            left: 75%;
            width: 110px;
            height: 110px;
            animation-delay: 3s;
        }

        .bubbles span:nth-child(7) {
            left: 35%;
            width: 150px;
            height: 150px;
            animation-delay: 7s;
        }

        .bubbles span:nth-child(8) {
            left: 50%;
            width: 25px;
            height: 25px;
            animation-delay: 15s;
            animation-duration: 45s;
        }

        .bubbles span:nth-child(9) {
            left: 20%;
            width: 15px;
            height: 15px;
            animation-delay: 2s;
            animation-duration: 35s;
        }

        .bubbles span:nth-child(10) {
            left: 85%;
            width: 150px;
            height: 150px;
            animation-delay: 0s;
            animation-duration: 11s;
        }

        @keyframes animate {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
                border-radius: 0;
            }
            100% {
                transform: translateY(-1000px) rotate(720deg);
                opacity: 0;
                border-radius: 50%;
            }
        }

       
        .login-card .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 28px;
            font-weight: 700;
            text-shadow: 0 0 10px rgba(74, 144, 226, 0.7);
            margin-bottom: 20px;
            color: white;
        }

        .login-card .logo-icon {
            color: #4a90e2;
            font-size: 32px;
            filter: drop-shadow(0 0 5px rgba(74, 144, 226, 0.7));
        }
        
        .login-card .logo-text span {
            color: #4a90e2;
        }

       
        .admin-note {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 30px;
            line-height: 1.4;
        }

       
        form {
            width: 100%;
        }
        
        .input-group {
            position: relative;
            margin-bottom: 25px;
            width: 100%; 
            display: flex;
            justify-content: center;
        }

        .input-group .form-control {
            width: 84%;
            padding: 15px 15px 15px 45px;
            border: none;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 12px;
            font-size: 16px;
            outline: none;
            transition: all 0.3s ease;
        }

        .input-group .form-control::placeholder {
            color: transparent;
        }

        .input-group .form-control:focus {
            background-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 0 0 2px #1a73e8;
        }
        
        .input-group i {
            position: absolute;
            left: 5%;
            top: 50%;
            transform: translateY(-50%);
            color: #1a73e8;
            font-size: 18px;
            transition: all 0.3s ease;
            z-index: 10;
        }
        
       
        .input-group .input-label {
            position: absolute;
            top: 50%;
            left: 17%;
            transform: translateY(-50%);
            font-size: 18px;
            color: rgba(255, 255, 255, 0.9);
            pointer-events: none;
            transition: all 0.3s ease;
        }
        
       
        .input-group.active .input-label,
        .input-group.has-value .input-label {
            top: -12px;
            left: 0;
            transform: translateY(-50%);
            background: transparent;
            padding: 0 8px;
            border-radius: 5px;
            color: #4a90e2;
        }

       
        .forgot-password {
            display: block;
            text-align: right;
            font-size: 14px;
            color: #f0f0f0;
            text-decoration: none;
            transition: color 0.3s;
            padding-right: 8%;
            position: relative;
            top:-15px;
            left:10px;
            margin-bottom:20px;
        }

        .forgot-password:hover {
            color: #4a90e2;
            text-decoration: underline;
        }

       
        .login-btn {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 12px;
            background-color: #1a73e8;
            color: white;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
        }

        .login-btn:hover {
            background-color: #0d5dc4;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(13, 93, 196, 0.4);
        }

       
        .login-card .footer-links {
            margin-top: 35px;
        }
        
        .login-card .footer-links a {
            color: #f0f0f0;
            font-size: 14px;
            text-decoration: none;
            margin: 0 10px;
            transition: color 0.3s;
        }
        
        .login-card .footer-links a:hover {
            color: #4a90e2;
            text-decoration: underline;
        }
       
.verification-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.verification-digit {
    width: 55px;
    height: 65px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.verification-digit:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
    transform: translateY(-2px);
}

.verification-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #4a90e2;
}

.verification-info p {
    margin: 0 0 5px 0;
    font-size: 14px;
}
.verification-info small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}
.resend-container {
    margin: 20px 0;
    text-align: center;
}

.resend-btn {
    background: transparent;
    border: 1px solid #4a90e2;
    color: #4a90e2;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resend-btn:not(:disabled):hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-1px);
}

.resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.logout-container {
    margin-top: 15px;
    text-align: center;
}

.logout-btn {
    background: transparent;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.logout-btn:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-1px);
}
.verification-graph {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.loading-container, .success-container {
    text-align: center;
    padding: 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.authorization-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

.authorization-info p {
    margin: 8px 0;
    font-size: 14px;
}

.authorization-info i {
    margin-right: 8px;
    color: #4a90e2;
}

.success-animation {
    font-size: 60px;
    color: #4CAF50;
    margin: 20px 0;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-container p {
    font-size: 16px;
    margin: 10px 0;
}


.verification-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.verification-digit {
    width: 55px;
    height: 65px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.verification-digit:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
    transform: translateY(-2px);
}

.error-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.error-popup.active {
    opacity: 1;
    visibility: visible;
}

.error-popup-content {
    background: #1e2b3a;
    border-radius: 15px;
    padding: 0;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-popup.active .error-popup-content {
    transform: translateY(0);
}

.error-popup-header {
    background: #2c3e50;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.error-popup-header i {
    font-size: 24px;
    color: #e74c3c;
}

.error-popup-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    flex: 1;
}

.error-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.error-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.error-popup-body {
    padding: 25px;
    text-align: center;
}

.error-popup-body p {
    margin: 0;
    color: #f0f0f0;
    font-size: 16px;
    line-height: 1.5;
}

.error-popup-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.error-popup-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.error-popup-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}


.success-popup .error-popup-header {
    background: #27ae60;
}

.success-popup .error-popup-header i {
    color: #2ecc71;
}

.success-popup .error-popup-btn {
    background: #27ae60;
}

.success-popup .error-popup-btn:hover {
    background: #219a52;
}


.authorization-info p i {
    margin-right: 8px;
    color: #4a90e2;
}

.authorization-info p {
    margin: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}