/**
 * Post Leads Application - Custom Styles
 * Version: 0.01
 * Created: October 15, 2025
 */

/* General Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container-fluid {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* Cards */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Tables */
.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Buttons */
.btn {
    font-weight: 500;
}

.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
}

/* Navigation */
.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
}

/* Forms */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Tabs */
.nav-tabs .nav-link {
    color: #6c757d;
}

.nav-tabs .nav-link.active {
    font-weight: 600;
}

/* Alerts */
.alert {
    border-left: 4px solid;
}

.alert-success {
    border-left-color: #198754;
}

.alert-danger {
    border-left-color: #dc3545;
}

.alert-warning {
    border-left-color: #ffc107;
}

.alert-info {
    border-left-color: #0dcaf0;
}

/* Pre/Code blocks */
pre {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-height: 400px;
    overflow: auto;
}

/* Login page */
.card.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Dashboard stats cards */
.card.bg-primary,
.card.bg-success,
.card.bg-danger,
.card.bg-info {
    border: none;
}

.card.bg-primary .card-body,
.card.bg-success .card-body,
.card.bg-danger .card-body,
.card.bg-info .card-body {
    text-align: center;
}

.card.bg-primary .card-title,
.card.bg-success .card-title,
.card.bg-danger .card-title,
.card.bg-info .card-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.card.bg-primary h2,
.card.bg-success h2,
.card.bg-danger h2,
.card.bg-info h2 {
    font-weight: 700;
}

/* Progress bars */
.progress {
    border-radius: 0.5rem;
}

.progress-bar {
    font-weight: 600;
    font-size: 1.1rem;
}

/* State Filter Toggle Buttons */
.state-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.state-btn {
    min-width: 50px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-check:checked + .state-btn {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn-check:not(:checked) + .state-btn:hover {
    background-color: #e7f1ff;
    border-color: #0d6efd;
}

/* Responsive */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .btn-group-sm .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .state-btn {
        min-width: 45px;
        font-size: 0.875rem;
        padding: 0.375rem 0.5rem;
    }
}

