:root {
    --primary: #0070ba;
    --primary-hover: #005a96;
    --bg-main: #f5f7fa;
    --card-bg: #ffffff;
    --text-main: #2d3748;
    --text-muted: #718096;
    --border: #e2e8f0;
    --border-focus: #3182ce;
    --success: #38a169;
    --warning: #d69e2e;
    --danger: #e53e3e;
    --font-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-base);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 15.5px;
    line-height: 1.5;
}

/* ==================================================== */
/* HORNÍ LIŠTA                                          */
/* ==================================================== */
.navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
    color: #fff;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.brand-logo-svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(99, 102, 241, 0.4));
}

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

.brand-name {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.brand-tagline {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #818cf8;
}

.badge-pro {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    margin-left: 4px;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.4);
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Dropdown menu v navigaci */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropbtn {
    background: none;
    border: none;
    color: #cbd5e0;
    font-family: inherit;
    font-weight: 500;
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-dropdown:hover .nav-dropbtn {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    z-index: 100;
    padding: 6px 0;
    margin-top: 4px;
}

.dropdown-content a {
    color: #2d3748;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14.5px;
    font-weight: 500;
    transition: background 0.15s;
}

.dropdown-content a:hover {
    background-color: #f7fafc;
    color: var(--primary);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

/* ==================================================== */
/* DASHBOARD STYLY & KPI                                */
/* ==================================================== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.kpi-card {
    padding: 20px 24px;
    border-left: 5px solid var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi-card.kpi-success {
    border-left-color: var(--success);
}

.kpi-card.kpi-warning {
    border-left-color: var(--warning);
}

.kpi-card.kpi-danger {
    border-left-color: var(--danger);
}

.kpi-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 26px;
    font-weight: 700;
    color: #1a202c;
    margin: 6px 0 2px 0;
}

.kpi-sub {
    font-size: 13.5px;
    color: var(--text-muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.company-turnover-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.turnover-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.turnover-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.turnover-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
}

.turnover-bar-bg {
    background-color: #edf2f7;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.turnover-bar-fill {
    background-color: var(--primary);
    height: 100%;
    border-radius: 5px;
    transition: width 0.4s ease;
}

.quick-action-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

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

.filter-grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 160px;
}

.nav-item {
    color: #cbd5e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-item:hover, .nav-item.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Jazykový přepínač v hlavičce */
.lang-switcher {
    display: flex;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    background: none;
    border: none;
    color: #cbd5e0;
    font-size: 13.5px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.15s;
}

.lang-btn:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
    color: #1a202c;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Výběr jazyka v modalu faktury */
.invoice-lang-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.radio-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s;
}

.radio-chip:hover {
    border-color: var(--primary);
}

.radio-chip input[type="radio"]:checked + span,
.radio-chip:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background-color: #ebf8ff;
    font-weight: 600;
}

.print-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.print-lang-btn.active {
    background-color: var(--primary);
    color: #fff;
}

/* ==================================================== */
/* HLAVNÍ KONTEJNER 1300PX                              */
/* ==================================================== */
.main-wrapper {
    max-width: 1300px;
    margin: 24px auto;
    padding: 0 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1a202c;
}

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

/* Karty */
.card {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 24px;
    padding: 20px;
}

.filter-card {
    background: #edf2f7;
    border-color: #cbd5e0;
    padding: 16px 20px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) 160px;
    gap: 16px;
    align-items: end;
}

/* Formuláře */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

input, select, textarea {
    font-family: inherit;
    font-size: 15px;
    padding: 9px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #2d3748;
    transition: border 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.flex-1 { flex: 1; }
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 20px; }

/* Tlačítka */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #4a5568;
}
.btn-secondary:hover {
    background-color: #cbd5e0;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: rgba(0, 112, 186, 0.08);
}

.btn-sm {
    font-size: 13px;
    padding: 5px 10px;
}

.btn-lg {
    font-size: 16px;
    padding: 12px 24px;
}

/* Tabulky */
.table-card {
    padding: 0;
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.data-table th {
    background-color: #f7fafc;
    color: #4a5568;
    font-weight: 600;
    padding: 13px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.data-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tr:hover {
    background-color: #f8fafc;
}

/* Smajlíky a stavy */
.smiley-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.15s;
}

.smiley-badge:hover {
    transform: scale(1.04);
}

.smiley-green {
    background-color: #def7ec;
    color: #03543f;
}

.smiley-yellow {
    background-color: #fef08a;
    color: #713f12;
}

.smiley-red {
    background-color: #fee2e2;
    color: #991b1b;
}

.icon-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.15s;
}

.btn-icon:hover {
    background-color: #edf2f7;
}

/* Modaly */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    overflow-y: auto;
    padding: 24px 0;
}

.modal-content {
    background: #fff;
    max-width: 760px;
    margin: 20px auto;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.modal-1300 {
    max-width: 1240px;
}

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

.close-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #718096;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.12s ease, color 0.12s ease;
    line-height: 1;
    padding: 0;
}

.close-btn:hover {
    background: #e81123 !important;
    color: #ffffff !important;
}

.win-close-btn {
    margin-left: 8px;
    border: 1px solid #cbd5e0;
    background: #fff;
}

.invoice-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-section {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
}

.section-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.info-preview {
    font-size: 13.5px;
    color: var(--text-muted);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 8px;
    min-height: 48px;
}

.ares-inline-box {
    background: #fff;
    border: 1px dashed #3182ce;
    border-radius: 6px;
    padding: 12px;
    margin-top: 8px;
}

.ares-search-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

