/* ============================================
   WELLCANN COMPONENTS CSS
   Cards, buttons, forms, badges, stat cards
   Extracted from existing inline styles
   ============================================ */

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-subtitle {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: white;
    border-radius: var(--card-radius, 15px);
    padding: 1.5rem;
    box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,0.1));
    border-left: 4px solid var(--primary, #4a8165);
}

.stat-card.alert {
    border-left-color: var(--alert-red, #e53e3e);
    background: linear-gradient(to right, #fef2f2, white);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2d3748;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
}

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

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.logout-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.3);
}

.header-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.header-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary, #4a8165);
    box-shadow: 0 0 0 3px rgba(74, 129, 101, 0.1);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== PRIORITY INDICATORS ===== */
.priority-urgent { border-left-color: var(--alert-red, #e53e3e) !important; }
.priority-urgent .placard-count { color: var(--alert-red, #e53e3e); }
.priority-high { border-left-color: var(--warning-amber, #ff9800) !important; }
.priority-high .placard-count { color: var(--warning-amber, #ff9800); }
.priority-success { border-left-color: var(--success-green, #4caf50) !important; }
.priority-success .placard-count { color: var(--success-green, #4caf50); }

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 2000;
}

.toast {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    animation: toastIn 0.3s ease;
    max-width: 380px;
}

@keyframes toastIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.success { border-left: 4px solid var(--success-green, #4caf50); }
.toast.error { border-left: 4px solid var(--alert-red, #e53e3e); }
.toast.warning { border-left: 4px solid var(--warning-amber, #ff9800); }
.toast.info { border-left: 4px solid var(--info-blue, #3b82f6); }

/* ===== EMPTY STATE ===== */
.empty {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}
