* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0e0a 0%, #1a2e1a 50%, #0d1f0d 100%);
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 100, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 100, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* Login Page Styles */
.login-box {
    background: rgba(20, 30, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 100, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 255, 100, 0.05),
        inset 0 0 20px rgba(0, 255, 100, 0.02);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.1) 0%, rgba(0, 200, 80, 0.1) 100%);
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 100, 0.3);
    color: #00ff64;
}

.lock-icon svg {
    width: 40px;
    height: 40px;
}

h1 {
    text-align: center;
    color: #00ff64;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(0, 255, 100, 0.3);
}

.subtitle {
    text-align: center;
    color: #a0a0a0;
    font-size: 16px;
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 20px;
}

input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    background: rgba(10, 20, 10, 0.6);
    border: 2px solid rgba(0, 255, 100, 0.2);
    border-radius: 12px;
    color: #e0e0e0;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

input[type="password"]:focus {
    outline: none;
    border-color: #00ff64;
    box-shadow: 0 0 20px rgba(0, 255, 100, 0.2);
    background: rgba(10, 20, 10, 0.8);
}

input[type="password"]::placeholder {
    color: #606060;
}

.login-btn {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #00ff64 0%, #00cc50 100%);
    border: none;
    border-radius: 12px;
    color: #0a0e0a;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 255, 100, 0.3);
}

.login-btn svg {
    width: 20px;
    height: 20px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 100, 0.4);
    background: linear-gradient(135deg, #00ff80 0%, #00dd60 100%);
}

.login-btn:active {
    transform: translateY(0);
}

.error-message {
    display: none;
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.3);
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.input-group.shake {
    animation: shake 0.5s ease;
}

/* Dashboard Styles */
.dashboard {
    animation: fadeIn 0.6s ease-out;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-section {
    flex: 1;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.1) 0%, rgba(0, 200, 80, 0.1) 100%);
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 100, 0.3);
    color: #00ff64;
}

.success-icon svg {
    width: 30px;
    height: 30px;
}

.logout-btn {
    padding: 12px 24px;
    background: rgba(255, 70, 70, 0.1);
    border: 1px solid rgba(255, 70, 70, 0.3);
    border-radius: 10px;
    color: #ff6b6b;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn svg {
    width: 20px;
    height: 20px;
}

.logout-btn:hover {
    background: rgba(255, 70, 70, 0.2);
    border-color: rgba(255, 70, 70, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 70, 70, 0.2);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.card {
    background: rgba(20, 30, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 100, 0.2);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 100, 0.4);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 255, 100, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.1) 0%, rgba(0, 200, 80, 0.1) 100%);
    border-radius: 12px;
    color: #00ff64;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card h3 {
    color: #00ff64;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
}

.card p {
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.6;
}

.info-section {
    margin-top: 40px;
}

.info-box {
    background: rgba(0, 255, 100, 0.05);
    border: 1px solid rgba(0, 255, 100, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.info-box h4 {
    color: #00ff64;
    font-size: 18px;
    margin-bottom: 10px;
}

.info-box p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .login-box {
        padding: 40px 30px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logout-btn {
        width: 100%;
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .login-box {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    input[type="password"],
    .login-btn {
        padding: 14px 18px;
        font-size: 16px;
    }
    
    .card {
        padding: 24px;
    }
}

