/* ============================================================
   CharterPort – Modern UI/UX Design System
   Tutarlı renk, tipografi, gölge ve boşluk kullanımı
   ============================================================ */

:root {
    /* Renk paleti – daha cesur, modern */
    --cp-primary: #0c4a6e;
    --cp-primary-hover: #075985;
    --cp-primary-light: #0369a1;
    --cp-primary-dark: #082f49;
    --cp-primary-50: #f0f9ff;
    --cp-primary-100: #e0f2fe;
    --cp-accent: #f59e0b;
    --cp-accent-hover: #d97706;
    --cp-success: #059669;
    --cp-warning: #d97706;
    --cp-danger: #dc2626;
    --cp-info: #0ea5e9;

    /* Yüzey */
    --cp-bg: #f1f5f9;
    --cp-bg-elevated: #ffffff;
    --cp-bg-subtle: #f8fafc;
    --cp-border: #e2e8f0;
    --cp-border-light: #f1f5f9;

    /* Metin */
    --cp-text: #0f172a;
    --cp-text-secondary: #334155;
    --cp-text-muted: #64748b;

    /* Tipografi – Plus Jakarta Sans */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --leading-tight: 1.25;
    --leading-normal: 1.5;

    /* Boşluk */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;

    /* Radius – daha yuvarlak */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Gölgeler – daha belirgin */
    --shadow-xs: 0 1px 2px rgba(12, 74, 110, 0.04);
    --shadow-sm: 0 2px 12px rgba(12, 74, 110, 0.06), 0 1px 3px rgba(12, 74, 110, 0.04);
    --shadow-md: 0 8px 24px rgba(12, 74, 110, 0.08), 0 2px 6px rgba(12, 74, 110, 0.04);
    --shadow-lg: 0 16px 48px rgba(12, 74, 110, 0.1);
    --shadow-hover: 0 20px 40px rgba(12, 74, 110, 0.12);

    --nav-height: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--cp-text);
    background: var(--cp-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Arka plan: hafif nokta deseni + gradient */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(12, 74, 110, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, var(--cp-primary-50) 0%, transparent 40%, transparent 100%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

main {
    flex: 1;
    padding-top: var(--space-6);
    padding-bottom: var(--space-8);
}

.container {
    max-width: 1200px;
}

/* ========== NAVBAR – sticky, glass effect ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 4px 24px rgba(12, 74, 110, 0.06);
    min-height: var(--nav-height);
}

.site-header .container {
    max-width: 1200px;
}

.site-header .navbar-brand {
    font-weight: var(--font-extrabold);
    font-size: 1.35rem;
    color: var(--cp-primary) !important;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
}

.site-header .navbar-brand:hover {
    color: var(--cp-primary-dark) !important;
}

.site-header .navbar-brand .brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, var(--cp-primary) 0%, #0e7490 100%);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(12, 74, 110, 0.35);
}

.site-header .nav-link {
    color: var(--cp-text-secondary) !important;
    font-weight: var(--font-semibold);
    padding: var(--space-2) var(--space-4) !important;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.site-header .nav-link:hover {
    color: var(--cp-primary) !important;
    background: var(--cp-primary-50);
}

.site-header .nav-link.nav-link-active {
    color: var(--cp-primary) !important;
    background: var(--cp-primary-50);
}

.site-header .navbar-toggler {
    border-color: var(--cp-border);
    padding: var(--space-2);
    border-radius: var(--radius-sm);
}

.site-header .btn-primary {
    border-radius: var(--radius-pill);
    padding: 0.5rem 1.25rem;
    background: var(--cp-primary);
    border: none;
    font-weight: var(--font-semibold);
    box-shadow: 0 4px 14px rgba(12, 74, 110, 0.25);
}

.site-header .btn-primary:hover {
    background: var(--cp-primary-hover);
    box-shadow: 0 6px 20px rgba(12, 74, 110, 0.3);
}

/* ========== FLASH MESSAGES ========== */
.alert {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: var(--text-sm);
}

/* ========== HERO (Anasayfa) – full width, daha yüksek, badge, CTA, arama kartı ========== */
.hero-outer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -1.5rem;
}

.hero-section {
    background: linear-gradient(135deg, #082f49 0%, #0c4a6e 40%, #0e7490 100%);
    color: #fff;
    border-radius: 0;
    padding: 4.5rem var(--space-4);
    min-height: 520px;
    box-shadow: 0 24px 48px rgba(8, 47, 73, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse 70% 70% at 100% 30%, rgba(255,255,255,0.1) 0%, transparent 55%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: var(--font-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-3);
}

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: var(--font-extrabold);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
}

.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 32em;
    margin-bottom: var(--space-5);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.btn-hero-primary {
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-pill);
    background: #fff;
    color: #0c4a6e;
    border: none;
    font-weight: var(--font-bold);
    font-size: 0.9375rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-hero-primary:hover {
    background: #f8fafc;
    color: #0c4a6e;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.btn-hero-secondary {
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255,255,255,0.9);
    color: #fff;
    font-weight: var(--font-semibold);
    font-size: 0.9375rem;
    background: transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
}

.hero-form-wrap {
    flex-shrink: 0;
    width: 100%;
    max-width: 380px;
}

.hero-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.hero-form-title {
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    color: var(--cp-text);
    margin-bottom: var(--space-4);
}

.hero-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.hero-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cp-text-muted);
}

