/* ==============================================================================
   TRAVELNET DZ — SYSTEME DE DESIGN GLOBAL & CHARTE GRAPHIQUE UNIFIEE
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
    /* Palette de Couleurs Officielles TravelNet DZ */
    --bg-dark: #07111b;
    --bg-surface: #0d1824;
    --bg-surface-glass: rgba(13, 24, 36, 0.85);
    --bg-card: rgba(13, 24, 36, 0.88);
    
    --gold: #d8b36a;
    --gold-light: #f3dfb2;
    --gold-dark: #b89248;
    --gold-glow: rgba(216, 179, 106, 0.25);
    
    --teal: #2ea7a0;
    --teal-light: #7ee0db;
    --teal-glow: rgba(46, 167, 160, 0.2);
    
    --text-main: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.65);
    
    --border-light: rgba(255, 255, 255, 0.12);
    --border-gold: rgba(216, 179, 106, 0.35);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 99px;
    
    /* Typographies Standardisées */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- REZET & BASE STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    background-color: var(--bg-dark);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAPHIE STANDARD --- */
h1, h2, h3, h4, h5, h6,
.font-heading, .brand-title, .page-title, .card-title, .panel-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

h1, .page-title {
    font-size: 32px;
    line-height: 1.25;
}

h2, .section-title {
    font-size: 24px;
    line-height: 1.3;
}

h3, .card-title {
    font-size: 20px;
    line-height: 1.35;
}

h4 {
    font-size: 16px;
    line-height: 1.4;
}

p, .body-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.65;
}

small, .text-muted, .input-hint {
    font-size: 12.5px;
    color: var(--text-muted);
}

strong, b {
    font-weight: 700;
}

/* --- BOUTONS UNIFIES --- */
.btn, button, input[type="submit"] {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    border-radius: var(--radius-md);
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-gold, .btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #111827;
    border: none;
    box-shadow: 0 8px 20px var(--gold-glow);
}

.btn-gold:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(216, 179, 106, 0.38);
    background: linear-gradient(135deg, #ffffff, var(--gold-light));
}

.btn-teal, .btn-secondary {
    background: linear-gradient(135deg, var(--teal-light), var(--teal));
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px var(--teal-glow);
}

.btn-teal:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(46, 167, 160, 0.35);
}

.btn-outline, .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.btn-outline:hover, .btn-ghost:hover {
    background: rgba(216, 179, 106, 0.15);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* --- CONTENEURS ET CARTES --- */
.card, .panel, .glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(16px);
}

.card-gold-border {
    border-color: var(--border-gold);
}

/* --- FORMULAIRES ET CONTROLES --- */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    background: #06111b;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    outline: none;
    transition: all 0.25s ease;
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 16px var(--gold-glow);
    background: #091726;
}

select option {
    background: #0d1824;
    color: var(--text-main);
}

/* --- BADGES ET PUCE VERIFIEE (SANS AUCUN FOND BLANC / SOLIDE) --- */
.badge, .badge-gold, .badge-verified, .badge-status, .badge-no-bg, 
.points-pill-badge, .agency-badge-pill, .chip, .section-tag, .hero-badge, 
.chip-mini-badge, .status-badge, .dest-chip, .featured-pill, .tag-badge {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.badge-verified {
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.badge-gold {
    background: transparent !important;
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
}

/* --- STRUCTURE ET MISE EN PAGE DE REFERENCE (ajouter_offre.php) --- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.heading-block h1 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.15;
    color: #ffffff;
}

.heading-block p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14.5px;
    max-width: 760px;
    line-height: 1.6;
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.btn-light:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.hero-mini {
    margin-bottom: 24px;
    padding: 26px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
    gap: 24px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-mini-grid {
        grid-template-columns: 1fr;
    }
}

.hero-mini h2 {
    margin: 0 0 10px;
    font-size: 26px;
    font-family: var(--font-heading);
    color: #ffffff;
}

.hero-mini p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 14.5px;
}

.hero-chipbox {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.chip {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 2px;
}

