:root {
    --primary-color: #f59e0b;
    --secondary-color: #2563eb;
    --dark-color: #1e293b;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease;
}

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

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 80px;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.app-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.app-subtitle {
    color: #64748b;
    font-size: 14px;
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
}

.input-group-text {
    background-color: transparent;
    border: 2px solid #e2e8f0;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.input-group .form-control {
    border-left: none;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color), #ef4444);
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.alert {
    border-radius: 10px;
    animation: shake 0.5s;
}

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

.solar-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.solar-panel {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.solar-panel:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.solar-panel:nth-child(2) {
    top: 70%;
    left: 80%;
    animation-delay: 1s;
}

.solar-panel:nth-child(3) {
    top: 40%;
    left: 5%;
    animation-delay: 2s;
}

.solar-panel:nth-child(4) {
    top: 20%;
    left: 85%;
    animation-delay: 1.5s;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
    }

    .logo-icon {
        font-size: 60px;
    }

    .app-title {
        font-size: 24px;
    }

    .solar-panel {
        width: 60px;
        height: 60px;
    }
}