.hero-form-card .form-control {
    font-size: 0.9375rem;
}

.btn-hero-submit {
    width: 100%;
    margin-top: var(--space-4);
    padding: 0.6rem 1rem;
    font-weight: var(--font-semibold);
    border-radius: var(--radius-md);
}

@media (max-width: 991.98px) {
    .hero-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .hero-content { max-width: none; }
    .hero-desc { max-width: none; margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-form-wrap { max-width: none; margin-top: var(--space-4); }
}

@media (max-width: 575.98px) {
    .hero-section { padding: var(--space-8) var(--space-5); }
    .hero-form-grid { grid-template-columns: 1fr; }
}

/* ========== CARDS – yumuşak gölge, büyük radius ========== */
.card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    background: var(--cp-bg-elevated);
    box-shadow: 0 2px 12px rgba(12, 74, 110, 0.05);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.card:hover {
    box-shadow: 0 12px 32px rgba(12, 74, 110, 0.08);
    border-color: var(--cp-border);
}

.card-shadow {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.06);
}

.card-header {
    background: var(--cp-bg-elevated);
    border-bottom: 1px solid var(--cp-border-light);
    font-weight: var(--font-bold);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-size: var(--text-base);
}

.card-body {
    padding: var(--space-5) var(--space-6);
}

.card-title {
    font-weight: var(--font-bold);
    color: var(--cp-text);
    font-size: var(--text-lg);
    letter-spacing: -0.02em;
}

/* ========== BUTTONS – pill primary, net hover ========== */
.btn {
    font-weight: var(--font-semibold);
    border-radius: var(--radius-md);
    padding: 0.55rem 1.1rem;
    font-size: var(--text-sm);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    border-radius: var(--radius-pill);
    background: var(--cp-primary);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(12, 74, 110, 0.25);
}

.btn-primary:hover {
    background: var(--cp-primary-hover);
    box-shadow: 0 6px 20px rgba(12, 74, 110, 0.3);
    color: #fff;
}

.btn-outline-primary {
    border-radius: var(--radius-pill);
    border: 2px solid var(--cp-primary);
    color: var(--cp-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--cp-primary-50);
    border-color: var(--cp-primary);
    color: var(--cp-primary);
}

.btn-outline-secondary {
    border-radius: var(--radius-md);
    border: 1px solid var(--cp-border);
    color: var(--cp-text-secondary);
}

.btn-outline-secondary:hover {
    background: var(--cp-bg-subtle);
    border-color: var(--cp-border);
    color: var(--cp-text);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-pill);
}

.btn-sm.btn-outline-secondary {
    border-radius: var(--radius-sm);
}

/* ========== FORMS ========== */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 1px solid var(--cp-border);
    font-size: var(--text-sm);
    padding: 0.55rem 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cp-primary);
    box-shadow: 0 0 0 3px rgba(12, 74, 110, 0.15);
    outline: none;
}

.form-label {
    font-weight: var(--font-medium);
    color: var(--cp-text);
    font-size: var(--text-sm);
}

/* ========== TABLES ========== */
.table {
    color: var(--cp-text);
    margin-bottom: 0;
}

.table thead th {
    font-weight: var(--font-semibold);
    color: var(--cp-text-muted);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-bottom: 2px solid var(--cp-border);
    padding: var(--space-4) var(--space-4);
    background: var(--cp-bg-subtle);
}

.table tbody td {
    padding: var(--space-4) var(--space-4);
    vertical-align: middle;
    border-bottom: 1px solid var(--cp-border-light);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr {
    transition: background 0.12s ease;
}

.table tbody tr:hover td {
    background: var(--cp-primary-50);
}

.table-sm thead th {
    padding: var(--space-3) var(--space-3);
    font-size: 0.7rem;
}

.table-sm tbody td {
    padding: var(--space-3) var(--space-3);
}

.table-responsive {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 2px 12px rgba(12, 74, 110, 0.04);
}

/* ----- Modern data tables ----- */
.cp-data-table-wrap {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.06);
}

