:root {
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --card-selected-border: #3b82f6;
    --card-selected-glow: rgba(59, 130, 246, 0.2);
    --success-color: #4ade80;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.glow-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
    top: 10%;
    left: 10%;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: border-color 0.25s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, background-color 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(30, 41, 59, 0.85);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.stat-card:active {
    transform: translateY(-1px) scale(0.98);
}

.stat-card.selected {
    border-color: var(--card-selected-border) !important;
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 1px var(--card-selected-border), 0 10px 25px var(--card-selected-glow);
}

/* Sémantické styly prvků uvnitř karty bez nutnosti inline stylů */
.stat-card .item-name {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: bold;
    transition: color 0.25s ease;
}

.stat-card.selected .item-name {
    color: var(--accent-color);
}

.stat-card .item-price {
    display: block;
    font-size: 1.4rem;
    color: #fff;
    margin-top: 5px;
}

.stat-card .item-detail {
    margin-top: 5px;
    font-size: 0.8rem;
    display: block;
    color: #94a3b8;
}

.select-indicator {
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.25s ease;
}

.stat-card:hover .select-indicator {
    color: #fff;
}

.stat-card.selected .select-indicator {
    color: var(--success-color);
}

.form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-card .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    padding: 14px 16px;
    color: #fff;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

button {
    width: 100%;
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    margin-top: 10px;
}

button:hover {
    background: var(--accent-hover);
}

button:active {
    transform: scale(0.98);
}

#responseMessage {
    margin-top: 15px;
    font-size: 0.95rem;
    text-align: center;
    min-height: 24px;
    font-weight: 500;
}

.loading-shimmer {
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}


/* ==========================================================================
   ✨ TIMELESS MODERN FOOTER STYLES (Patička pro SaaS ekosystém)
   ========================================================================== */

/* Hlavní kontejner patičky */
.site-footer {
    margin-top: 60px;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;                   /* Větší rozestup mezi položkami pro vzdušnost */
    padding: 24px 20px;          /* Vnitřní prostor patičky */
    background: rgba(30, 41, 59, 0.3); /* Ultra jemný skleněný podklad */
    border-top: 1px solid rgba(255, 255, 255, 0.04); /* Subtilní oddělovací linka */
    border-radius: 16px;         /* Zaoblení hran pro moderní look */
    backdrop-filter: blur(8px);  /* Rozostření pozadí za patičkou */
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

/* Responzivní chování na mobilech */
@media (max-width: 768px) {
    .site-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        margin-top: 40px;
        padding: 20px;
    }
}

/* Jednotlivé položky (Telefon a E-mail) */
.footer-item {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-muted);    /* Výchozí tlumená barva pro ikony a text */
    display: flex;
    align-items: center;
    gap: 8px;                    /* Mezera mezi ikonou a samotným textem */
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Odkazy uvnitř položek (Klíčová oprava čitelnosti) */
.footer-item a {
    color: var(--text-main);     /* Jasná bílá/krémová barva pro dokonalou čitelnost */
    text-decoration: none;       /* Odstranění ošklivého podtržení */
    position: relative;          /* Příprava pro animovanou linku */
    padding: 2px 0;
    transition: color 0.25s ease;
}

/* 🔥 Nadčasový Hover efekt: Linka, která se plynule rozbalí od středu */
.footer-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;                 /* Extrémně tenká, decentní linka */
    bottom: 0;
    left: 0;
    background-color: var(--accent-color); /* Rozsvícení do vaší akcentní modré */
    transform-origin: bottom center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Aktivace hover stavů */
.footer-item:hover {
    transform: translateY(-1px); /* Jemné mikro-vysunutí celého prvku vzhůru */
}

.footer-item:hover a {
    color: #fff;                 /* Absolutní rozsvícení textu při najetí */
}

.footer-item:hover a::after {
    transform: scaleX(1);        /* Plynulé rozbalení linky pod textem */
}

/* Vizuální úprava ikon v JavaScriptu (emoji), aby měly decentní odlesk */
.footer-item {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}






