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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

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

.logo {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.logo i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

.login-form {
    padding: 40px 30px;
}

.login-form h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
    text-align: center;
}

.login-form p {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

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

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4CAF50;
    font-size: 1.1rem;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.input-group input:focus {
    outline: none;
    border-color: #4CAF50;
    background: white;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

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

.features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature {
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature i {
    color: #4CAF50;
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: block;
}

.feature span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Loading animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn-login span {
    display: none;
}

.loading .btn-login::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error message */
.error-message {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid #fcc;
}

/* Success message */
.success-message {
    background: #efe;
    color: #363;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid #cfc;
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin: 20px 0;
    color: #4CAF50;
    font-weight: 500;
    border: 1px solid #e1e5e9;
}

.loading-indicator i {
    font-size: 1.2rem;
}

/* Responsive design */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .login-form {
        padding: 30px 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .logo {
        padding: 30px 20px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
} 
