/* ==========================================================================
   TravelTourShop Enterprise Dashboard Design System
   Matches exact reference screenshot layout:
   - Left sidebar with green active state
   - Top breadcrumb & profile bar
   - Hero greeting banner + Genel İlerleme progress card
   - KPI metric cards with soft icon circles
   - Summary stat strip & Recent activity feeds
   ========================================================================== */

:root {
    /* Brand & Accent Colors */
    --brand-orange: #ea580c;       /* travel brand orange */
    --brand-dark: #1e293b;         /* Slate 800 */
    --primary-green: #15803d;      /* Emerald/Forest 700 - used in hero & active buttons */
    --primary-green-hover: #166534;
    --active-pill-bg: #e8f5e9;     /* Soft green pill background */
    --active-pill-text: #1b5e20;   /* Deep green text */
    --active-pill-border: #c8e6c9;
    
    /* Semantic Colors */
    --color-blue: #2563eb;
    --color-amber: #d97706;
    --color-purple: #7c3aed;
    --color-emerald: #10b981;
    --color-rose: #e11d48;
    
    /* Backgrounds & Surfaces */
    --bg-page: #f8fafc;            /* Clean light gray / slate 50 */
    --bg-card: #ffffff;            /* Pure white */
    --bg-subtle: #f1f5f9;          /* Slate 100 */
    --border-color: #e2e8f0;       /* Slate 200 */
    --border-light: #f1f5f9;
    
    /* Typography */
    --text-main: #0f172a;          /* Slate 900 */
    --text-muted: #64748b;         /* Slate 500 */
    --text-light: #94a3b8;         /* Slate 400 */
    
    /* Shadows & Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s ease-in-out;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    font-size: 0.875rem;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
}

/* ==========================================================================
   LAYOUT STRUCTURE: LEFT SIDEBAR + MAIN CONTENT
   ========================================================================== */
.app-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* --- SIDEBAR --- */
.sidebar {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 50;
}

.sidebar-brand {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.brand-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-title-travel {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-orange);
    letter-spacing: -0.02em;
}

.brand-title-sub {
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar-menu {
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-grow: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-md);
    color: #475569;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.sidebar-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-item i {
    font-size: 1.05rem;
    color: #64748b;
    transition: var(--transition);
}

.sidebar-item:hover {
    background: #f8fafc;
    color: var(--text-main);
}

.sidebar-item:hover i {
    color: var(--primary-green);
}

/* Active Menu Item: Matches screenshot green pill */
.sidebar-item.active {
    background: var(--active-pill-bg);
    color: var(--active-pill-text);
    border: 1px solid var(--active-pill-border);
    font-weight: 700;
}

.sidebar-item.active i {
    color: var(--primary-green);
}

.badge-counter {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-full);
}

.badge-counter-red {
    background: #fee2e2;
    color: #dc2626;
}

.sidebar-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.5rem 0;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-light);
}

.btn-sidebar-cta {
    width: 100%;
    background: var(--primary-green);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sidebar-cta:hover {
    background: var(--primary-green-hover);
    box-shadow: 0 4px 10px rgba(21, 128, 61, 0.25);
}

/* --- MAIN CONTENT AREA --- */
.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg-page);
}

/* Top Header Bar */
.top-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.breadcrumb-nav strong {
    color: var(--text-main);
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
}

.header-action-btn:hover {
    color: var(--text-main);
    background: var(--bg-subtle);
}

.notification-bell {
    position: relative;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.3rem;
}

.notification-bell:hover {
    color: var(--text-main);
}

.user-profile-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.65rem 0.25rem 0.35rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile-pill:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.user-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #0284c7, #15803d);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.user-handle {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
}

.btn-header-logout {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 0.25rem;
}

.btn-header-logout:hover {
    color: #ef4444;
}

/* Page Content Container */
.content-area {
    padding: 1.75rem 2rem;
    max-width: 1560px;
    width: 100%;
    margin: 0 auto;
}

/* ==========================================================================
   DASHBOARD HERO & GENEL İLERLEME ROW
   ========================================================================== */
.hero-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

/* Hero Greeting Card */
.hero-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2.25rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-hero-primary {
    background: var(--primary-green);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: var(--primary-green-hover);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.btn-hero-secondary {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: var(--bg-subtle);
}

/* Genel İlerleme Card */
.progress-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.progress-card-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.progress-big-number {
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.progress-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-green);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* ==========================================================================
   KPI CARDS ROW (5 LIVE METRICS FROM TRAVELTOURSHOP.COM)
   ========================================================================== */
.kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.25rem;
}