.item-image-container {
    width: 100%;
    max-width: 400px;    /* 🔥 Maximální šířka, kterou obrázek na kartě může zabrat */
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    border-radius: 8px;   
    margin-bottom: 14px;  
    background: rgba(15, 23, 42, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-left: auto;   /* Vycentrování kontejneru v kartě, pokud je karta širší */
    margin-right: auto;
}



/* Samotný obrázek s inteligentním ořezem bez deformace */
.item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* Přizpůsobí se výřezu, neroztáhne se */
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Plynulý SaaS přechod */
}

/* Interaktivní vrstva: Jemný zoom efekt obrázku při hoveru na celou kartu */
.stat-card:hover .item-img {
    transform: scale(1.04);
}

/* ==========================================================================
   🛠️ AUTOMATION ENGINE 1.5 & CMS ADMIN ISOLATION STYLES
   ========================================================================== */

/* Nadřazený kontejner pro správu karet kurzů v administraci */
.course-block {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 25px;
    position: relative;
}

/* Řádek ovládacích prvků: Drží tlačítka a stavový text v jedné elegantní lajně */
.upload-controls-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin-top: 8px;
}

/* Ochranný zámek: Zaručí, že nativní systémové tlačítko 'Browse' zmizí z povrchu zemského */
.upload-controls-row input[type="file"][hidden] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* Omezení pro malá tlačítka uvnitř karet kurzů (Import, Smazat, Odebrat) */
.course-block button.btn-secondary,
.course-block .c-delete-img-btn,
.course-block .c-upload-btn {
    width: auto !important; /* 🔥 Zruší obří 100% šířku z globálního CSS */
    display: inline-block !important;
    padding: 10px 18px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    margin-top: 0 !important; /* Odstraní vertikální posun */
    white-space: nowrap !important;
}

/* Specifická vizuální úprava pro odebírací tlačítko celého kurzu */
.course-block .btn-delete-course {
    width: auto !important;
    background: rgba(248, 113, 113, 0.1) !important;
    color: #f87171 !important;
    border: 1px solid rgba(248, 113, 113, 0.2) !important;
    padding: 10px 18px !important;
    font-size: 0.875rem !important;
    margin-top: 15px !important;
    transition: all 0.2s ease;
}

.course-block .btn-delete-course:hover {
    background: rgba(248, 113, 113, 0.2) !important;
}

/* Vzhled textového pole s vygenerovanou URL adresou pod tlačítky */
.course-block input.c-img-url {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-muted) !important;
    font-family: monospace !important;
    font-size: 0.815rem !important;
    cursor: not-allowed !important;
}

/* ==========================================================================
   ADMIN CMS: MANAGEMENT OF COURSE IMAGES
   ========================================================================== */

/* Ohraničená sekce správy médií uvnitř karty */
.img-upload-group {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Flexbox řada, která drží ovládací prvky vedle sebe */
.upload-controls-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 6px;
}

/* 🔥 ABSOLUTNÍ ZNEVIDITELNĚNÍ NATIVNÍHO INPUTU: 
   Odstraní 'Browse' nápis všude bez ohledu na adblockery a prohlížeče */
.upload-controls-row .c-file-input {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    opacity: 0 !important;
}

/* Stylování pro textový input s vygenerovanou URL cestou */
.img-upload-group input.c-img-url {
    background: rgba(15, 23, 42, 0.3) !important;
    color: #94a3b8 !important;
    font-size: 0.815rem !important;
    margin-top: 8px;
    width: 100%;
    pointer-events: none;
}

/* Úprava malých tlačítek v kartě, aby se neroztahovala na 100% šířku */
.upload-controls-row .c-upload-btn,
.upload-controls-row .c-delete-img-btn {
    width: auto !important;
    display: inline-block;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
}

/* Červený nádech pro tlačítko smazat obrázek */
.upload-controls-row .c-delete-img-btn {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.upload-controls-row .c-delete-img-btn:hover {
    background: rgba(248, 113, 113, 0.25);
}

/* Pomocný stavový text */
.upload-controls-row .c-upload-status {
    color: #64748b;
    font-size: 0.815rem;
}

/* ==========================================================================
   🤖 CLIENT FRONTEND: GLOBAL AI CHAT INTERFACE
   ========================================================================== */
/* ==========================================================================
   🤖 PREMIUM AI CHAT ECOSYSTEM (DARK CYBER GLASS STYLE)
   ========================================================================== */

#ai-chat-widget {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 360px;
    height: 480px;
    background: rgba(15, 23, 42, 0.75) !important; /* Temný hluboký základ */
    border: 1px solid rgba(59, 130, 246, 0.15) !important; /* Jemný neonový AI ráfek */
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.03);
    z-index: 999999 !important;
    overflow: hidden;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ZAVŘENÝ STAV: Luxusní pulzující AI krystal v rohu */