.cp-table {
    font-size: var(--text-sm);
}

.cp-table thead th {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--cp-text-secondary);
    font-weight: 700;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1.125rem 1.5rem;
    border-bottom: 2px solid var(--cp-border);
}

.cp-table tbody td {
    padding: 1.125rem 1.5rem;
    border-bottom: 1px solid var(--cp-border-light);
    vertical-align: middle;
}

.cp-table tbody tr:last-child td {
    border-bottom: none;
}

.cp-table tbody tr {
    transition: background 0.2s ease;
}

.cp-table tbody tr:hover td {
    background: var(--cp-primary-50);
}

.cp-table .btn-sm {
    padding: 0.4rem 1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
}

/* ========== BADGES ========== */
.badge {
    font-weight: var(--font-medium);
    padding: 0.35em 0.65em;
    border-radius: 6px;
    font-size: var(--text-xs);
}

/* Uçuş tipi ve yolculuk tipi için modern pill tag’ler (kartlar + detaylar) */
.cp-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.35em 0.75em;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}
.cp-tag--charter {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.35);
}
.cp-tag--tarifeli {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.3);
}
.cp-tag--round {
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
    border-color: rgba(20, 184, 166, 0.3);
}
.cp-tag--oneway {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    border-color: rgba(100, 116, 139, 0.25);
}
/* Strip kartlarında tag boyutu */
.cp-flight-strip .strip-badges .cp-tag,
.cp-request-strip .strip-badges .cp-tag {
    font-size: 0.65rem;
    padding: 0.28em 0.6em;
}
/* Detay sayfalarında biraz daha belirgin */
.cp-caption .cp-tag,
.cp-ticket-body .cp-tag,
.cp-ticket-list-item .cp-tag {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
}

.bg-primary { background: var(--cp-primary) !important; }
.text-primary { color: var(--cp-primary) !important; }
.bg-success { background: var(--cp-success) !important; }
.text-muted { color: var(--cp-text-muted) !important; }

/* ========== PAGE TITLES & HEADERS ========== */
.page-title {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: var(--font-extrabold);
    color: var(--cp-text);
    margin-bottom: 0;
    letter-spacing: -0.03em;
}

.page-header-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

/* ========== SEARCH DROPDOWN ========== */
.search-select-wrap {
    position: relative;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--cp-border);
    background: var(--cp-bg-elevated);
}

.search-dropdown.show {
    display: block;
}

.search-dropdown .dropdown-item {
    cursor: pointer;
    white-space: normal;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
}

.search-dropdown .dropdown-item:hover {
    background: var(--cp-primary-50);
}

/* ========== FOOTER ========== */
.site-footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    padding: var(--space-8) 0;
    margin-top: auto;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: center;
    text-align: center;
}

.site-footer .text-muted {
    font-size: var(--text-sm);
    color: var(--cp-text-muted) !important;
}

@media (min-width: 768px) {
    .site-footer .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ========== LIST GROUPS ========== */
.list-group-item {
    border-color: var(--cp-border-light);
    padding: var(--space-4) 0;
}

/* ========== AUTH CARDS ========== */
.auth-card {
    max-width: 440px;
    margin: 0 auto;
}

.auth-card .card {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 50px rgba(12, 74, 110, 0.1);
}

.auth-card .card-body h1,
.auth-card .card-body .h4 {
    font-weight: var(--font-extrabold);
    letter-spacing: -0.02em;
}

/* ========== PANEL CARDS (Dashboard / Admin) ========== */
.panel-card .card-header {
    background: linear-gradient(to bottom, var(--cp-bg-subtle), var(--cp-bg-elevated));
}

.card-subtle {
    background: var(--cp-bg-subtle);
    border-color: var(--cp-border-light);
}

/* ========== DETAIL CARDS ========== */
.detail-card .card-body {
    padding: var(--space-6);
}

.airline-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
}

/* ========== TABS ========== */
.cp-tabs .nav-tabs {
    border-bottom: 2px solid var(--cp-border);
}

.cp-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--cp-text-muted);
    font-weight: var(--font-medium);
    padding: var(--space-4) var(--space-4);
    margin-bottom: -2px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.cp-tabs .nav-link:hover {
    color: var(--cp-primary);
    background: var(--cp-primary-50);
}

.cp-tabs .nav-link.active {
    color: var(--cp-primary);
    background: var(--cp-bg-elevated);
    border-bottom-color: var(--cp-primary);
}

.cp-tabs .tab-content {
    padding-top: var(--space-5);
}

