/* ============================================
   KASHOMBA ELECTRICAL SYSTEM - LOGIN STYLES
   Colors: Black, Gold, Teal, White
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Times New Roman', 'Arial', sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* ========== BACKGROUND PARTICLES ========== */
body::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: glowMove 6s ease-in-out infinite;
}

body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 108, 108, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    animation: glowMove 8s ease-in-out infinite reverse;
}

@keyframes glowMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

/* ========== LOGIN CONTAINER ========== */
.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* ========== LOGIN CARD ========== */
.login-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 40px 35px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(218, 165, 32, 0.3);
    border-top: 4px solid #DAA520;
    animation: cardAppear 0.6s ease;
}

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

/* ========== LOGO SECTION ========== */
.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo-img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-company-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.login-company-tagline {
    font-size: 0.8rem;
    color: #DAA520;
    letter-spacing: 5px;
    font-weight: 600;
}

/* ========== ERROR MESSAGE ========== */
.login-error {
    background: #fff0f0;
    color: #dc3545;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: shakeError 0.5s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ========== FORM ========== */
.login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #000000;
}

.form-input:focus {
    outline: none;
    border-color: #DAA520;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.15);
    background: #FFFFFF;
}

.form-input:hover {
    border-color: #0a6c6c;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23DAA520' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* ========== LOGIN BUTTON ========== */
.btn-login {
    width: 100%;
    padding: 15px;
    background: #0a6c6c;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.btn-login:hover {
    background: #DAA520;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.4);
}

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

.btn-login:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== FOOTER ========== */
.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-footer p {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 0.5px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .login-company-name {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .login-company-tagline {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }
    
    .login-logo-img {
        width: 80px;
    }
    
    .form-input {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn-login {
        padding: 13px;
        font-size: 15px;
    }
}