/* Tlačítka */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary); color: white;
    padding: 12px 28px; border-radius: 4px;
    font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid var(--primary); cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover { background: transparent; color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid #ccc; }
.btn-outline:hover { border-color: var(--primary); background: var(--primary); color: white; }
.btn-white { background: white; color: var(--primary); border-color: white; }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: white; color: var(--primary); border-color: white; }

/* Inputy */
.modern-input, .form-select {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--border); border-radius: 4px;
    font-size: 0.95rem; outline: none; transition: 0.3s;
    background: var(--bg-input); font-family: inherit; color: var(--primary);
}
.modern-input:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
textarea.modern-input { resize: vertical; min-height: 100px; }

/* Flash Zprávy */
.flash-container { position: fixed; top: 100px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.flash {
    padding: 16px 24px; border-radius: 4px; background: white;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
    animation: slideIn 0.4s ease; border-left: 4px solid var(--primary); font-size: 0.9rem; font-weight: 600;
}
.flash.success { border-left-color: var(--success); }
.flash.error { border-left-color: var(--danger); color: #c0392b; }
.flash.info { border-left-color: var(--info); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Status Badges */
.status-badge { padding: 4px 10px; border-radius: 12px; font-size: 0.7rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.status-new { background: #e3f2fd; color: #1976d2; }
.status-paid { background: #fff8e1; color: #f57c00; }
.status-shipped { background: #e8f5e9; color: #2ecc71; }
.status-cancelled { background: #ffebee; color: #c62828; }

/* =========================================
   LEGAL PAGES
   ========================================= */

.legal-hero {
    background: #111;
    color: white;
    padding: 5rem 2rem 3.5rem;
}
.legal-hero h1 { font-size: 2.5rem; color: white; letter-spacing: -1px; margin: 0.5rem 0 0.75rem; font-weight: 800; }
.legal-eyebrow { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: #555; margin: 0 0 0.5rem; }
.legal-meta { font-size: 0.82rem; color: #555; margin: 0; }

.legal-nav-bar {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.legal-nav-bar .container { display: flex; gap: 0; white-space: nowrap; }
.legal-nav-bar a {
    display: inline-block; padding: 0.9rem 1.1rem;
    font-size: 0.72rem; font-weight: 600; color: #888;
    text-decoration: none; border-bottom: 2px solid transparent;
    transition: 0.2s; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0;
}
.legal-nav-bar a:hover { color: #111; border-bottom-color: #111; }

.legal-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    padding-top: 3.5rem;
    padding-bottom: 6rem;
    align-items: start;
}

.legal-sidebar { position: sticky; top: 50px; }
.legal-nav-label { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: #bbb; margin: 0 0 0.75rem; }
.legal-sidebar nav a {
    display: block; font-size: 0.8rem; color: #999; text-decoration: none;
    padding: 0.35rem 0 0.35rem 1rem; border-left: 2px solid #eee;
    transition: 0.15s; line-height: 1.4;
}
.legal-sidebar nav a:hover { color: #111; border-left-color: #111; }

.legal-content section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #f0f0f0; }
.legal-content section:last-of-type { border-bottom: none; }
.legal-content h2 { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #999; margin: 0 0 1rem; }
.legal-content p { font-size: 0.9rem; line-height: 1.85; color: #333; margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.legal-content ul li { font-size: 0.9rem; line-height: 1.85; color: #333; margin-bottom: 0.25rem; }
.legal-content a { color: #111; text-decoration: underline; text-underline-offset: 2px; }

.legal-intro-box {
    background: #f7f7f7; border-left: 2px solid #111;
    padding: 1.1rem 1.4rem; font-size: 0.9rem; line-height: 1.85;
    color: #333; margin-bottom: 2.5rem;
}

.legal-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.85rem; }
.legal-table th {
    text-align: left; padding: 9px 14px; background: #f7f7f7;
    font-weight: 700; width: 35%; border: 1px solid #eee;
    color: #666; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.legal-table td { padding: 9px 14px; border: 1px solid #eee; color: #333; line-height: 1.6; }

.legal-contact-box {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
    background: #111; border-radius: 2px; padding: 2rem; margin-top: 2.5rem;
}
.legal-contact-box div { display: flex; flex-direction: column; gap: 3px; }
.legal-contact-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 2px; color: #555; margin-bottom: 3px; }
.legal-contact-box strong { font-size: 0.9rem; color: white; }
.legal-contact-box span { font-size: 0.82rem; color: #666; }
.legal-contact-box a { font-size: 0.82rem; color: #888; text-decoration: none; }
.legal-contact-box a:hover { color: white; }

.legal-footer { margin-top: 2rem; font-size: 0.75rem; color: #ccc; padding-top: 1.5rem; border-top: 1px solid #f0f0f0; }

@media (max-width: 768px) {
    .legal-hero { padding: 3rem 1.25rem 2rem; }
    .legal-hero h1 { font-size: 1.8rem; }
    .legal-layout { grid-template-columns: 1fr; gap: 0; padding-top: 2rem; padding-bottom: 4rem; }
    .legal-sidebar { display: none; }
    .legal-content section { margin-bottom: 2rem; padding-bottom: 2rem; }
    .legal-content p, .legal-content ul li { font-size: 0.88rem; }
    .legal-table { display: block; overflow-x: auto; }
    .legal-table th { width: auto; min-width: 120px; }
    .legal-contact-box { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
    .legal-intro-box { padding: 1rem 1.1rem; }
}