.kpi-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    transition: var(--transition);
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

/* Left colored vertical accent line (matching screenshot) */
.kpi-card::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 4px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.kpi-tours::before { background: #0284c7; }
.kpi-suppliers::before { background: #d97706; }
.kpi-mobile::before { background: #7c3aed; }
.kpi-articles::before { background: #e11d48; }
.kpi-reviews::before { background: #10b981; }

.kpi-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.kpi-tours .kpi-icon-circle { background: #e0f2fe; color: #0284c7; }
.kpi-suppliers .kpi-icon-circle { background: #fef3c7; color: #d97706; }
.kpi-mobile .kpi-icon-circle { background: #ede9fe; color: #7c3aed; }
.kpi-articles .kpi-icon-circle { background: #ffe4e6; color: #e11d48; }
.kpi-reviews .kpi-icon-circle { background: #dcfce7; color: #15803d; }

.kpi-info {
    display: flex;
    flex-direction: column;
}

.kpi-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.kpi-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.2rem;
}

/* ==========================================================================
   SUMMARY STRIP: DENEYİM / YORUM ÖZETİ
   ========================================================================== */
.summary-strip-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.summary-strip-header {
    padding: 0.85rem 1.4rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-strip-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    divide-x: 1px solid var(--border-light);
}

.summary-metric-block {
    padding: 1.25rem 1rem;
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.summary-metric-block:last-child {
    border-right: none;
}

.summary-metric-num {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.summary-metric-num.num-blue { color: #2563eb; }
.summary-metric-num.num-green { color: #16a34a; }
.summary-metric-num.num-cyan { color: #0284c7; }
.summary-metric-num.num-orange { color: #ea580c; }
.summary-metric-num.num-gray { color: #64748b; }

.summary-metric-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   BOTTOM SPLIT: RECENT ACTIVITY & SENİN İÇİN ÖZET
   ========================================================================== */
.split-row {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.panel-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.4rem;
}

.panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.83rem;
}

.activity-bullet {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--primary-green);
    margin-top: 5px;
    flex-shrink: 0;
}

.activity-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.activity-text {
    color: var(--text-main);
    font-weight: 500;
}

.activity-time {
    font-size: 0.74rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}

/* Right Summary Panel Items */
.summary-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.status-badge-green {
    font-weight: 700;
    color: #16a34a;
    font-size: 0.82rem;
}

.status-badge-count {
    font-weight: 800;
    color: var(--text-main);
    font-size: 0.9rem;
}

.callout-admin-role {
    background: #eff6ff;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ==========================================================================
   TABS & INTERACTIVE WORKSTATION / ARCHIVE / USERS VIEWS
   ========================================================================== */
.view-section {
    display: none;
}

.view-section.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

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

/* ==========================================================================
   REVIEW CARDS & MODERN WORKSTATION (ELITE DESIGN - NO SCROLL)
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.35rem;
    align-items: stretch;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    min-height: auto;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: visible;
}

.review-card:hover {
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    border-color: #cbd5e1;
    transform: translateY(-3px);
}

/* --- Card Header: Category & Tour ID --- */
.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.tour-category-tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: #1d4ed8;
    background: #eff6ff;
    padding: 0.22rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid #dbeafe;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    letter-spacing: 0.01em;
}

.tour-id-tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
}

/* --- Tour Title --- */
.tour-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.42;
    min-height: 2.84em;
    max-height: 2.84em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0 0 0.65rem 0;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

/* --- Author Profile Card --- */
.review-author-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.65rem;
    flex-shrink: 0;
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.92rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}

.author-details {
    flex: 1;
    min-width: 0;
}

.author-name-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.15rem;
}

.author-name-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.author-name-input {
    width: 100%;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0.1rem 0.25rem;
    outline: none;
    transition: all 0.15s ease;
    font-family: inherit;
}

.author-name-input:focus {
    background: #ffffff;
    border-color: #94a3b8;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.author-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.2;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.meta-dot {
    color: #cbd5e1;
}

.star-rating-box {
    color: #f59e0b;
    font-size: 0.95rem;
    white-space: nowrap;
    letter-spacing: 0.05rem;
    flex-shrink: 0;
}

.star-rating-box i {
    cursor: pointer;
    transition: transform 0.15s ease;
}

.star-rating-box i:hover {
    transform: scale(1.2);
}

/* --- Review Text Containers (ABSOLUTELY NO SCROLLBAR) --- */
.review-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.55rem;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible; /* NO scroll on box */
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.review-box.box-tr {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.review-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    flex-shrink: 0;
}

.box-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #475569;
}

.box-badge-lang {
    font-size: 0.68rem;
    font-weight: 700;
    color: #3b82f6;
    background: #eff6ff;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    text-transform: none;
}

.box-badge-tr {
    font-size: 0.68rem;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    text-transform: none;
}

.review-box-content {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
    margin: 0;
    height: auto;
    overflow: visible;
    word-break: break-word;
}

.review-box-textarea {
    width: 100%;
    height: auto;
    min-height: 52px;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #1e293b;
    outline: none;
    font-family: inherit;
    resize: none;
    overflow: hidden !important; /* NO scrollbar on textarea */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    word-break: break-word;
}

.review-box-textarea::-webkit-scrollbar,
.review-box-content::-webkit-scrollbar,
.review-box::-webkit-scrollbar,
.review-card::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* --- Photo Attachment Widget --- */
.card-photo-widget {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.5rem 0.85rem;
    margin-bottom: 0.5rem;
    height: 56px;
    flex-shrink: 0;
    transition: var(--transition);
}

.card-photo-widget:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.photo-placeholder-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.photo-info-box {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.photo-empty-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    line-height: 1.2;
}

.photo-empty-sub {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-status-ok {
    font-size: 0.8rem;
    font-weight: 700;
    color: #15803d;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
}

.photo-sub {
    font-size: 0.7rem;
    color: #64748b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-preview-thumb {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px;
    object-fit: cover !important;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-preview-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #15803d;
}

.btn-upload-trigger {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-upload-trigger:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1px);
}

.btn-remove-photo {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #ef4444;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-remove-photo:hover {
    background: #fee2e2;
    color: #b91c1c;
    transform: scale(1.05);
}

/* --- Card Footer Controls --- */
.card-footer-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    flex-shrink: 0;
}

.status-select-wrapper {
    position: relative;
    display: inline-block;
}

.status-select-control {
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.42rem 0.95rem;
    border: 1px solid #cbd5e1;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    padding-right: 1.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 0.6rem) center;
}

.status-select-control.status-approved {
    color: #15803d;
    background-color: #f0fdf4;
    border-color: #bbf7d0;
}

.status-select-control.status-pending {
    color: #b45309;
    background-color: #fffbeb;
    border-color: #fde68a;
}

.btn-publish-single {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.45rem 1.2rem;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
    white-space: nowrap;
}

.btn-publish-single:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
    transform: translateY(-1px);
}

.badge-status-published {
    font-size: 0.78rem;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
}

.text-muted-xs {
    font-size: 0.75rem;
    color: #64748b;
}

/* User Management Table */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.modern-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.modern-table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }

.modern-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.86rem;
    color: var(--text-main);
    background: #ffffff;
}

.modern-table tbody tr:hover td {
    background: #f8fafc;
}

.role-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.role-admin { background: #dbeafe; color: #1d4ed8; }
.role-editor { background: #e0f2fe; color: #0369a1; }
.role-operator { background: #dcfce7; color: #15803d; }

/* Modals */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.custom-modal-dialog {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 1.5rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
}

.btn-close-modal:hover {
    color: var(--text-main);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.35rem;
}

.form-control-custom, .glass-input, .glass-select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.86rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.form-control-custom:focus, .glass-input:focus, .glass-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

/* Category Cards in Modal - Spacious, Modern, No Text Overlap */
.category-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.75rem;
}

.category-pill {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 86px;
}

.category-pill:hover {
    border-color: var(--primary-green);
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(16, 185, 129, 0.12);
}

.category-pill.selected {
    border-color: var(--primary-green);
    background: #f0fdf4;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}

.category-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.category-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.2s ease;
}

.category-pill:hover .category-card-icon,
.category-pill.selected .category-card-icon {
    background: #dcfce7;
    color: #15803d;
}

.category-tour-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.category-pill.selected .category-tour-pill {
    background: #dcfce7;
    color: #15803d;
}

.category-card-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-pill.selected .category-card-name {
    color: #15803d;
}

/* Toast Container */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-toast {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 300px;
    font-size: 0.85rem;
    animation: slideInRight 0.25s ease;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.toast-success { border-left: 4px solid var(--primary-green); }
.toast-error { border-left: 4px solid #ef4444; }
.toast-info { border-left: 4px solid #0284c7; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-row, .split-row {
        grid-template-columns: 1fr;
    }
    .summary-strip-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .content-area {
        padding: 1rem;
    }
    .summary-strip-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   PAST REVIEWS (GEÇMİŞ YORUMLAR) TASK CARD DESIGN (EXACT MATCH TO SCREENSHOT)
   ========================================================================== */
.archive-column-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.archive-column-title-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.archive-column-title-box i {
    font-size: 1.25rem;
    color: #1e293b;
}

.archive-column-title-box h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.2px;
}

.archive-pill-badge {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 3px 12px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.archive-task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

/* The Individual Task Card - Clean, White, Rounded 18px */
.task-review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
    position: relative;
    min-height: 255px;
}

.task-review-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.07);
}

.task-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.task-card-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #059669;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.task-card-id {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.2px;
}

.task-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.42;
    margin: 0 0 0.85rem 0;
    height: 2.85em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Middle Soft Gray Container */
.task-card-detail-box {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.task-bullet-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: #475569;
    min-width: 0;
}

.task-bullet-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #64748b;
    flex-shrink: 0;
    display: inline-block;
}

.task-bullet-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    font-weight: 500;
}

.task-bullet-text strong {
    color: #1e293b;
    font-weight: 700;
}

/* Bottom Action Buttons Row */
.task-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn-task-inspect {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 38px;
}

.btn-task-inspect:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}

.select-task-status-wrap {
    position: relative;
    width: 100%;
}

.select-task-status {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 30px 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    width: 100%;
    height: 38px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23374151' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 11px;
    transition: all 0.2s ease;
}

.select-task-status:hover {
    border-color: #9ca3af;
    background-color: #f9fafb;
}

.select-task-status:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* ==========================================================================
   REVIEW INSPECTION MODAL (MODAL-ARCHIVE-DETAIL) REDESIGN
   ========================================================================== */
.modal-detail-dialog {
    max-width: 760px !important;
    border-radius: 20px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.22) !important;
}

.modal-detail-header {
    padding: 1.5rem 1.75rem 1.15rem 1.75rem;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.detail-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.detail-badge-date {
    background: #ecfdf5;
    color: #059669;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    border: 1px solid #a7f3d0;
}

.detail-badge-id {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.detail-badge-cat {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.detail-tour-headline {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
}

.btn-close-modal-round {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.btn-close-modal-round:hover {
    background: #fee2e2;
    color: #ef4444;
}

.modal-detail-body {
    padding: 1.5rem 1.75rem;
    max-height: calc(85vh - 140px);
    overflow-y: auto;
    background: #ffffff;
}

/* Author Box */
.detail-author-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.detail-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.detail-author-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-right: 0.35rem;
}

.verified-reviewer-chip {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.detail-meta-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.meta-pill {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

.detail-rating-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.detail-rating-score {
    font-size: 0.8rem;
    font-weight: 800;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 6px;
}

/* Quote Boxes & Copy Chips */
.detail-review-section {
    margin-bottom: 1.25rem;
}

.detail-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}

.review-box-tag {
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.review-box-tag.tag-original {
    color: #0369a1;
}

.review-box-tag.tag-tr {
    color: #15803d;
}

.btn-copy-chip {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.btn-copy-chip:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.detail-text-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 0.92rem;
    color: #1e293b;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.detail-text-box.box-tr {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

/* Photo Container */
.detail-photo-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.detail-photo-thumb {
    width: 110px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.detail-photo-thumb:hover {
    transform: scale(1.04);
}

/* Modal Footer */
.modal-detail-footer {
    padding: 1rem 1.75rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-detail-close {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 24px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-detail-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .modal-detail-dialog {
        width: 95% !important;
        margin: 12px auto !important;
        border-radius: 16px !important;
    }
    .detail-author-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .detail-rating-wrapper {
        align-items: flex-start;
    }
    .modal-detail-header {
        padding: 1.15rem 1.25rem;
    }
    .modal-detail-body {
        padding: 1.15rem 1.25rem;
    }
    .modal-detail-footer {
        padding: 0.85rem 1.25rem;
    }
}