/* ========== PAGINATION ========== */
.pagination {
    gap: var(--space-1);
}

.page-link {
    border-radius: var(--radius-sm) !important;
    color: var(--cp-primary);
    font-weight: var(--font-medium);
}

.page-item.active .page-link {
    background: var(--cp-primary);
    border-color: var(--cp-primary);
}

/* ========== CARD GRID – modern uçuş / talep kartları ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card-grid .listing-card,
.card-grid .request-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: var(--cp-bg-elevated);
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    position: relative;
}

.card-grid .listing-card::before,
.card-grid .request-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--cp-primary) 0%, var(--cp-primary-light) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.card-grid .listing-card:hover,
.card-grid .request-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(12, 74, 110, 0.12);
    border-color: rgba(12, 74, 110, 0.2);
}

.card-grid .listing-card:hover::before,
.card-grid .request-card:hover::before {
    opacity: 1;
}

.listing-card .card-body,
.request-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem;
}

.listing-card .route,
.request-card .route {
    font-weight: var(--font-extrabold);
    font-size: 1.2rem;
    color: var(--cp-text);
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.listing-card .meta,
.request-card .meta {
    font-size: 0.875rem;
    color: var(--cp-text-muted);
    line-height: 1.45;
}

.listing-card .meta + .meta,
.request-card .meta + .meta {
    margin-top: 0.35rem;
}

.listing-card .mt-auto,
.request-card .mt-auto {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--cp-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.listing-card .mt-auto .btn,
.request-card .mt-auto .btn {
    flex-shrink: 0;
}

.listing-card .badge,
.request-card .badge {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.3em 0.6em;
    border-radius: 6px;
}

.listing-card .text-success,
.request-card .text-success {
    font-weight: 700;
    font-size: 1rem;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    background: none;
    padding: 0;
    font-size: var(--text-sm);
}

.breadcrumb-item a {
    color: var(--cp-primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--cp-text-muted);
}

/* ========== SIMILAR / RELATED BLOCK ========== */
.similar-block {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--cp-border-light);
}

.similar-block .section-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-4);
    color: var(--cp-text);
}

/* ========== FILTER STRIP ========== */
.filter-strip {
    background: var(--cp-bg-elevated);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.06);
}

.filter-strip .form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: var(--space-10) var(--space-8);
    color: var(--cp-text-muted);
}

.empty-state .empty-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-5);
    opacity: 0.4;
}

.empty-state p {
    font-size: var(--text-base);
}

/* ========== TİPOGRAFİ (sistem geneli) ========== */
.cp-heading-1 { font-size: var(--text-2xl); font-weight: var(--font-extrabold); letter-spacing: -0.03em; color: var(--cp-text); }
.cp-heading-2 { font-size: var(--text-xl); font-weight: var(--font-bold); letter-spacing: -0.02em; color: var(--cp-text); }
.cp-heading-3 { font-size: var(--text-lg); font-weight: var(--font-semibold); color: var(--cp-text); }
.cp-body { font-size: var(--text-base); line-height: var(--leading-normal); color: var(--cp-text-secondary); }
.cp-caption { font-size: var(--text-sm); color: var(--cp-text-muted); }

/* ========== DETAY SAYFASI – BİLET / MAKBUZ AKIŞI ========== */
.cp-ticket {
    max-width: 560px;
    margin: 0 auto;
    background: var(--cp-bg-elevated);
    border: 1px solid var(--cp-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(12, 74, 110, 0.08);
    overflow: hidden;
    border-left: 4px solid var(--cp-primary);
}

.cp-ticket-head {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-6) var(--space-4);
    border-bottom: 2px dashed var(--cp-border);
}
.cp-ticket-head .ms-auto { margin-left: auto; }
.cp-ticket-head .cp-airline-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.cp-ticket-head .cp-airline-flight-no {
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    letter-spacing: -0.02em;
    color: var(--cp-primary);
}

.cp-ticket-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(180deg, var(--cp-primary-50) 0%, transparent 100%);
}
.cp-ticket-route .origin,
.cp-ticket-route .destination {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--cp-text);
    text-align: center;
}
.cp-ticket-route .path {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}
.cp-ticket-route .path-line {
    flex: 1;
    height: 0;
    border-top: 2px dashed var(--cp-border);
    max-width: 80px;
}
.cp-ticket-route .path-icon {
    color: var(--cp-primary);
    font-size: 1.25rem;
}

.cp-ticket-divider {
    height: 0;
    border: none;
    border-top: 1px dashed var(--cp-border);
    margin: 0 var(--space-6);
}

