/* static/styles.css */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* SlickText light gray */
    color: #1e293b;
}

/* --- Sidebar Styling --- */
.sidebar {
    background-color: #ffffff !important;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #64748b;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    background-color: #f1f5f9;
    color: #0d6efd;
}

/* This is the magic that makes the current page pop */
.sidebar .nav-link.active {
    background-color: #e0e7ff !important;
    color: #4338ca !important;
    font-weight: 600;
}

.sidebar .nav-link i {
    font-size: 1.1rem;
}

/* --- Card Styling --- */
.card {
    border: 1px solid #e2e8f0; /* Subtle border */
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
}

.card-header {
    background-color: transparent !important;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
}

/* --- SMS Send Page: Phone Preview --- */
/* This makes the black "iPhone" look realistic */
#previewBubble {
    position: relative;
    animation: fadeIn 0.3s ease;
    border: 1px solid #dee2e6;
    line-height: 1.4;
}

#previewBubble::after {
    content: '';
    position: absolute;
    left: -8px;
    bottom: 0;
    width: 0;
    height: 0;
    border-right: 10px solid white;
    border-top: 10px solid transparent;
}

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

/* --- Dashboard Stats --- */
.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* --- Buttons --- */
.btn-primary {
    background-color: #2563eb;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* --- Tables --- */
.table thead th {
    border-top: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
    color: #334155;
}