/* ============================================
   WELLCANN LOGIN CSS
   Login overlay, login form, demo account buttons, animations
   Extracted from existing inline styles
   ============================================ */

/* ===== LOGIN OVERLAY ===== */
.login-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a47 50%, #4a8165 100%);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-overlay.hidden { display: none; }

/* ===== LOGIN CONTAINER / CARD ===== */
.login-container,
.login-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    width: 95%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: slideIn 0.5s ease;
}

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

/* ===== LOGIN LOGO ===== */
.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo-icon {
    width: 80px; height: 80px;
    background: var(--gradient, linear-gradient(135deg, #4a8165, #7cb342));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    color: white;
    box-shadow: 0 10px 30px rgba(74, 129, 101, 0.3);
}

.login-logo h1 {
    font-size: 1.75rem;
    color: var(--primary-dark, #2d5a47);
    margin-bottom: 0.5rem;
}

.login-logo p {
    color: #64748b;
    font-size: 0.95rem;
}

.login-title {
    color: var(--primary-dark, #2d5a47);
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ===== LOGIN FORM ===== */
.login-form { margin-top: 2rem; }

/* ===== LOGIN BUTTON ===== */
.login-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient, linear-gradient(135deg, #4a8165, #7cb342));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 129, 101, 0.3);
}

/* ===== DEMO ACCOUNTS ===== */
.demo-accounts {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px dashed #e2e8f0;
}

.demo-accounts h4 {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.demo-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 10px;
    border: 2px dashed #86efac;
}

.demo-section h4 {
    color: #166534;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

/* ===== DEMO BUTTON ===== */
.demo-btn {
    display: block;
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 0.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-size: 0.85rem;
    color: #374151;
}

.demo-btn:hover {
    border-color: var(--primary, #4a8165);
    background: #f0fdf4;
}

.demo-btn:last-child { margin-bottom: 0; }

.demo-name {
    font-weight: 600;
    color: #2d3748;
}

.demo-role {
    font-size: 0.8rem;
    color: #64748b;
}
