/* VIZUÁLNÍ STYL PRO E-SHOP MIBA INOX (Plně responzivní design pro mobily, tablety i PC) */

:root {
    --primary-color: #1a252f;
    --accent-color: #0056b3;
    --accent-hover: #004494;
    --bg-light: #f4f6f8;
    --border-color: #dcdcdc;
    --text-dark: #222222;
    --text-muted: #666666;
    --card-bg: #ffffff;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HORNÍ LIŠTA */
.site-header {
    background-color: #2c3e50;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.top-bar {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.85em;
    padding: 6px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* HLAVNÍ HLAVIČKA */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 15px;
    gap: 15px;
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    display: block;
}

.logo-container img {
    max-height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-search {
    flex: 1;
    max-width: 480px;
    margin: 0 15px;
}

.header-search input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95em;
    outline: none;
    transition: border-color 0.2s;
}

.header-search input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.15);
}

.cart-widget-btn {
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.1s ease;
    user-select: none;
}

.cart-widget-btn:hover {
    background-color: var(--accent-hover);
}

.cart-widget-btn:active {
    transform: scale(0.98);
}

/* HLAVNÍ NAVIGACE */
.main-nav {
    background-color: var(--primary-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

.nav-item {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.92em;
    display: inline-block;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

.nav-item:hover, .nav-item.active {
    background-color: var(--accent-color);
}

/* MAIN CONTENT */
.main-content {
    margin-top: 25px;
    margin-bottom: 50px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* HERO BANNER */
.hero-banner {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: #ffffff;
    padding: 35px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
}

.hero-banner h1 {
    font-size: 1.9em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-banner p {
    font-size: 1.05em;
    color: #ecf0f1;
}

.section-title {
    font-size: 1.4em;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
}

/* KATALOG PRODUKTŮ GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 180px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-code {
    font-size: 0.75em;
    color: var(--text-muted);
    font-weight: bold;
    text-transform: uppercase;
}

.product-title {
    font-size: 1.08em;
    margin: 6px 0;
    color: var(--primary-color);
    line-height: 1.35;
}

.product-desc {
    font-size: 0.88em;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    gap: 10px;
}

.product-price {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--accent-color);
}

.product-price small {
    font-size: 0.75em;
    font-weight: normal;
    color: var(--text-muted);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.95em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

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

.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.95em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-danger {
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}

.btn-danger:hover {
    background-color: #bd2130;
}

/* POKLADNA */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 25px;
    margin-top: 20px;
}

.checkout-form-box, .checkout-summary-box {
    background: #ffffff;
    padding: 22px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.checkout-form-box h3, .checkout-summary-box h3 {
    margin-bottom: 18px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    font-size: 1.15em;
    color: var(--primary-color);
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.shipping-card {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.shipping-card:hover {
    border-color: var(--accent-color);
    background-color: #f8fbfe;
}

.shipping-card input {
    margin-right: 12px;
    transform: scale(1.15);
}

.shipping-info {
    flex-grow: 1;
}

.shipping-info strong {
    display: block;
    font-size: 0.92em;
}

.shipping-info span {
    font-size: 0.82em;
    color: var(--text-muted);
}

.shipping-price {
    font-weight: bold;
    font-size: 1em;
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88em;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95em;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.legal-notice-box {
    background-color: #fff9e6;
    border: 1px solid #ffeba8;
    padding: 12px;
    border-radius: 6px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.legal-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88em;
    font-weight: 600;
    color: #856404;
    cursor: pointer;
    line-height: 1.4;
}

.legal-checkbox-label input {
    margin-top: 2px;
    transform: scale(1.15);
}

.btn-submit-order {
    font-size: 1.05em;
    padding: 13px;
    background-color: #28a745;
    width: 100%;
    border-radius: 6px;
}

.btn-submit-order:hover {
    background-color: #218838;
}

/* SOUHRN POKLADNY */
.summary-totals {
    margin-top: 20px;
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.total-line {
    font-size: 1.25em;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.due-note {
    font-size: 0.85em;
    color: #d9534f;
    margin-top: 12px;
    background: #fdf7f7;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #d9534f;
}

/* KLIENTSKÁ ZÓNA A ADMIN DASHBOARD */
.client-dashboard {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    margin-top: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.tab-btn {
    padding: 9px 16px;
    background-color: #f1f3f5;
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88em;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.tab-btn.active {
    background-color: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 2px 6px rgba(0,86,179,0.3);
}

.dash-tab-content {
    display: none;
    padding-top: 10px;
}

.dash-tab-content.active {
    display: block;
}

.dash-tab-content h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
}

.dash-tab-content form {
    margin-top: 15px;
    margin-bottom: 20px;
}

/* RESPONZIVNÍ TABULKY */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.data-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    margin: 0;
    background: #ffffff;
}

.data-table th, .data-table td {
    border: 1px solid #e9ecef;
    padding: 10px 12px;
    text-align: left;
    font-size: 0.9em;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--primary-color);
}

/* MODAL OKNA */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 15px;
    overflow-y: auto;
}

.modal-body {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.8em;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.auth-switch-links {
    margin-top: 15px;
    font-size: 0.9em;
    text-align: center;
}

/* COOKIE BANNER (GDPR / EU COMPLIANT) */
.cookie-banner-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a252f;
    color: #ffffff;
    padding: 16px 0;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
    z-index: 8888;
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    gap: 20px;
}

.cookie-text strong {
    display: block;
    font-size: 1.05em;
    margin-bottom: 4px;
    color: #f39c12;
}

.cookie-text p {
    margin: 0;
    color: #dcdde1;
    font-size: 0.88em;
    line-height: 1.4;
}

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

.btn-cookie-essential {
    padding: 8px 16px;
    background: #34495e;
    color: #ffffff;
    border: 1px solid #7f8c8d;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-cookie-essential:hover {
    background: #4b6584;
}

.btn-cookie-all {
    padding: 8px 18px;
    background: #27ae60;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-cookie-all:hover {
    background: #219653;
}

.footer-content {
    text-align: center;
    padding: 25px 0;
    font-size: 0.85em;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

.terms-text-box, .contact-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    margin-top: 15px;
    line-height: 1.7;
}

.terms-text-box h3, .contact-card h3 {
    margin-top: 15px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.terms-text-box h3:first-child {
    margin-top: 0;
}

/* ========================================================= */
/* === DETAILNÍ MEDIA QUERIES PRO MOBILY A TABLETY ======= */
/* ========================================================= */

/* Tablety a menší laptopy (do 900px) */
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-header {
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin: 10px 0 0 0;
    }
}

/* Mobily (do 600px) */
@media (max-width: 600px) {
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.8em;
    }

    .top-bar .contact-info {
        flex-direction: column;
        gap: 4px;
    }

    .top-bar .user-nav {
        align-self: flex-end;
        margin-top: -18px;
    }

    .main-header {
        padding: 12px 10px;
    }

    .logo-container img {
        max-height: 50px;
    }

    .cart-widget-btn {
        padding: 8px 12px;
        font-size: 0.85em;
    }

    .main-nav {
        padding: 4px 0;
    }

    .nav-links {
        gap: 4px;
        padding-bottom: 4px;
    }

    .nav-item {
        padding: 8px 10px;
        font-size: 0.82em;
    }

    .hero-banner {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .hero-banner h1 {
        font-size: 1.4em;
    }

    .hero-banner p {
        font-size: 0.9em;
    }

    .section-title {
        font-size: 1.25em;
        margin-bottom: 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    .product-image {
        height: 160px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-form-box, .checkout-summary-box, .client-dashboard, .terms-text-box, .contact-card {
        padding: 15px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-header button {
        width: 100%;
        margin-top: 5px;
    }

    .dashboard-tabs {
        gap: 6px;
    }

    .tab-btn {
        flex: 1 1 calc(50% - 6px);
        text-align: center;
        padding: 8px 10px;
        font-size: 0.8em;
    }

    .modal-body {
        padding: 18px 14px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .btn-accept-cookies {
        width: 100%;
        margin-top: 8px;
    }

    .data-table {
        min-width: 480px;
    }
    .data-table th, .data-table td {
        padding: 8px 10px;
        font-size: 0.85em;
    }
}

/* ANIMACE KOŠÍKU */
@keyframes cartPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.15); background-color: #27ae60; }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.cart-widget-btn.cart-pulse {
    animation: cartPulse 0.45s ease-in-out;
}

/* TOAST NOTIFIKACE */
.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #1a252f;
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95em;
    pointer-events: auto;
    animation: toastSlideIn 0.3s ease-out forwards;
    border-left: 5px solid #27ae60;
    max-width: 420px;
}

.toast.toast-fadeout {
    animation: toastFadeOut 0.3s ease-in forwards;
}

.toast-action-btn {
    background: #27ae60;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85em;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s;
}

.toast-action-btn:hover {
    background: #219150;
}

@keyframes toastSlideIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes toastFadeOut {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(100%); opacity: 0; }
}

/* === DOSTUPNOST PRODUKTŮ (BADGES) === */
.badge-stock {
    display: inline-flex;
    align-items: center;
    font-size: 0.78em;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.badge-in-stock {
    background-color: #e8f8f0;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.badge-custom {
    background-color: #fdf3e7;
    color: #b76e00;
    border: 1px solid #ffeeba;
}

/* === SKELETON LOADING (CLS OPTIMALIZACE) === */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-box {
    background: linear-gradient(90deg, #f0f0f0 25%, #e2e2e2 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-img {
    height: 180px;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 6px;
}

/* === ARES VYHLEDÁVÁNÍ & VALIDACE FORMULÁŘE === */
.ares-input-group {
    display: flex;
    gap: 8px;
}

.ares-input-group input {
    flex: 1;
}

.btn-ares {
    background: #495057;
    color: #ffffff;
    border: none;
    padding: 0 14px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-ares:hover {
    background: #343a40;
}

.btn-ares:disabled {
    background: #adb5bd;
    cursor: not-allowed;
}

.input-invalid {
    border-color: #dc3545 !important;
    background-color: #fff8f8;
}

.input-valid {
    border-color: #28a745 !important;
}

/* === DĚKOVACÍ OBRAZOVKA (THANK-YOU SCREEN) === */
.order-success-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 35px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    max-width: 900px;
    margin: 20px auto;
}

.success-icon-badge {
    width: 64px;
    height: 64px;
    background: #27ae60;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.35);
}

.order-success-card h2 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 1.8em;
}

.success-subtitle {
    color: #555;
    font-size: 1.05em;
    margin-bottom: 25px;
}

.success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    text-align: left;
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

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

.qr-payment-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.qr-payment-box h3 {
    margin-top: 0;
    font-size: 1.15em;
    color: var(--primary-color);
}

.qr-code-display {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.payment-details-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.payment-details-box h3 {
    margin-top: 0;
    font-size: 1.15em;
    color: var(--primary-color);
}

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

.payment-summary-table tr td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95em;
}

.payment-summary-table tr:last-child td {
    border-bottom: none;
}

.payment-summary-table td:first-child {
    color: #666;
    width: 45%;
}

.text-highlight {
    color: #0056b3;
    font-size: 1.25em;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* === SPINNER PRO TLAČÍTKA === */
.spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