.cp-ticket-body {
    padding: var(--space-4) var(--space-6) var(--space-6);
}
.cp-ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
}
.cp-ticket-row .label { color: var(--cp-text-muted); }
.cp-ticket-row .value { font-weight: 600; color: var(--cp-text); }

.cp-ticket-section-title {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cp-text-muted);
    margin-top: var(--space-5);
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-1);
}

.cp-ticket-note {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px dashed var(--cp-border);
    font-size: var(--text-sm);
    color: var(--cp-text-secondary);
    line-height: 1.5;
}

/* Önerilen / benzer: akışta tek sütun liste */
.cp-ticket-list {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 2px dashed var(--cp-border);
}
.cp-ticket-list .section-title {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    color: var(--cp-text);
}
.cp-ticket-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-2);
    background: var(--cp-bg-subtle);
    border-radius: var(--radius-sm);
    border: 1px solid var(--cp-border-light);
    text-decoration: none;
    color: inherit;
    font-size: var(--text-sm);
    transition: background 0.15s ease, border-color 0.15s ease;
}
.cp-ticket-list-item:hover {
    background: var(--cp-primary-50);
    border-color: var(--cp-primary);
    color: var(--cp-text);
}
.cp-ticket-list-item .route { font-weight: 600; color: var(--cp-text); }
.cp-ticket-list-item .meta { color: var(--cp-text-muted); font-size: 0.8125rem; }
.cp-ticket-list-item .btn { flex-shrink: 0; }

/* Anasayfa bölümleri: bölümler arası boşluk */
.home-section {
    margin-bottom: var(--space-8);
}
.home-section:last-child {
    margin-bottom: 0;
}

/* Anasayfa bölüm başlıkları: Yolwise tarzı büyük, kalın başlıklar */
.home-section .section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--cp-text);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* Anasayfa: Şimdi kayıt ol CTA bloğu */
.home-cta-register {
    text-align: center;
    padding: var(--space-8) var(--space-6);
    background: linear-gradient(135deg, var(--cp-primary-50) 0%, rgba(255,255,255,0.9) 100%);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(12, 74, 110, 0.08);
}
.home-cta-register .home-cta-register-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--cp-text);
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}
.home-cta-register .home-cta-register-desc {
    font-size: var(--text-base);
    color: var(--cp-text-secondary);
    margin-bottom: var(--space-5);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.home-cta-register .btn {
    padding: 0.6rem 1.75rem;
    font-weight: 600;
}

/* Sistem hakkında: kart grid */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-5);
}
.about-card {
    background: var(--cp-bg-elevated);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.about-card:hover {
    box-shadow: 0 8px 28px rgba(12, 74, 110, 0.1);
    border-color: var(--cp-border);
}
.about-card-icon {
    font-size: 2rem;
    margin-bottom: var(--space-3);
    line-height: 1;
}
.about-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cp-text);
    margin-bottom: var(--space-3);
    letter-spacing: -0.02em;
}
.about-card-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--cp-text-secondary);
    margin: 0;
}
.about-card-text strong {
    color: var(--cp-text);
    font-weight: 600;
}

/* Yaklaşan uçuşlar / Aktif talepler: her öğe ayrı kart */
.cp-flight-strip-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.cp-flight-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: 72px;
    padding: var(--space-5) var(--space-6);
    background: var(--cp-bg-elevated);
    border: 1px solid var(--cp-border-light);
    border-left: 4px solid var(--cp-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.06);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.cp-flight-strip:hover {
    background: var(--cp-primary-50);
    border-color: var(--cp-border);
    box-shadow: 0 8px 28px rgba(12, 74, 110, 0.12);
    color: var(--cp-text);
}
.cp-flight-strip .strip-airline {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
    width: 120px;
    min-width: 120px;
}
.cp-flight-strip .strip-airline img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.cp-flight-strip .strip-flight-no {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--cp-primary);
}
/* Güzergah: sabit genişlik, kalkış/varış isimleri en fazla 2 satıra taşabilir — hiza bozulmaz */
.cp-flight-strip .strip-route {
    width: 500px;
    min-width: 500px;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.cp-flight-strip .strip-route .origin,
.cp-flight-strip .strip-route .destination {
    font-weight: var(--font-semibold);
    color: var(--cp-text);
    font-size: var(--text-sm);
    line-height: 1.35;
    min-width: 0;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cp-flight-strip .strip-route .path {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--cp-text-muted);
    flex-shrink: 0;
}
.cp-flight-strip .strip-route .path-line {
    width: 24px;
    height: 0;
    border-top: 1px dashed var(--cp-border);
}
/* Sağ blok: tarifeli/charter, gidiş-dönüş/tek yön, gidiş/dönüş tarih-saat — sabit genişlik */
.cp-flight-strip .strip-info {
    flex-shrink: 0;
    width: 240px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    justify-content: center;
}
.cp-flight-strip .strip-badges,
.cp-request-strip .strip-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
}
.cp-flight-strip .strip-badges .badge { font-size: 0.7rem; }
.cp-flight-strip .strip-times {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.01em;
    line-height: 1.4;
    color: var(--cp-text-secondary);
    font-variant-numeric: tabular-nums;
}
.cp-flight-strip .strip-times .strip-dep,
.cp-flight-strip .strip-times .strip-ret {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 991.98px) {
    .cp-flight-strip .strip-route { width: 380px; min-width: 380px; max-width: 380px; }
}
@media (max-width: 767.98px) {
    .cp-flight-strip {
        flex-wrap: wrap;
    }
    .cp-flight-strip .strip-route {
        order: 3;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-top: var(--space-2);
        padding-top: var(--space-2);
        border-top: 1px dashed var(--cp-border-light);
    }
    .cp-flight-strip .strip-route .origin,
    .cp-flight-strip .strip-route .destination { -webkit-line-clamp: 3; }
    .cp-flight-strip .strip-info { order: 4; width: 100%; min-width: 0; }
}