/* Tabulka položek ve faktuře */
.items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.items-table th {
    background: #edf2f7;
    padding: 8px 10px;
    font-size: 13.5px;
    text-align: left;
    border: 1px solid var(--border);
}

.items-table td {
    padding: 6px 8px;
    border: 1px solid var(--border);
}

.invoice-summary-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 24px;
}

.qr-preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    background: #f1f5f9;
    border: 1px dashed #cbd5e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
}

.qr-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.totals-box {
    min-width: 280px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 15px;
    color: #4a5568;
}

.total-grand {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    border-top: 2px solid #2d3748;
    padding-top: 10px;
    margin-top: 6px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

/* ==================================================== */
/* TISKOVÝ VZOR ČESKÉ FAKTURY                          */
/* ==================================================== */
.modal-print {
    max-width: 900px;
    padding: 30px;
    background: #fff;
}

.print-actions-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.printable-invoice {
    background: #fff;
    color: #000;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.invoice-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 32px;
    font-weight: 900;
    color: rgba(220, 38, 38, 0.15);
    border: 4px dashed rgba(220, 38, 38, 0.25);
    padding: 24px 36px;
    border-radius: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    pointer-events: none;
    z-index: 5;
    user-select: none;
    white-space: nowrap;
}

.invoice-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 24px;
}

.invoice-box {
    border: 1px solid #000;
    padding: 14px 18px;
    border-radius: 4px;
}

.invoice-box h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
}

.invoice-meta-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.invoice-meta-table td {
    padding: 5px 8px;
    font-size: 13.5px;
}

.invoice-meta-table td.label {
    font-weight: 600;
    width: 180px;
}

.print-items-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.print-items-table th {
    border-top: 1.5px solid #000;
    border-bottom: 1.5px solid #000;
    padding: 8px 10px;
    text-align: left;
    font-size: 13px;
}

.print-items-table td {
    border-bottom: 1px solid #e5e5e5;
    padding: 8px 10px;
    font-size: 13px;
}

.invoice-footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 24px;
}

.qr-code-print {
    width: 130px;
    height: 130px;
}

.print-totals {
    text-align: right;
    font-size: 14px;
}

.print-totals .grand-total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 8px;
    border-top: 2px solid #000;
    padding-top: 8px;
}

/* GDPR Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: #1a202c;
    color: #edf2f7;
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #2d3748;
}

.cookie-text {
    font-size: 13.5px;
    line-height: 1.5;
}

.cookie-text strong {
    color: #63b3ed;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ==================================================== */
/* CENÍK A TARIFY (PRICING)                             */
/* ==================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 20px;
}

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

.pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card-vip {
    border: 2px solid #6366f1;
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 30%);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.vip-ribbon {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.pricing-header {
    text-align: center;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.tier-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #1a202c;
    margin-bottom: 12px;
}

.tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.price-val {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -1px;
}

.price-period {
    font-size: 14px;
    font-weight: 600;
    color: #718096;
}

.tier-desc {
    font-size: 13.5px;
    color: #718096;
    margin-top: 10px;
    margin-bottom: 0;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.tier-features li {
    font-size: 14px;
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3748;
}

.feat-icon {
    font-weight: 800;
    font-size: 14px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feat-icon.check {
    background: #dcfce7;
    color: #16a34a;
}

.feat-icon.cross {
    background: #fee2e2;
    color: #dc2626;
}

.retention-box {
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.45;
    margin-top: 15px;
}

.retention-warning {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #742a2a;
}

.retention-vip {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.retention-title {
    font-weight: 800;
    margin-bottom: 4px;
    font-size: 13px;
}

.tier-footer {
    margin-top: 20px;
}

/* Drop zone pro import faktur */
.drop-zone {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: #6366f1;
    background: #eef2ff;
}

/* ============================================== */
/* UŽIVATELSKÝ PROFIL & TARIFY & GUEST ZOBRAZENÍ  */
/* ============================================== */
.user-profile-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 4px 12px 4px 6px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.user-profile-badge-btn:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.15);
}

.user-display-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
}

/* Badges pro tarify */
.badge-tariff {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 9999px;
    line-height: 1;
}

.badge-vip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

.badge-standard {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.25);
}

.badge-free {
    background: #64748b;
    color: #ffffff;
}

/* Karta tarifu v profilovém modalu */
.profile-tariff-card {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.profile-retention-box {
    margin-top: 12px;
    font-size: 13px;
    color: #334155;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    line-height: 1.5;
}

/* Windows Close Cross Button */
.win-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.win-close-btn:hover {
    background: #e11d48 !important;
    color: #ffffff !important;
}

/* Guest Hero Card */
.guest-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 30px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    text-align: center;
}

.guest-card-hero {
    max-width: 750px;
    margin: 0 auto;
}

.guest-hero-badge {
    display: inline-block;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 15px;
}

.guest-card-hero h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.guest-hero-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 25px 0;
}

.guest-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.guest-features-strip {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.guest-feat-item {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

/* OAuth Google Sign-in Divider */
.oauth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0 14px 0;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}
.oauth-divider::before,
.oauth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}
.oauth-divider span {
    padding: 0 12px;
    text-transform: lowercase;
}
.google-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
    min-height: 44px;
}

/* Tisk do PDF */
@media print {
    body {
        background: #fff;
    }
    .navbar, .no-print, .close-btn, .modal-header {
        display: none !important;
    }
    .modal {
        position: static;
        background: none;
        padding: 0;
    }
    .modal-content {
        box-shadow: none;
        padding: 0;
        margin: 0;
        max-width: 100%;
    }
    .printable-invoice {
        padding: 0;
    }
}
