/* Church Bot Dashboard — Custom Styles */

:root {
    --primary: #075e54;       /* WhatsApp dark green */
    --primary-light: #25d366; /* WhatsApp green */
    --secondary: #128c7e;
    --dark: #1a1a2e;
    --light-bg: #f0f2f5;
    --card-bg: #ffffff;
}

body {
    background-color: var(--light-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-card .stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature cards */
.feature-card {
    border-left: 4px solid var(--primary-light);
    margin-bottom: 1rem;
}

.feature-card.disabled {
    border-left-color: #dee2e6;
    opacity: 0.7;
}

.feature-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

/* Toggle switch */
.form-check-input:checked {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

/* Login / Register pages */
.auth-container {
    max-width: 450px;
    margin: 80px auto;
}

.auth-card {
    border-radius: 16px;
    padding: 2.5rem;
}

.auth-card h2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.auth-card .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 0.7rem;
    font-size: 1.05rem;
    border-radius: 8px;
}

.auth-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* Config textarea */
.config-editor {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    min-height: 150px;
}

/* Table */
.table th {
    background-color: var(--primary);
    color: white;
    font-weight: 500;
    border: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(37, 211, 102, 0.05);
}

/* Badges */
.badge-active {
    background-color: var(--primary-light);
    color: white;
}

.badge-inactive {
    background-color: #dee2e6;
    color: #6c757d;
}

/* Alerts */
.setup-alert {
    border-left: 4px solid #ffc107;
    background: #fff3cd;
    border-radius: 8px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem 0;
    color: #6c757d;
    font-size: 0.85rem;
}