/* Panel: İlanlarım/Taleplerim — strip yönetim varyantı (link değil, aksiyonlar sağda) */
.cp-panel-tabs-wrap {
    margin-bottom: var(--space-5);
}
.cp-panel-tabs-wrap .nav-tabs {
    border-bottom: 2px solid var(--cp-border);
}
.cp-panel-tabs-wrap .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--cp-text-secondary);
    font-weight: var(--font-semibold);
    padding: var(--space-2) var(--space-4);
}
.cp-panel-tabs-wrap .nav-link:hover {
    color: var(--cp-primary);
    background: var(--cp-primary-50);
}
.cp-panel-tabs-wrap .nav-link.active {
    color: var(--cp-primary);
    border-bottom-color: var(--cp-primary);
    background: transparent;
}
.cp-flight-strip--manage,
.cp-request-strip--manage {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    text-decoration: none;
    cursor: default;
}
.cp-flight-strip--manage:hover,
.cp-request-strip--manage:hover {
    background: var(--cp-bg-elevated);
    border-color: var(--cp-border-light);
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.06);
}
.cp-flight-strip--manage .strip-clickable,
.cp-request-strip--manage .strip-clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.cp-flight-strip--manage .strip-clickable:hover,
.cp-request-strip--manage .strip-clickable:hover {
    color: var(--cp-primary);
}
.cp-flight-strip--manage .strip-actions,
.cp-request-strip--manage .strip-actions {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    justify-content: flex-end;
    min-width: 180px;
}
.cp-flight-strip--manage .strip-actions .btn,
.cp-request-strip--manage .strip-actions .btn {
    white-space: nowrap;
}
.cp-empty-state {
    text-align: center;
    background: var(--cp-bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--cp-border);
}
.cp-empty-state-icon {
    font-size: 2.5rem;
    opacity: 0.6;
}
@media (max-width: 767.98px) {
    .cp-flight-strip--manage .strip-actions,
    .cp-request-strip--manage .strip-actions {
        order: 5;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        margin-top: var(--space-2);
        padding-top: var(--space-2);
        border-top: 1px dashed var(--cp-border-light);
    }
}

