/* Equipe Fox Servidor - Tema Preto & Laranja */

:root {
    --primary: #ff6600;
    --primary-dark: #e55a00;
    --secondary: #ff8c00;
    --accent: #ff9500;
    --dark: #000000;
    --dark-2: #0a0a0a;
    --dark-3: #111111;
    --card: #141414;
    --card-hover: #1a1a1a;
    --light: #0d0d0d;
    --text: #e5e5e5;
    --text-muted: #a3a3a3;
    --gray: #737373;
    --gray-light: #262626;
    --border: rgba(255, 102, 0, 0.25);
    --glow: rgba(255, 102, 0, 0.35);
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.5);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Fundo global do site */
.site-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('../img/fundo.png'), url('../img/fundo.svg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -2;
}

.site-body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.82) 50%, rgba(0,0,0,0.9) 100%);
    z-index: -1;
    pointer-events: none;
}

main { flex: 1; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* Logo */
.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px var(--glow));
}

.logo-img-sm { height: 36px; }
.logo-img-lg { height: 120px; margin-bottom: 20px; }
.logo-img-auth { height: 80px; margin-bottom: 12px; }

.footer-brand .logo-img { height: 56px; }

/* Language switcher */
.lang-switcher-wrap {
    list-style: none;
    display: flex;
    align-items: center;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3px;
    overflow: hidden;
}

.lang-switcher-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 52px;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-muted);
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.lang-btn:hover {
    color: var(--primary);
    background: rgba(255, 102, 0, 0.12);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    box-shadow: 0 2px 8px var(--glow);
}

.lang-divider { display: none; }

.admin-lang {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 102, 0, 0.2);
}

.admin-lang .lang-switcher { width: 100%; justify-content: center; }

.admin-topbar-lang .lang-switcher { margin: 0; }

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(255, 102, 0, 0.15);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.logo-text { font-size: 1rem; font-weight: 600; letter-spacing: 0.5px; }
.logo-text strong { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-links a:hover { color: var(--primary); background: rgba(255, 102, 0, 0.1); }

.nav-discord {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #5865F2 !important;
}

.nav-discord:hover {
    background: rgba(88, 101, 242, 0.15) !important;
    color: #7289da !important;
}

.discord-icon { flex-shrink: 0; }

.footer-discord { color: #7289da !important; }
.footer-discord:hover { color: #5865F2 !important; }

.btn-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #000 !important;
    font-weight: 700 !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    font-weight: 700;
    border: 1px solid rgba(255, 140, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover { background: var(--primary); color: #000; }

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-danger { background: var(--error); color: #fff; border-color: var(--error); }

/* Hero */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 100%),
        url('../img/fundo.png') center center / cover no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.2) 0%, transparent 65%);
    border-radius: 50%;
}

.hero-bg::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; text-align: center; }

.hero-badge {
    display: inline-block;
    background: rgba(255, 102, 0, 0.15);
    border: 1px solid rgba(255, 102, 0, 0.5);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat span { font-size: 0.85rem; opacity: 0.7; }

/* Sections */
.section {
    padding: 80px 0;
    background: rgba(13, 13, 13, 0.72);
    backdrop-filter: blur(2px);
}
.section-dark {
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-dark .section-header p { color: var(--text-muted); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.page-header {
    background:
        linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,10,0,0.85) 100%),
        url('../img/fundo.png') center center / cover no-repeat;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.page-header h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; }
.page-header p { opacity: 0.8; }

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 1px solid var(--gray-light);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--glow);
    border-color: var(--primary);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-card h3 { font-size: 1.2rem; margin-bottom: 10px; padding-right: 60px; color: #fff; }
.product-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.product-prices { margin-bottom: 16px; }
.price-range { font-weight: 700; color: var(--primary); font-size: 1.1rem; }

.variant-list { margin: 16px 0; }
.variant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.9rem;
}

.variant-info small { display: block; color: var(--text-muted); font-size: 0.8rem; }
.variant-item { color: var(--text); }
.variant-price { font-weight: 700; color: var(--primary); }

/* Demo */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.demo-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.demo-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.video-thumb { position: relative; }
.play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    background: rgba(255, 102, 0, 0.95);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
}

.demo-card h4 { padding: 12px 16px; font-size: 0.95rem; }

.demo-gallery { display: grid; gap: 32px; }
.demo-gallery-item {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.demo-embed { width: 100%; max-height: 500px; object-fit: cover; display: block; }
.demo-embed iframe { width: 100%; aspect-ratio: 16/9; border: none; }

.demo-info { padding: 20px; }
.demo-info h3 { margin-bottom: 8px; color: #fff; }
.demo-info p { color: var(--text-muted); }

/* Pricing */
.pricing-table {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.pricing-table h2 { color: #fff; }

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-light);
    gap: 20px;
    flex-wrap: wrap;
}

.pricing-info h3 { font-size: 1.05rem; margin-bottom: 4px; color: #fff; }
.pricing-type {
    display: inline-block;
    background: rgba(255, 102, 0, 0.15);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    border: 1px solid var(--border);
}

.pricing-info p { color: var(--text-muted); font-size: 0.9rem; }

.pricing-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 8px; }
.pricing-action { text-align: right; }

.variant-legend {
    margin-top: 32px;
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.variant-legend h3 { color: #fff; margin-bottom: 12px; }
.variant-legend ul { list-style: none; padding: 0; }
.variant-legend li { padding: 8px 0; border-bottom: 1px solid var(--gray-light); font-size: 0.9rem; color: var(--text-muted); }
.variant-legend strong { color: var(--primary); }

/* Auth */
.auth-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.88) 100%),
        url('../img/fundo.png') center center / cover no-repeat;
}

.auth-card {
    background: var(--card);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 520px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header h1 { font-size: 1.5rem; margin: 12px 0 4px; color: #fff; }
.auth-header p { color: var(--text-muted); }

.auth-form .form-group { margin-bottom: 16px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--gray); }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--dark-2);
    color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }

