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

body {
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2e 50%, #8fbc55 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><path d="M600,100 Q400,300 200,500 T100,700 Q300,600 500,500 T900,400 Q700,300 600,100" fill="%23ffffff" opacity="0.1"/><path d="M300,200 Q200,400 150,600 T250,750 Q350,650 450,550 T650,450 Q500,350 300,200" fill="%23ffffff" opacity="0.08"/><path d="M800,150 Q700,350 650,550 T750,700 Q850,600 950,500 T1050,400 Q950,300 800,150" fill="%23ffffff" opacity="0.06"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.login-overlay {
    position: relative;
    background: rgba(34, 60, 20, 0.9);
    border-radius: 20px;
    padding: 35px 25px;
    width: 400px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.login-form {
    text-align: center;
}


.logo {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logo i {
    font-size: 30px;
    color: #8B4513;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-section h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

.login-header {
    margin-bottom: 40px;
}

.login-header h2 {
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.tagline {
    color: #8fbc55;
    font-size: 14px;
    line-height: 1.4;
    max-width: 300px;
    margin: 0 auto;
}

.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
}

.alert-success {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.alert-error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.error-messages {
    margin-bottom: 20px;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 5px;
    padding: 8px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 5px;
}

.login-form-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    margin-top: 5px;
    padding: 14px 45px 14px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    background: #ffffff;
    box-shadow: 0 0 0 2px #8fbc55;
}

.input-group input::placeholder {
    color: #666666;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.input-icon:hover {
    color: #4a7c2e;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.remember-me input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #8fbc55;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.remember-me input:checked + .checkmark {
    background: #8fbc55;
}

.remember-me input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
}

.forgot-password {
    color: #8fbc55;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ffffff;
}

.login-btn {
    width: 100%;
    padding: 10px;
    background: #8fbc55;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.login-btn:hover {
    background: #7aa344;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(143, 188, 85, 0.3);
}

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

.admin-note {
    margin-top: 18px;
    padding: 12px;
    background: rgba(143, 188, 85, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(143, 188, 85, 0.3);
}

.admin-note p {
    color: #8fbc55;
    font-size: 13px;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

.admin-note i {
    margin-right: 8px;
}

.step-indicator {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .login-overlay {
        width: 90%;
        padding: 40px 30px;
    }
    
    .login-header h2 {
        font-size: 28px;
    }
    
    .tagline {
        font-size: 12px;
    }
}