/* Talep strip (anasayfa + açık talepler) — bilet şeridine benzer, sol vurgu rengi farklı */
.cp-request-strip-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.cp-request-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: 72px;
    padding: var(--space-5) var(--space-6);
    background: var(--cp-bg-elevated);
    border: 1px solid var(--cp-border-light);
    border-left: 4px solid var(--cp-info, #0dcaf0);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.06);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.cp-request-strip:hover {
    background: rgba(13, 202, 240, 0.08);
    border-color: var(--cp-border);
    box-shadow: 0 8px 28px rgba(12, 74, 110, 0.12);
    color: var(--cp-text);
}
.cp-request-strip .strip-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
    width: 100px;
    min-width: 100px;
}
.cp-request-strip .strip-icon { font-size: 1.25rem; }
.cp-request-strip .strip-title { font-size: var(--text-base); font-weight: var(--font-bold); color: var(--cp-text); }
.cp-request-strip .strip-route {
    width: 500px;
    min-width: 500px;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.cp-request-strip .strip-route .origin,
.cp-request-strip .strip-route .destination {
    font-weight: var(--font-semibold);
    color: var(--cp-text);
    font-size: var(--text-sm);
    line-height: 1.35;
    min-width: 0;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cp-request-strip .strip-route .path {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--cp-text-muted);
    flex-shrink: 0;
}
.cp-request-strip .strip-route .path-line {
    width: 24px;
    height: 0;
    border-top: 1px dashed var(--cp-border);
}
.cp-request-strip .strip-info {
    flex-shrink: 0;
    width: 220px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    justify-content: center;
}
.cp-request-strip .strip-times {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.01em;
    line-height: 1.4;
    color: var(--cp-text-secondary);
    font-variant-numeric: tabular-nums;
}
.cp-request-strip .strip-times .strip-pax,
.cp-request-strip .strip-times .strip-date {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 991.98px) {
    .cp-request-strip .strip-route { width: 380px; min-width: 380px; max-width: 380px; }
}
@media (max-width: 767.98px) {
    .cp-request-strip { flex-wrap: wrap; }
    .cp-request-strip .strip-route {
        order: 3;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-top: var(--space-2);
        padding-top: var(--space-2);
        border-top: 1px dashed var(--cp-border-light);
    }
    .cp-request-strip .strip-route .origin,
    .cp-request-strip .strip-route .destination { -webkit-line-clamp: 3; }
    .cp-request-strip .strip-info { order: 4; width: 100%; min-width: 0; }
}

/* ========== UÇUŞ İLANLARI SAYFASI: SOL FİLTRE + SAĞ SONUÇ (SCROLL) ========== */
.listings-layout {
    display: flex;
    gap: var(--space-5);
    align-items: stretch;
    height: calc(100vh - 200px);
    margin-top: var(--space-2);
}
.listings-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: var(--space-4);
    align-self: flex-start;
}
.listings-sidebar .card { margin-bottom: 0; }
.listings-results-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.listings-results-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: var(--space-2);
}
@media (max-width: 991.98px) {
    .listings-layout {
        flex-direction: column;
        height: auto;
    }
    .listings-sidebar {
        position: static;
        width: 100%;
    }
    .listings-results-scroll { overflow-y: visible; min-height: 0; }
}

/* Eski detay sınıfları (form vb. başka yerlerde kullanılıyorsa) */
.cp-detail-section { background: var(--cp-bg-elevated); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); border: 1px solid var(--cp-border-light); }
.cp-detail-section-title { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cp-text-muted); margin-bottom: var(--space-4); }
.cp-detail-list { margin: 0; padding: 0; list-style: none; }
.cp-detail-list li { display: flex; justify-content: space-between; padding: var(--space-2) 0; border-bottom: 1px solid var(--cp-border-light); font-size: var(--text-sm); }
.cp-detail-list li:last-child { border-bottom: none; }
.cp-detail-list .label { color: var(--cp-text-muted); }
.cp-detail-list .value { font-weight: 600; color: var(--cp-text); text-align: right; }
.cp-airline-logo { width: 56px; height: 56px; object-fit: contain; }
.cp-airline-flight-no { font-size: var(--text-2xl); font-weight: var(--font-extrabold); color: var(--cp-primary); }
.cp-route-block { font-size: var(--text-lg); font-weight: var(--font-bold); color: var(--cp-text); }
.cp-route-arrow { color: var(--cp-text-muted); margin: 0 var(--space-2); }

/* ========== ABONELİK PLAN KARTLARI ========== */
.cp-plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-5);
}

.cp-plan-card {
    background: var(--cp-bg-elevated);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.cp-plan-card:hover {
    box-shadow: 0 8px 28px rgba(12, 74, 110, 0.08);
    border-color: var(--cp-border);
}
.cp-plan-card.current {
    border-color: var(--cp-primary);
    box-shadow: 0 4px 20px rgba(12, 74, 110, 0.12);
}
.cp-plan-card .plan-name {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--cp-text);
    margin-bottom: var(--space-2);
}
.cp-plan-card .plan-key {
    font-size: var(--text-xs);
    color: var(--cp-text-muted);
    margin-bottom: var(--space-4);
}
.cp-plan-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--text-sm);
    color: var(--cp-text-secondary);
}
.cp-plan-card .plan-features li {
    padding: var(--space-1) 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.cp-plan-card .plan-features li::before {
    content: '✓';
    color: var(--cp-success);
    font-weight: bold;
}
.cp-plan-card .plan-features li.disabled { opacity: 0.5; }
.cp-plan-card .plan-features li.disabled::before { content: '—'; color: var(--cp-text-muted); }

/* ========== BİLGİ / ADIM KARTLARI (sistem tanıtımı) ========== */
.cp-info-card {
    background: var(--cp-primary-50);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}
.cp-info-card .cp-heading-3 { margin-bottom: var(--space-2); }
.cp-step-card {
    background: var(--cp-bg-elevated);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--cp-primary);
    padding: var(--space-5);
    box-shadow: 0 2px 12px rgba(12, 74, 110, 0.04);
}

