body {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-custom {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.98) 0%, rgba(32, 58, 67, 0.98) 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #00d4ff 0%, #0099cc 50%, #00d4ff 100%) 1;
    position: relative;
    overflow: hidden;
}

.navbar-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: slideNav 3s ease-in-out infinite;
}

@keyframes slideNav {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.nav-link {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #00d4ff !important;
    font-weight: 600;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 0 8px;
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.2)) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.nav-link:hover::before {
    width: 80%;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    cursor: pointer;
}

.logo i {
    font-size: 30px;
    color: #00d4ff;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
    animation: rotateLogo 10s linear infinite;
}

@keyframes rotateLogo {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
}

.login-container {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    max-width: 950px;
    width: 100%;
    animation: slideUp 0.5s ease-out;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-left {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 100%);
    padding: 60px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
    top: 0;
    left: 0;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.network-icon {
    font-size: 80px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    color: #00d4ff;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.feature-item {
    margin: 25px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 15px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    border-left: 3px solid #00d4ff;
}

.feature-item i {
    font-size: 28px;
    margin-right: 20px;
    width: 45px;
    color: #00d4ff;
}

.stats-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 5px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.login-right {
    padding: 60px 50px;
    background: white;
    box-sizing: border-box;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f9ff;
    color: #0066cc;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9f9f9;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    background: white;
}

.input-group input.error {
    border-color: #ff4444;
    background: #fff5f5;
}

.input-group input.success {
    border-color: #00ff88;
    background: #f0fff8;
}

.input-feedback {
    font-size: 13px;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 5px;
}

.input-feedback.error {
    color: #ff4444;
    display: flex;
}

.input-feedback.success {
    color: #00ff88;
    display: flex;
}

.input-feedback.warning {
    color: #ffaa00;
    display: flex;
}

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

.input-group input:focus + i {
    color: #00d4ff;
}

.password-strength {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    background: #ff4444;
    transition: all 0.3s ease;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #00d4ff;
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.btn-login:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-size: 13px;
}

.auth-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.auth-btn {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    color: #333;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #00d4ff;
    color: #00d4ff;
}

.auth-btn i {
    font-size: 18px;
}

.footer-custom {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.98) 0%, rgba(32, 58, 67, 0.98) 100%);
    backdrop-filter: blur(15px);
    padding: 50px 20px 30px;
    box-shadow: 0 -4px 20px rgba(0, 212, 255, 0.2);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #00d4ff 0%, #0099cc 50%, #00d4ff 100%) 1;
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.footer-custom::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-section {
    position: relative;
    z-index: 1;
}

.footer-section h5 {
    color: #00d4ff;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h5::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, transparent);
    max-width: 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-links a i {
    width: 20px;
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-size: 13px;
    color: #00d4ff;
    margin: 5px;
    transition: all 0.3s ease;
}

.footer-badge:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert.error {
    background: #ffe5e5;
    color: #cc0000;
    border: 1px solid #ffcccc;
}

.alert.success {
    background: #e5f9ff;
    color: #0099cc;
    border: 1px solid #b3e6ff;
}

.alert.warning {
    background: #fff4e5;
    color: #cc8800;
    border: 1px solid #ffe0b3;
}

.system-status {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
}

.status-item {
    text-align: center;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .login-left {
        display: none;
    }
    .login-right {
        padding: 40px 20px;
    }
    .auth-methods {
        grid-template-columns: 1fr;
    }
}