#ai-chat-widget.chat-widget-closed {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    background: rgba(30, 41, 59, 0.9) !important;
    cursor: pointer;
}

#ai-chat-widget.chat-widget-closed #chat-body { display: none !important; }
#ai-chat-widget.chat-widget-closed .chat-title { display: none !important; }

/* Horní lišta: Elegantní indigový podkres */
#chat-header {
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: linear-gradient(90deg, rgba(29, 78, 216, 0.15) 0%, rgba(0, 0, 0, 0) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    cursor: pointer;
    user-select: none;
    height: 60px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#chat-header * { pointer-events: none !important; }
.chat-icon { font-size: 1.3rem; filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5)); }

/* Titulek chatu: Čistý, jasný a nekompromisní font */
.chat-title { 
    font-size: 0.85rem !important; 
    font-weight: 700 !important; 
    color: #fff !important; 
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tělo konverzace */
#chat-body {
    height: 420px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box !important;
}

#chat-logs {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Větší vzdušnost mezi zprávami */
}

/* --- ČISTÁ TYPOGRAFIE BUBILN --- */
.msg {
    padding: 12px 16px !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important; /* Mírně větší pro dokonalé čtení */
    line-height: 1.5 !important;
    max-width: 82% !important;
    word-wrap: break-word;
    box-sizing: border-box !important;
}

/* 🤖 AI OPERÁTOR: Temný grafit, ultra jasné písmo, indigová boční linka */
.msg-ai {
    background: rgba(30, 41, 59, 0.5) !important;
    color: #f8fafc !important; /* Maximálně jasný text */
    align-self: flex-start !important;
    border-left: 3px solid #3b82f6 !important; /* Profesionální kotva identity prodejce */
    border-top-left-radius: 4px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 👤 ZÁKAZNÍK: Hluboká safírová modř, čistě bílý text */
.msg-user {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important; /* Luxusní tmavě modrý přechod */
    color: #ffffff !important;
    font-weight: 500 !important;
    align-self: flex-end !important;
    border-top-right-radius: 4px !important;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
}

/* Spodní řádek: Dokonalá izolace */
.chat-input-area {
    display: flex !important;
    padding: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    gap: 10px !important;
    background: rgba(15, 23, 42, 0.4) !important;
    box-sizing: border-box !important;
}

#chat-user-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
    padding: 12px 16px !important;
    color: #fff !important;
    font-size: 0.875rem !important;
    border-radius: 10px !important;
    height: 40px !important;
    transition: all 0.2s ease;
}

#chat-user-input:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

/* Šipka odeslat: Čistý čtvercový modul se zářením */
#chat-send-btn {
    width: 40px !important;
    height: 40px !important;
    background: #1d4ed8 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    margin-top: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
}

#chat-send-btn:hover {
    background: #2563eb !important;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4) !important;
}

/* Mobilní režim: Vyplnění celé plochy pro maximální pohodlí z prstu */
@media (max-width: 480px) {
    #ai-chat-widget:not(.chat-widget-closed) {
        right: 0 !important; 
        bottom: 0 !important; 
        width: 100% !important; 
        height: 100% !important; 
        border-radius: 0 !important;
    }
    #chat-body { height: calc(100% - 60px) !important; }
}





