/* ChasePay — Custom Styles */

:root {
    --cp-green: #198754;
    --cp-green-light: #d1e7dd;
    --cp-dark: #212529;
}

/* ==================== Global ==================== */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #343a40;
}

.font-monospace {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* ==================== Hero Section ==================== */

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    border-bottom: 1px solid #dee2e6;
}

.hero-graphic .card {
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.hero-graphic .card:nth-child(2) {
    transform: rotate(0.5deg);
}

.hero-graphic .card:nth-child(3) {
    transform: rotate(-0.5deg);
}

/* ==================== Cards ==================== */

.card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* ==================== Buttons ==================== */

.btn-success {
    background-color: var(--cp-green);
    border-color: var(--cp-green);
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

.btn-white {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--cp-green);
}

.btn-white:hover {
    background-color: #f8f9fa;
    color: var(--cp-green);
}

/* ==================== Navbar ==================== */

.navbar {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-size: 1.4rem !important;
    letter-spacing: -0.5px;
}

/* ==================== Tables ==================== */

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

/* ==================== Badges ==================== */

.badge {
    font-weight: 500;
    font-size: 0.75rem;
}

/* ==================== Forms ==================== */

.form-control:focus,
.form-select:focus {
    border-color: var(--cp-green);
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.form-control-lg {
    border-radius: 8px;
}

/* ==================== Stats Cards ==================== */

.stats-card {
    border-radius: 12px;
    border: none;
}

/* ==================== Pricing ==================== */

#pricing .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#pricing .card:hover {
    transform: translateY(-4px);
}

/* ==================== Footer ==================== */

footer {
    border-top: 1px solid #343a40;
}

/* ==================== Alerts ==================== */

.alert {
    border-radius: 10px;
}

/* ==================== Responsive ==================== */

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}