/* ========== PANEL / DASHBOARD ========== */
.cp-panel-welcome {
    background: linear-gradient(135deg, var(--cp-primary-50) 0%, var(--cp-bg-elevated) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-6);
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.cp-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-4);
}
.cp-action-card {
    display: block;
    padding: var(--space-5);
    background: var(--cp-bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: var(--text-base);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cp-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 74, 110, 0.08);
    color: var(--cp-primary);
}
.cp-action-card.primary {
    background: var(--cp-primary);
    color: #fff;
    border-color: var(--cp-primary);
}
.cp-action-card.primary:hover { color: #fff; background: var(--cp-primary-hover); }
.cp-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cp-quick-links li { margin-bottom: var(--space-2); }
.cp-quick-links a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    color: var(--cp-text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: background 0.15s ease, color 0.15s ease;
}
.cp-quick-links a:hover { background: var(--cp-primary-50); color: var(--cp-primary); }

/* ========== ADMIN PANEL – sekmeler kapsayıcısız, içerik kart değil ========== */
.cp-admin-tabs-wrap {
    margin-bottom: var(--space-5);
}
.cp-admin-tabs-wrap .nav-tabs {
    padding: 0;
    background: transparent;
    border-bottom: 2px solid var(--cp-border);
}
.cp-admin-tabs-wrap .tab-content {
    padding: var(--space-5) 0 0;
}

/* Admin blokları: kart yok, sadece başlık + içerik (tablo doğrudan sayfada) */
.admin-block {
    margin-bottom: var(--space-6);
}
.admin-block:last-child { margin-bottom: 0; }
.admin-block-header {
    padding: 0 0 var(--space-3);
    margin-bottom: var(--space-3);
    border-bottom: 1px solid var(--cp-border);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--cp-text);
    background: transparent;
}
.admin-block-body {
    padding: 0;
}
.admin-block-body .table-responsive {
    margin: 0;
    border: 1px solid var(--cp-border-light);
    border-radius: var(--radius-md);
    background: var(--cp-bg-elevated);
}
.admin-block-body .table { margin: 0; }
.admin-block-body .pagination { padding: var(--space-3); }

/* Form veya plan kartları içeren bloklarda body padding */
.admin-block.admin-block-padded .admin-block-body { padding: var(--space-4) 0; }

/* Abonelik talepleri uyarı başlığı */
.admin-block.admin-block-warning .admin-block-header { color: var(--cp-warning-dark, #856404); }

/* İlanlar / Talepler özet sayı kartları */
.admin-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}
.admin-stat-card {
    flex: 1;
    min-width: 100px;
    padding: var(--space-4);
    background: var(--cp-bg-subtle, #f8f9fa);
    border-radius: var(--radius-md, 8px);
    text-align: center;
}
.admin-stat-card-total {
    background: var(--cp-primary-light, #e7f1ff);
    font-weight: 600;
}
.admin-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cp-text, #1a1a1a);
}
.admin-stat-label {
    font-size: 0.875rem;
    color: var(--cp-text-muted, #6c757d);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767.98px) {
    .container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    main {
        padding-top: var(--space-4);
        padding-bottom: var(--space-6);
    }

    .hero-section {
        padding: var(--space-6) var(--space-4);
    }

    .card-body {
        padding: var(--space-4) var(--space-4);
    }

    .card-header {
        padding: var(--space-4) var(--space-4);
    }

    .table-responsive {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .table thead th,
    .table tbody td {
        padding: var(--space-3) var(--space-3);
    }
}

/* ========== DETAIL LAYOUT (sol ana, sağ sidebar) ========== */
.detail-layout {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 992px) {
    .detail-layout {
        grid-template-columns: 1fr 320px;
    }
}

.detail-layout .detail-main { min-width: 0; }
.detail-layout .detail-sidebar { order: -1; }
@media (min-width: 992px) {
    .detail-layout .detail-sidebar { order: 0; }
}

/* ========== VIEW TOGGLE ========== */
.view-toggle .btn {
    padding: 0.4rem 0.65rem;
}

.view-toggle .btn.active {
    background: var(--cp-primary);
    color: #fff;
    border-color: var(--cp-primary);
}

/* ========== ADMIN ACTIONS ========== */
.admin-actions .btn-link {
    text-decoration: none;
    font-size: var(--text-sm);
}

.rounded-cp { border-radius: var(--radius-md); }

@media (max-width: 575.98px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}