##ai-chat-widget {
#    position: fixed !important;
#    bottom: 20px !important;
#    right: 20px !important;
#    width: 360px;
#    height: 450px;
#    background: rgba(30, 41, 59, 0.75) !important;
#    border: 1px solid rgba(255, 255, 255, 0.08) !important;
#    backdrop-filter: blur(20px);
#    -webkit-backdrop-filter: blur(20px);
#    border-radius: 16px;
#    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
#    z-index: 999999 !important;
#    overflow: hidden;
#    box-sizing: border-box !important;
#    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
#}
#
#/* ZAVŘENÝ STAV: Smrští okno do malé bubliny */
##ai-chat-widget.chat-widget-closed {
#    width: 60px !important;
#    height: 60px !important;
#    border-radius: 50% !important;
#    cursor: pointer;
#}
#
##ai-chat-widget.chat-widget-closed #chat-body {
#    display: none !important;
#}
#
##ai-chat-widget.chat-widget-closed .chat-title {
#    display: none !important;
#}
#
##chat-header {
#    padding: 0 18px !important;
#    display: flex !important;
#    align-items: center !important;
#    gap: 12px !important;
#    background: rgba(59, 130, 246, 0.1);
#    cursor: pointer;
#    user-select: none;
#    height: 60px !important;
#    width: 100% !important;
#    box-sizing: border-box !important;
#}
#
#/* OCHRANA PROTI PROKLIKU IKON */
##chat-header * {
#    pointer-events: none !important;
#}
#
#/* ZKROCENÍ TLAČÍTKA PROTI GLOBÁLNÍMU CSS */
##chat-send-btn {
#    width: 42px !important;
#    height: 36px !important;
#    background: #2563eb !important;
#    border: none !important;
#    color: #fff !important;
#    border-radius: 8px !important;
#    cursor: pointer !important;
#    margin-top: 0 !important;
#    padding: 0 !important;
#    display: flex !important;
#    align-items: center !important;
#    justify-content: center !important;
#    font-weight: bold !important;
#}
#
#/* 🤖 BUBILNA PRODEJCE (AI Asistent) - Zarovnaná vlevo */
#.msg-ai {
#    background: rgba(255, 255, 255, 0.07) !important; /* Tmavší skleněný odstín */
#    color: #f8fafc !important;                        /* Jasný čitelný text */
#    align-self: flex-start !important;
#    border-bottom-left-radius: 4px !important;
#    border: 1px solid rgba(255, 255, 255, 0.05) !important; /* Jemný odlesk hran */
#    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
#}
#
#/* 👤 BUBLINA KLIENTA (Zákazník) - Zarovnaná vpravo */
#.msg-user {
#    background: #2563eb !important;                   /* Sytá akcentní modrá */
#    color: #ffffff !important;                        /* Bílá pro maximální kontrast */
#    align-self: flex-end !important;
#    border-bottom-right-radius: 4px !important;
#    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);     /* Jemná modrá záře pod zprávou */
#}


/* ---------------------------------------------------------------------
   UNIVERZAL FORM RESEGREGATED STYLES & CALENDAR EXTENSIONS
   --------------------------------------------------------------------- */

/* Required asterisk spacing indicator */
.required-star {
    color: #f87171;
    margin-left: 2px;
}

/* Redefined read-only selected item field state rules */
.readonly-item-input {
    background: rgba(15, 23, 42, 0.3) !important;
    color: #3b82f6 !important;
    font-weight: 600;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Isolated textarea metrics refactored from inline markers */
.universal-textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    padding: 14px 16px;
    color: #fff;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    resize: none;
    font-family: inherit;
}
.universal-textarea:focus {
    border-color: #3b82f6;
    outline: none;
}

/* Strict honeypot anti-spam field protection rule mapping */
.honeypot-field {
    display: none !important;
}

/* New responsive layout wrappers for live calendar elements */
.reservation-container {
    display: none; /* Controlled dynamically via active JS action_mode switches */
    margin: 15px 0;
    padding: 18px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.reservation-title {
    font-size: 1.1rem;
    color: #3b82f6;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

/* Custom dropdown resets styling match standard glass inputs */
.reservation-container select {
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--glass-border);
    padding: 12px 14px;
    color: #fff;
    font-size: 0.95rem;
    border-radius: 8px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.reservation-container select:focus {
    border-color: #3b82f6;
    outline: none;
}
.reservation-container select:disabled {
    background: rgba(30, 41, 59, 0.4);
    color: #64748b;
    border-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
}

/* ---------------------------------------------------------------------
   DYNAMIC ACTION SELECTOR TABS (GLASS DESIGN)
   --------------------------------------------------------------------- */
.action-selector-container {
    margin: 15px 0;
}

.action-tabs {
    display: flex;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    padding: 4px;
    border-radius: 10px;
    gap: 4px;
    margin-top: 5px;
}

.tab-btn {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none !important;
    margin: 0 !important;
}

.tab-btn:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Aktivní stav přepínače v zářící modré */
.tab-btn.active {
    background: #3b82f6 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