.nav-ep35 {
    color: var(--secondary) !important;
    font-weight: 600 !important;
}

.nav-ep35:hover {
    background: rgba(255, 140, 0, 0.12) !important;
}

.test-account-card { margin-top: 0; }
.test-account-info {
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.test-account-success { text-align: center; }
.test-account-success .success-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.test-account-success .profile-dl { text-align: left; max-width: 400px; margin: 0 auto 20px; }

/* Panel */
.panel-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }

.panel-sidebar { display: flex; flex-direction: column; gap: 16px; }

.panel-nav {
    background: var(--card);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.panel-nav a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.panel-nav a:hover, .panel-nav a.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    font-weight: 600;
}

.player-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.player-card h3 { font-size: 0.95rem; margin-bottom: 12px; color: var(--primary); }
.player-card dl { font-size: 0.85rem; }
.player-card dt { color: var(--text-muted); font-weight: 500; margin-top: 8px; }
.player-card dd { font-weight: 600; color: #fff; }

.panel-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.panel-card h2 { font-size: 1.2rem; margin-bottom: 20px; color: #fff; }

.profile-dl { display: grid; grid-template-columns: 140px 1fr; gap: 12px; font-size: 0.95rem; margin-bottom: 24px; }
.profile-dl dt { color: var(--text-muted); font-weight: 500; }
.profile-dl dd { font-weight: 600; color: #fff; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
    text-align: left;
    padding: 12px;
    background: var(--dark-2);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}
.data-table td { padding: 12px; border-bottom: 1px solid var(--gray-light); color: var(--text); }
.data-table tr:hover td { background: var(--card-hover); }

.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-approved { background: #dbeafe; color: #1e40af; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin: 16px auto;
    font-size: 0.9rem;
    max-width: 1160px;
}

.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* CTA */
.cta-box {
    background: linear-gradient(135deg, var(--dark) 0%, #1a0a00 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    border: 2px solid var(--border);
    box-shadow: 0 0 40px rgba(255, 102, 0, 0.1);
}

.cta-box h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-box p { opacity: 0.8; margin-bottom: 24px; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-icon { font-size: 3rem; display: block; margin-bottom: 12px; }

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.92);
    color: var(--text-muted);
    padding: 40px 0 24px;
    margin-top: auto;
    border-top: 2px solid var(--border);
    backdrop-filter: blur(4px);
}

.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { color: #fff; display: block; }
.footer-brand p { font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }

.footer-host {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.footer-host-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.footer-host-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.15), rgba(255, 140, 0, 0.08));
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.footer-host-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 4px 16px var(--glow);
}

.footer-copy { width: 100%; text-align: center; font-size: 0.8rem; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 16px;
    }
    .nav-links.open { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .panel-grid { grid-template-columns: 1fr; }
    .pricing-row { flex-direction: column; text-align: center; }
    .pricing-action { text-align: center; }
    .hero { padding: 60px 0 40px; }
    .section { padding: 48px 0; }
    .footer-host { width: 100%; align-items: center; text-align: center; }
    .footer-inner { justify-content: center; }
    .lang-switcher-wrap { width: 100%; justify-content: center; margin-top: 8px; }
    .lang-switcher-footer { width: 100%; display: flex; justify-content: center; }
}

/* Tickets */
.panel-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: 12px; }
.ticket-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; font-size: 0.9rem; }
.ticket-thread { margin-top: 1rem; }
.ticket-msg { padding: 16px; margin-bottom: 12px; border-radius: var(--radius); border: 1px solid var(--gray-light); }
.ticket-msg-user { background: var(--card); border-left: 3px solid var(--primary); }
.ticket-msg-staff { background: rgba(255, 102, 0, 0.08); border-left: 3px solid var(--secondary); }
.ticket-msg-internal { background: rgba(120, 120, 120, 0.15); border-left: 3px solid var(--gray); }
.ticket-msg-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 0.85rem; color: var(--text-muted); }
.ticket-msg-head strong { color: var(--text); }
.ticket-msg-body { line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.ticket-attachments { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-attach-link { font-size: 0.85rem; color: var(--primary); background: rgba(255,102,0,0.1); padding: 4px 10px; border-radius: 6px; }
.ticket-dl dt { font-weight: 600; margin-top: 8px; color: var(--text-muted); font-size: 0.85rem; }
.ticket-dl dd { margin: 0 0 4px; }
.priority { font-size: 0.8rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.priority-low { background: rgba(100,100,100,0.3); }
.priority-normal { background: rgba(59,130,246,0.2); color: #93c5fd; }
.priority-high { background: rgba(245,158,11,0.2); color: #fbbf24; }
.priority-urgent { background: rgba(239,68,68,0.2); color: #f87171; }
.status-open { background: rgba(34,197,94,0.2); color: #4ade80; }
.status-answered { background: rgba(59,130,246,0.2); color: #93c5fd; }
.status-waiting { background: rgba(245,158,11,0.2); color: #fbbf24; }
.status-closed { background: rgba(100,100,100,0.3); color: var(--text-muted); }
.admin-card-header { margin-bottom: 1rem; }
