/* --- RESET & ZÁKLAD --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    min-height: 100vh;
    background: url('/static/background.webp') no-repeat center top fixed;
    background-size: cover;
    font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d223a;
}

/* --- HLAVIČKA --- */
.header {
    text-align: center;
    padding: 48px 0 18px 0;
    font-family: 'Cinzel Decorative', cursive;
    position: relative;
}
.header .logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: inline-block;
}
.header .logo-link:hover {
    color: #fff;
}
.header h1 {
    font-size: 2.8em;
    color: #fff;
    letter-spacing: 0.03em;
    margin-bottom: 0.05em;
    text-shadow: 0 2px 16px #fff, 0 1px 0 #fff2, 0 4px 24px rgba(91,63,165,0.18);
}



/* --- JAZYK SWITCHER --- */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: auto;
    min-width: fit-content;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.lang-btn.active::after {
    content: '▼';
    margin-left: 4px;
    font-size: 0.7em;
}

/* Odstrániť duplicitný .language-switcher */

.lang-btn:not(.active) {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: #2d223a;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    min-width: fit-content;
}

.lang-btn:not(.active).show {
    display: block;
}

/* --- KONTAJNER & OBSAH --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    min-height: fit-content;
}
.content {
    padding: 40px 40px 20px 40px;
    min-height: fit-content;
    background: transparent;
}

/* Chat stránka (/chat) – bez bieleho pozadia kontajnera */
.chat-page .chat-page-container {
    background: transparent;
    box-shadow: none;
}

/* --- NUMERROOM CHAT --- */
.numerroom-chat {
    background: linear-gradient(135deg, #4b2673 0%, #6a4c93 100%);
    color: #fff;
    border-radius: 18px;
    margin-bottom: 22px;
    font-weight: 600;
    font-size: 1.08em;
    box-shadow: 0 4px 20px rgba(91,63,165,0.15);
    max-width: 680px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid #fff;
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.chat-avatar {
    font-size: 2em;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.chat-info {
    flex: 1;
}

.chat-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.chat-subtitle {
    font-size: 0.9em;
    color: #ede6ff;
    opacity: 0.8;
}

.chat-status {
    font-size: 0.85em;
    color: #4ade80;
    font-weight: 600;
}

.chat-status.online {
    color: #4ade80;
}

.chat-messages {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px 24px;
}

.message {
    display: flex;
    margin-bottom: 16px;
    animation: fadeInUp 0.3s ease-out;
}

.message.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    font-size: 1.5em;
    margin: 0 8px;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    max-width: 80%;
}

.message.user-message .message-content {
    text-align: right;
}

.message-text {
    background: rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.5;
    word-wrap: break-word;
}

.message.user-message .message-text {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.message.bot-message .message-text {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.message-time {
    font-size: 0.75em;
    color: #ede6ff;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}

.message.user-message .message-time {
    text-align: left;
}

.chat-input-container {
    padding: 20px 24px;
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 4px;
    margin-bottom: 12px;
}

#chat-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: #fff;
    font-size: 1em;
    outline: none;
}

#chat-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.chat-send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Diagnostický teaser widget - vlastné triedy (nie chat-*) */
.diagnostic-teaser-widget {
    background: linear-gradient(135deg, #4b2673 0%, #6a4c93 100%);
    color: #fff;
    border-radius: 18px;
    margin: 30px auto 22px auto;
    font-weight: 600;
    font-size: 1.08em;
    box-shadow: 0 4px 20px rgba(91,63,165,0.15);
    max-width: 680px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid #fff;
    overflow: hidden;
}

.diagnostic-teaser-header {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.diagnostic-teaser-avatar {
    font-size: 2em;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.diagnostic-teaser-info {
    flex: 1;
}

.diagnostic-teaser-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.diagnostic-teaser-subtitle {
    font-size: 0.9em;
    color: #ede6ff;
    opacity: 0.8;
}

.diagnostic-teaser-credits {
    color: #4CAF50;
    font-weight: 600;
    font-size: 0.9em;
    margin-top: 5px;
}

.diagnostic-content {
    padding: 20px 24px;
    color: white;
    line-height: 1.7;
    font-size: 1.05em;
}

.diagnostic-content .insight {
    font-size: 1.15em;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
}

.diagnostic-content .questions {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.diagnostic-content .questions li {
    margin: 16px 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid rgba(102, 126, 234, 0.8);
    border-radius: 8px;
    font-size: 1em;
    color: #fff;
    transition: all 0.3s ease;
}

.diagnostic-content .questions li:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: rgba(102, 126, 234, 1);
    transform: translateX(4px);
}

.diagnostic-content .closing {
    margin-top: 24px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05em;
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.diagnostic-cta {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 24px;
}

.suggestion-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.suggestion-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- INFOBOX --- */
.infobox {
    background: #4b2673;
    color: #fff;
    border-radius: 18px;
    padding: 18px 24px;
    margin-bottom: 22px;
    font-weight: 600;
    font-size: 1.08em;
    box-shadow: 0 2px 12px rgba(91,63,165,0.10);
    max-width: 680px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid #fff;
}
.infobox-title {
    color: #ede6ff;
    font-size: 1.13em;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.infobox ul, .infobox li {
    color: #fff;
    font-size: 1em;
    list-style: disc inside;
}

/* Overenie emailu v infoboxe (po registrácii) – fialové pozadie, biely text, zvyšok stránky skrytý */
.infobox.verification-view {
    max-width: 520px;
    padding: 28px 28px 32px;
}
.infobox.verification-view .infobox-title {
    text-align: center;
    margin-bottom: 12px;
    font-size: 1.25em;
}
.infobox.verification-view .verification-icon {
    font-size: 3em;
    text-align: center;
    margin: 8px 0 16px;
}
.infobox.verification-view .verification-text,
.infobox.verification-view .email-address,
.infobox.verification-view .verification-note {
    color: #fff;
    margin: 8px 0;
    font-size: 1.05em;
}
.infobox.verification-view .email-address {
    font-weight: 700;
    word-break: break-all;
    color: #e0d5ff;
}
.infobox.verification-view .verification-steps {
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    text-align: left;
}
.infobox.verification-view .verification-steps h3 {
    color: #fff;
    margin: 0 0 12px;
    font-size: 1.05em;
    text-align: center;
}
.infobox.verification-view .verification-steps ol {
    color: #fff;
    padding-left: 22px;
    margin: 0;
}
.infobox.verification-view .verification-steps li {
    margin: 6px 0;
    list-style: decimal;
}
.infobox.verification-view .verification-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 22px 0 16px;
}
.infobox.verification-view .btn-verification-primary,
.infobox.verification-view .btn-verification-secondary {
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.infobox.verification-view .btn-verification-primary {
    background: #fff;
    color: #4b2673;
    border: 2px solid #fff;
}
.infobox.verification-view .btn-verification-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.infobox.verification-view .btn-verification-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.8);
}
.infobox.verification-view .btn-verification-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}
.infobox.verification-view .verification-note {
    font-size: 0.95em;
    opacity: 0.9;
    margin-top: 8px;
}

/* Samostatný blok pre overenie emailu po registrácii – jediný na stránke, fialový ako infobox */
.infobox_email_verify {
    max-width: 520px;
    padding: 28px 28px 32px;
}
.infobox_email_verify .infobox-title {
    color: #ede6ff;
    text-align: center;
    margin-bottom: 12px;
    font-size: 1.25em;
}
.infobox_email_verify .verification-icon {
    font-size: 3em;
    text-align: center;
    margin: 8px 0 16px;
}
.infobox_email_verify .verification-text,
.infobox_email_verify .email-address,
.infobox_email_verify .verification-note {
    color: #fff;
    margin: 8px 0;
    font-size: 1.05em;
}
.infobox_email_verify .email-address {
    font-weight: 700;
    word-break: break-all;
    color: #e0d5ff;
}
.infobox_email_verify .verification-steps {
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    text-align: left;
}
.infobox_email_verify .verification-steps h3 {
    color: #fff;
    margin: 0 0 12px;
    font-size: 1.05em;
    text-align: center;
}
.infobox_email_verify .verification-steps ol {
    color: #fff;
    padding-left: 22px;
    margin: 0;
}
.infobox_email_verify .verification-steps li {
    margin: 6px 0;
    list-style: decimal;
}
.infobox_email_verify .verification-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 22px 0 16px;
}
.infobox_email_verify .btn-verification-primary,
.infobox_email_verify .btn-verification-secondary {
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.infobox_email_verify .btn-verification-primary {
    background: #fff;
    color: #4b2673;
    border: 2px solid #fff;
}
.infobox_email_verify .btn-verification-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.infobox_email_verify .btn-verification-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.8);
}
.infobox_email_verify .btn-verification-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}
.infobox_email_verify .verification-note {
    font-size: 0.95em;
    opacity: 0.9;
    margin-top: 8px;
}

#intro-text {
    margin-top: 40px;
    margin-bottom: 0;
}

/* --- FORMULÁR --- */
.form-section {
    margin-bottom: 20px;
}
.form-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
    padding-bottom: 10px;
    text-align: center;
}

/* Štýly pre prázdny formulár - nadpis a text */
.empty-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.empty-form-title {
    font-size: 2.2em;
    color: #2d223a;
    margin-bottom: 16px;
    font-weight: 700;
    font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.empty-form-description {
    font-size: 1.1em;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.error {
    display: none !important;
}
.error:not(:empty) {
    display: block !important;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    font-size: 1em;
}
.form-group input {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    color: #2d223a;
}
.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input[readonly] {
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}


.form-group input[type="date"] { cursor: pointer; }

.form-group select {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    color: #2d223a;
    background: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group select:hover {
    border-color: #667eea;
}
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80%;
    margin: 20px auto 0 auto;
    display: block;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.ebook-features {
    margin: 20px 0;
    text-align: left;
}

.ebook-features h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.ebook-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ebook-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
}

.ebook-features li:last-child {
    border-bottom: none;
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.validation-message {
    color: #dc3545;
    font-size: 0.95em;
    margin-top: 4px;
    min-height: 18px;
    padding: 8px 12px;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    margin-bottom: 16px;
    display: none;
}

.validation-message.error {
    display: block;
    color: #d32f2f;
    background-color: #ffebee;
    border-color: #ffcdd2;
}

.validation-message.warning {
    display: block;
    color: #f57c00;
    background-color: #fff3e0;
    border-color: #ffcc02;
}

.validation-message.info {
    display: block;
    color: #1976d2;
    background-color: #e3f2fd;
    border-color: #bbdefb;
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 110000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    padding: 0;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 10px 30px;
    border-bottom: 1px solid #eee;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #2d223a;
    font-size: 1.5em;
    text-align: center;
    flex: 1;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #666;
}

.modal-body {
    padding: 20px 30px;
    background: #ffffff;
}

.modal-buttons {
    padding: 10px 30px 30px 30px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
}

.modal-content h3:not(.modal-header h3) {
    margin: 0 0 16px 0;
    color: #2d223a;
    font-size: 1.5em;
    text-align: center;
}

.modal-content p {
    margin: 0 0 24px 0;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.chat-features {
    margin: 20px 0;
    text-align: left;
}

.chat-features h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.chat-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
}

.chat-features li:last-child {
    border-bottom: none;
}

.chat-status.unlimited {
    color: #4CAF50;
    font-weight: bold;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: #f8f9fa;
    color: #2d223a;
    border: 2px solid #e9ecef;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Špeciálne štýly pre tlačidlá v bannere */
.banner-resend-btn {
    border: 2px solid #fff !important;
}

.banner-login-btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #999;
    padding: 4px;
    border-radius: 4px;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #666;
}

/* Payment Modal */
.payment-modal {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Širší modal na mobiloch – aby sa zmestili 3 karty balíkov chatu */
@media (max-width: 640px) {
    .payment-modal {
        max-width: 96%;
        width: 96%;
    }
    .payment-modal .modal-content {
        max-width: 100%;
    }
    .payment-modal .payment-options[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .payment-modal .payment-options[style*="repeat(3"] .payment-option {
        padding: 10px 6px !important;
    }
    .payment-modal .payment-options[style*="repeat(3"] .payment-option h4 {
        font-size: 0.9em !important;
    }
    .payment-modal .payment-options[style*="repeat(3"] .payment-option p {
        font-size: 0.8em !important;
    }
}

.payment-modal .modal-header {
    flex-shrink: 0;
    padding: 20px 20px 0 20px;
}

.payment-modal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.payment-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.payment-option:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

/* Kompaktný štýl pre balíky profilov - 2x2 grid */
.payment-modal .payment-options[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.payment-modal .payment-options[style*="grid-template-columns: repeat(2"] .payment-option {
    padding: 14px !important;
    min-height: auto !important;
}

.payment-modal .payment-options[style*="grid-template-columns: repeat(2"] .payment-option h4 {
    font-size: 1em !important;
    margin-bottom: 6px !important;
}

.payment-modal .payment-options[style*="grid-template-columns: repeat(2"] .payment-option p {
    font-size: 0.85em !important;
    margin-bottom: 8px !important;
}

/* Kompaktný štýl pre balíky chatu - aby sa zmestili na jednu obrazovku */
.payment-modal .payment-options[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
}

.payment-modal .payment-options[style*="grid-template-columns: repeat(3"] .payment-option {
    padding: 12px !important;
    min-height: auto !important;
}

.payment-modal .payment-options[style*="grid-template-columns: repeat(3"] .payment-option h4 {
    font-size: 1em !important;
    margin-bottom: 6px !important;
}

.payment-modal .payment-options[style*="grid-template-columns: repeat(3"] .payment-option p {
    font-size: 0.85em !important;
    margin-bottom: 8px !important;
}

/* Vizuálne zvýraznenie vybraného balíka */
.payment-option[style*="border-color: #667eea"] {
    border-color: #667eea !important;
    border-width: 3px !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2) !important;
}

.payment-option.featured {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fff9e6 0%, #fff5cc 100%);
}

.payment-option.premium {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%);
}

/* Špecifické farby pre balíky profilov */
.payment-option.profile-extra {
    border-color: #27ae60;
    background: linear-gradient(135deg, #e8f8f0 0%, #d4edda 100%);
}

.payment-option.profile-pack-3 {
    border-color: #667eea;
    background: linear-gradient(135deg, #e8ebff 0%, #d4d9ff 100%);
}

.payment-option.profile-pack-5 {
    border-color: #f39c12;
    background: linear-gradient(135deg, #fff9e6 0%, #fff5cc 100%);
}

.payment-option h4 {
    margin: 0 0 8px 0;
    color: #2d223a;
    font-size: 1.2em;
    font-weight: 700;
}

.payment-option p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffd700;
    color: #2d223a;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 700;
}

.payment-option.premium .badge {
    background: #ff6b6b;
    color: white;
}

.price {
    font-size: 1.5em;
    font-weight: 700;
    color: #667eea;
    text-align: center;
    margin-top: 16px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Nové štýly pre price container s zľavami */
.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
}

.original-price {
    font-size: 1.1em;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.sale-price {
    font-size: 1.8em;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 4px;
}

.discount-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Countdown timer štýly */
#countdown-timer {
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.payment-features {
    margin-top: 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.payment-features h4 {
    margin: 0 0 16px 0;
    color: #2d223a;
    font-size: 1.2em;
    font-weight: 700;
}

.payment-features ul {
    margin: 0;
    padding-left: 20px;
}

.payment-features li {
    margin: 8px 0;
    color: #666;
    line-height: 1.5;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    color: #2d223a;
    font-size: 1.5em;
    font-weight: 700;
}

.modal-body {
    color: #666;
    line-height: 1.6;
}

.modal-body p {
    margin: 0 0 24px 0;
    text-align: center;
    font-size: 1.1em;
}
.input-error {
    border-color: #dc3545 !important;
    background: #fff0f3;
}

.form-group select.input-error {
    border-color: #dc3545 !important;
    background: #fff0f3;
}
.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- SLIDER --- */
.slider-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    margin: 10px auto 30px auto;
    max-width: 700px;
    text-align: center;
}
.slider-h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.1em;
    color: #fff;
    font-weight: 700;
    margin: 0 0 0.18em 0;
    opacity: 0;
    transition: opacity 0.7s;
    text-shadow: 0 2px 16px #fff, 0 1px 0 #fff2, 0 4px 24px rgba(91,63,165,0.18), 0 0 20px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.4);
    text-align: center;
}
.slider-subtitle {
    font-family: 'EB Garamond', serif;
    font-size: 1.50em;
    color: #fff;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.7s;
    text-shadow: 0 3px 18px #fff, 0 1px 0 #fff2, 0 2px 8px #000a, 0 0 16px rgba(0,0,0,0.6), 0 0 24px rgba(0,0,0,0.4);
    margin: 0;
    text-align: center;
}
.slider-h2, .slider-subtitle {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slider-h2.visible, .slider-subtitle.visible { 
    opacity: 1; 
}

/* --- VÝSLEDKY & BLOKY --- */
.result {
    margin-top: 36px;
    padding: 32px 28px;
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(102,126,234,0.07);
    line-height: 1.7;
    font-size: 1.13em;
    color: #2d223a;
}
.result > div {
    margin-bottom: 36px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.04);
    border-radius: 14px;
}
.section-title {
    font-size: 1.7em;
    color: #4b2673;
    font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    margin: 0 0 18px 0;
    text-align: center;
    letter-spacing: 0.01em;
}

/* --- BLOKY VÝKLADOV --- */
.interpretation-block {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.06);
}
.interpretation-block-header {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px 16px 0 0;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.interpretation-block-title {
    background: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 1.13em;
    font-weight: 600;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.interpretation-unlock-trigger {
    cursor: pointer;
    user-select: none;
}
.area-description {
    color: #444;
    font-size: 1.02em;
    margin-bottom: 10px;
    font-style: italic;
    margin-top: 2px;
    line-height: 1.6;
}
.calculation-string {
    margin-bottom: 16px;
    color: #444;
    font-size: 1.02em;
    font-style: italic;
}
.collapsible {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.13em;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.18s;
    padding: 0 0 0 2px;
}
.collapsible:hover {
    background: none;
    box-shadow: none;
}
.collapse-label:hover {
    color: #fff;
}
.collapse-icon {
    display: flex;
    align-items: center;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1);
    margin-left: 6px;
    font-size: 1.1em;
}
.collapsible.open .collapse-icon { transform: rotate(180deg); }
.collapse-label {
    margin-left: 4px;
    font-size: 0.98em;
    color: #e4e1e1;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.collapsible-content {
    margin-top: 8px;
    margin-bottom: 8px;
    line-height: 1.7;
    font-size: 1.08em;
    padding-left: 24px;
    padding-right: 24px;
}
.interpretation-block .area-description,
.interpretation-block .collapsible-content {
    padding: 24px;
}

/* Blur overlay pre zamknuté výklady */
.interpretation-block.interpretation-locked .collapsible-content.content-locked {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

/* Blur na všetkom okrem overlay - silný blur aby zakryl obsah, bez bielej vrstvy */
.interpretation-block.interpretation-locked .collapsible-content.content-locked > *:not(.interpretation-blur-overlay) {
    filter: blur(10px);
    opacity: 0.7;
    pointer-events: none;
    user-select: none;
    position: relative;
    z-index: 1;
}

.interpretation-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 0 0 12px 12px;
    pointer-events: auto;
}

.blur-overlay-content {
    text-align: center;
    padding: 40px 30px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.blur-overlay-icon {
    font-size: 4em;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.blur-overlay-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #2d223a;
    margin-bottom: 12px;
    font-family: 'Quicksand', sans-serif;
}

.blur-overlay-text {
    font-size: 1.05em;
    color: #4a4a4a;
    margin-bottom: 30px;
    line-height: 1.6;
}

.blur-overlay-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.blur-overlay-cta .btn {
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    z-index: 101;
}

.blur-overlay-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.blur-overlay-content {
    position: relative;
    z-index: 101;
}

/* --- UNIFIED INTERPRETATION STYLES (podobné AI súhrnu) --- */
.interpretation-block h5 {
    margin: 20px 0 8px 0;
    font-size: 1.1em;
    color: #4b2673;
    font-weight: 700;
    border-bottom: 2px solid #ede6ff;
    padding-bottom: 4px;
}

.interpretation-block h5:first-child {
    margin-top: 0;
}

.interpretation-block p {
    margin: 12px 0;
    line-height: 1.6;
    color: #2d223a;
}

.interpretation-block ul {
    margin: 12px 0;
    padding-left: 20px;
}

.interpretation-block li {
    margin: 8px 0;
    line-height: 1.6;
    color: #2d223a;
}

/* --- INTERPRETATION BLOCK COLORS (podľa čakier) --- */
.interpretation-block-life-path {
    border-left: 5px solid #d32f2f !important; /* Muladhara - tmavočervená */
}

.interpretation-block-soul {
    border-left: 5px solid #f57c00 !important; /* Svadhisthana - tmavooranžová */
}

.interpretation-block-expression {
    border-left: 5px solid #fbc02d !important; /* Manipura - zlatá */
}

.interpretation-block-grid {
    border-left: 5px solid #3f51b5 !important; /* Ajna - indigová */
}

.interpretation-block-birthday {
    border-left: 5px solid #388e3c !important; /* Anahata - tmavozelená */
}

.interpretation-block-dominant {
    border-left: 5px solid #0097a7 !important; /* Vishuddha - tyrkysová */
}

.interpretation-block-personal-year {
    border-left: 5px solid #7b1fa2 !important; /* Sahasrara - fialová */
}

.interpretation-block-karmic-lessons {
    border-left: 5px solid #757575 !important; /* Bindu - sivá (namiesto bielej) */
}

.interpretation-block-karmic-debt {
    border-left: 5px solid #ff8f00 !important; /* Transpersonálna - oranžová */
}

/* --- GRID & AI SUMMARY --- */
.grid-block, .planes-block, .grid-numbers-block, .plane-block {
    border-radius: 14px;
    overflow: hidden;
    background: none;
    margin-bottom: 24px;
}
.grid-title {
    margin: 16px 0 12px 0;
    font-size: 1.18em;
    color: #4b2673;
    font-weight: 700;
}
.grid-table {
    margin: 0 auto 18px auto;
    border-collapse: collapse;
    font-size: 1.18em;
}
.grid-table td {
    padding: 10px 18px;
    border: 1px solid #bda6e6;
    text-align: center;
    border-radius: 8px;
    background: #fff;
}
.grid-table td.zero {
    background: #fbe9e7;
    color: #b71c1c;
    font-weight: 700;
}
.grid-table td.strong {
    background: #e0f7fa;
    color: #006064;
    font-weight: 700;
}
.grid-legend {
    font-size: 0.98em;
    color: #4b2673;
    margin-bottom: 8px;
}
.grid-number-block, .plane-block {
    margin-bottom: 16px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    border-left: 3px solid #4b2673;
}
.grid-number-title, .plane-title {
    color: #4b2673;
    font-weight: 600;
}
.plane-description, .plane-ai-analysis {
    margin-top: 10px;
    margin-bottom: 10px;
}
.plane-ai-analysis {
    background: #ede6ff;
    border-radius: 6px;
    padding: 12px;
}

/* --- AI SUMMARY --- */
.ai-summary-title {
    color: #fff;
    text-shadow: 0 1px 6px #222;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 1.4em;
    margin: 0 0 10px 0;
}
/* Banner štýly - majú fialové pozadie */
.profile-card[style*="text-align: center"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.3);
    margin-top: 32px;
    padding: 24px;
    color: #fff !important;
    width: 100%;
    max-width: none;
}

/* CSS triedy pre bannery */
.login-banner-profile-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.3);
    margin-top: 32px;
    padding: 30px;
    color: #fff !important;
    width: 100%;
    max-width: none;
    text-align: center;
}

.login-banner-profile-card h4 {
    color: #fff !important;
    margin-bottom: 15px;
}

.login-banner-profile-card p {
    color: #fff !important;
    margin-bottom: 20px;
}

/* Odsadenie pre bannery */
.login-banner-profile-card .banner-list {
    text-align: center;
    margin: 25px 0;
}

.login-banner-profile-card .banner-list-item {
    margin-bottom: 2px;
}

/* Services badges pre profile widget */
.services-badges {
    margin-top: 8px;
    font-size: 0.85em;
    color: #667eea;
    font-weight: 500;
}

.login-banner-profile-card strong {
    color: #fff !important;
}

/* CSS trieda pre kartu s numerologickými číslami */
.results-number-profile-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.3);
    margin: 20px 0;
    padding: 20px;
    text-align: center;
}

.results-number-profile-card h4 {
    color: #fff !important;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

/* CSS trieda pre numerologické čísla s tmavofialovým textom */
.number-card-white {
    background: white !important;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
    color: #667eea !important;
}

.number-card-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.number-card-white strong {
    color: #667eea !important;
}

.number-card-white span {
    color: #667eea !important;
}

/* Všeobecné profile card štýly */
.profile-card {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.3);
    margin-top: 32px;
    padding: 24px;
    color: #fff;
    width: 100%;
    max-width: none;
}

/* Špecifické pravidlo pre AI súhrn - má vyššiu špecifickosť */
.profile-card:has(.ai-summary-title) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
}
.profile-card .ai-summary-subtitle {
    font-size: 1.02em;
    margin-bottom: 18px;
    color: #fff;
    opacity: 0.92;
    text-align: center;
}
.profile-card .ai-summary-content {
    line-height: 1.7;
    font-size: 1.05em;
    color: #fff;
    background: transparent;
    padding: 0;
    border-radius: 6px;
    text-shadow: 0 1px 6px #222;
}

/* --- AI SUMMARY CONTENT STYLES --- */
.ai-summary-content h6 {
    margin: 20px 0 8px 0;
    font-size: 1.1em;
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid #ede6ff;
    padding-bottom: 4px;
    text-shadow: 0 1px 6px #222;
}

.ai-summary-content h6:first-child {
    margin-top: 0;
    text-shadow: 0 1px 6px #222;
}

.ai-summary-content p {
    margin: 12px 0;
    line-height: 1.6;
    color: #ffffff !important;
    text-shadow: 0 1px 6px #222;
}

/* Špecifické štýly pre rôzne typy nadpisov v AI súhrne */
.ai-summary-content h6.profile-summary {
    color: #ffffff;
    text-shadow: 0 1px 6px #222;
}

.ai-summary-content h6.conflict-analysis {
    color: #ffffff;
    text-shadow: 0 1px 6px #222;
}

.ai-summary-content h6.personal-challenge {
    color: #ffffff;
    text-shadow: 0 1px 6px #222;
}

.ai-summary-content h6.year-development {
    color: #ffffff;
    text-shadow: 0 1px 6px #222;
}

.ai-summary-content h6.grid-analysis {
    color: #ffffff;
    text-shadow: 0 1px 6px #222;
}

/* --- GRID AI SUMMARY STYLES --- */
.grid-ai-summary {
    margin-top: 24px;
}

.grid-ai-title {
    font-size: 1.13em;
    margin-bottom: 10px;
}

.grid-ai-container {
    padding: 16px;
    background: linear-gradient(135deg, #4b2673 0%, #ede6ff 100%);
    border-radius: 8px;
    border-left: 4px solid #4b2673;
    margin-bottom: 8px;
}

.grid-ai-content {
    line-height: 1.7;
    font-size: 1.05em;
    color: #333;
    background: white;
    padding: 16px;
    border-radius: 6px;
}

/* --- GRID AI CONTENT STYLES --- */
.grid-ai-content h6 {
    margin: 20px 0 8px 0;
    font-size: 1.1em;
    color: #4b2673;
    font-weight: 700;
    border-bottom: 2px solid #ede6ff;
    padding-bottom: 4px;
}

.grid-ai-content h6:first-child {
    margin-top: 0;
}

.grid-ai-content p {
    margin: 12px 0;
    line-height: 1.6;
}

/* Špecifické štýly pre rôzne typy nadpisov v grid AI súhrne */
.grid-ai-content h6.profile-summary {
    color: #4b2673;
}

.grid-ai-content h6.conflict-analysis {
    color: #4b2673;
}

.grid-ai-content h6.personal-challenge {
    color: #4b2673;
}

.grid-ai-content h6.year-development {
    color: #4b2673;
}

.grid-ai-content h6.grid-analysis {
    color: #4b2673;
}

/* --- PDF EXPORT --- */
.pdf-export-section {
    text-align: center;
    margin: 40px 0 20px 0;
    padding: 20px;
    display: flex;
    gap: 16px;
}

/* Štýly pre chat sekciu */
.chat-section-title {
    text-align: center;
    color: #2d223a;
    font-size: 1.5em;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chat-section-description {
    text-align: center;
    color: #444;
    font-size: 1em;
    margin-bottom: 24px;
    line-height: 1.5;
    justify-content: center;
    flex-wrap: wrap;
}

.pdf-export-btn, .ebook-export-btn {
    background: linear-gradient(135deg, #4b2673 0%, #6a4c93 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(75, 38, 115, 0.3);
    font-family: 'Quicksand', sans-serif;
    min-width: 200px;
}

.pdf-export-btn:hover, .ebook-export-btn:hover {
    background: linear-gradient(135deg, #5a2f8a 0%, #7a5ba3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(75, 38, 115, 0.4);
}

.pdf-export-btn:disabled, .ebook-export-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pdf-export-btn:disabled:hover, .ebook-export-btn:disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

/* Špecifické štýly pre ebook tlačidlo */
.ebook-export-btn {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.ebook-export-btn:hover {
    background: linear-gradient(135deg, #3a6bb8 0%, #5a8bd8 100%);
    box-shadow: 0 6px 16px rgba(44, 90, 160, 0.4);
}


/* Consent sekcia bližšie k email sekcii */
.consent-section {
    margin-top: -8px;
}

/* --- RESPONSIVITA --- */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .header { padding: 20px; }
    .content { padding: 20px; }
    .header h1 { font-size: 2em; }
    
    /* Language switcher na mobile */
    .language-switcher {
        top: 15px;
        right: 15px;
    }
    
    .lang-btn {
        font-size: 0.8em;
        padding: 6px 10px;
    }
    
    /* Email sekcia na mobile - plná šírka */
    .form-grid[style*="max-width: 50%"] {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Consent sekcia na mobile */
    .consent-section {
        margin-top: -8px;
    }
    
    /* Select elementy na mobile */
    .form-group select {
        font-size: 16px; /* Prevencia zoom na iOS */
        padding: 12px 16px;
    }
}

/* --- CHECKBOX STYLES --- */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 2px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #4b2673;
}

.checkbox-label {
    font-size: 0.85em !important;
    color: #666 !important;
    line-height: 1.3 !important;
    cursor: pointer;
    margin: 0;
    user-select: none;
    font-weight: normal !important;
}

/* Responsive checkbox */
@media (max-width: 768px) {
    .checkbox-wrapper {
        gap: 8px;
    }
    
    .checkbox-label {
        font-size: 0.85em;
    }
}

/* --- HEADER LAYOUT --- */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    height: 40px;
    position: relative;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
}

.header-btn,
.header-btn-language,
.header-btn-login {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-btn:hover,
.header-btn-language:hover,
.header-btn-login:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.auth-section,
.user-section {
    position: relative;
}

.auth-controls {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 40px;
}

.auth-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.auth-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.register-btn {
    background: rgba(255, 255, 255, 0.1);
}

.user-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.9em;
}

.logout-btn {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.3);
}

.logout-btn:hover {
    background: rgba(255, 0, 0, 0.3);
}

/* --- MODÁLY --- */
.modal {
    position: fixed;
    z-index: 110000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #2d223a;
    text-align: center;
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content label {
    display: block;
    margin-bottom: 5px;
    color: #2d223a;
    font-weight: 500;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.modal-content input:focus,
.modal-content select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.modal-content .submit-btn {
    width: 100%;
    margin-top: 10px;
}

.modal-content a {
    color: #667eea;
    text-decoration: none;
}

.modal-content a:hover {
    text-decoration: underline;
}

/* Email verification page */
.email-verification-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.verification-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.verification-container h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2em;
}

.verification-icon {
    font-size: 4em;
    margin: 20px 0;
}

.verification-container p {
    color: #fff;
    margin: 10px 0;
    font-size: 1.1em;
}

.email-address {
    font-weight: bold;
    color: #4CAF50;
    font-size: 1.2em;
}

.verification-steps {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.verification-steps h3 {
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

.verification-steps ol {
    color: #fff;
    padding-left: 20px;
}

.verification-steps li {
    margin: 10px 0;
    line-height: 1.5;
}

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

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-white {
    background: white !important;
    color: #4a3c6b !important;
    border: 2px solid #667eea !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.btn-white:hover {
    background: #f8f9ff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Duplicitná definícia odstránená - používa sa definícia z riadku 618 */

.verification-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.verification-note p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        padding: 15px;
        height: 35px;
    }
    
    .header-left, .header-right {
        display: flex;
        align-items: center;
    }
    
    .header-right {
        gap: 6px;
    }
    
    .language-switcher {
        height: 35px;
        display: flex;
        align-items: center;
    }
    
    .auth-controls {
        height: 35px;
        display: flex;
        align-items: center;
    }
    
    /* Mobile specific adjustments */
    .language-btn, .user-btn {
        min-width: 40px;
        padding: 4px 8px;
        font-size: 10px;
        height: 30px;
        flex-shrink: 0;
    }
    
    .dropdown-menu {
        min-width: 160px;
        right: -10px;
    }
    
    .modal-content {
        margin: 20px;
        padding: 20px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .header-top {
        padding: 10px;
        height: 30px;
    }
    
    .header-right {
        gap: 4px;
    }
    
    .language-switcher, .auth-controls {
        height: 30px;
    }
    
    .language-btn, .user-btn {
        min-width: 35px;
        padding: 3px 6px;
        font-size: 9px;
        height: 26px;
    }
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}


.user-icon {
    font-size: 16px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown-menu.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Samostatná trieda pre login dropdown - úplne oddelená */
.login-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-dropdown.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'EB Garamond', serif;
    white-space: nowrap;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(2px);
}

/* Samostatná trieda pre login dropdown odkazy */
.login-dropdown a {
    display: block;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'EB Garamond', serif;
    white-space: nowrap;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-dropdown a:last-child {
    border-bottom: none;
}

.login-dropdown a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(2px);
}

/* Language switcher container */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 40px;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}


/* --- USER PROFILE PAGE --- */
.user-profile-page {
    padding: 20px;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
}

.profile-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.profile-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.profile-status, .profile-member {
    margin: 5px 0;
    opacity: 0.9;
}

.profile-sections {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-section {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-section h4 {
    margin-bottom: 20px;
    color: #667eea;
    font-size: 1.3em;
}

.profiles-list {
    display: grid;
    gap: 15px;
}

.profile-card.user-profile-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.profile-card.user-profile-card .profile-card-header h5 {
    margin: 0;
    color: #2d223a;
}

.profile-date {
    font-size: 0.9em;
    color: #666;
}

.profile-card.user-profile-card .profile-card-details p {
    margin: 8px 0;
    color: #555;
}

.profile-card-actions {
    margin-top: 15px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9em;
}

.no-profiles {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.settings-options {
    display: grid;
    gap: 15px;
}

.profile-actions {
    text-align: center;
}

/* --- MEMBERSHIP MODAL --- */
.membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.plan-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
}

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

.plan-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.plan-card h4 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.plan-price {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #667eea;
}

.plan-card.featured .plan-price {
    color: white;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.plan-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.plan-card.featured li {
    border-bottom-color: rgba(255,255,255,0.2);
}

/* --- PRICING TABLE --- */
.pricing-comparison {
    margin: 20px 0;
}

.pricing-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pricing-header {
    display: grid;
    grid-template-columns: 1fr repeat(4, 1fr);
    background: #667eea;
    color: white;
}

.plan-name {
    padding: 20px;
    text-align: center;
    font-weight: bold;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.plan-name.featured {
    background: #764ba2;
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr repeat(4, 1fr);
    border-bottom: 1px solid #e0e0e0;
}

.pricing-row:last-child {
    border-bottom: none;
}

.feature {
    padding: 15px 20px;
    background: #f8f9fa;
    font-weight: 500;
    border-right: 1px solid #e0e0e0;
}

.plan-value {
    padding: 15px 20px;
    text-align: center;
    border-right: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-row {
    background: #f8f9fa;
    font-weight: bold;
}

.price-row .feature {
    background: #e9ecef;
}

/* --- RESPONZIVITA PRE NOVÉ KOMPONENTY --- */
@media (max-width: 768px) {
    .profile-info {
        flex-direction: column;
        text-align: center;
    }
    
    .membership-plans {
        grid-template-columns: 1fr;
    }
    
    .pricing-header {
        grid-template-columns: 1fr;
    }
    
    .pricing-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-row .feature {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .pricing-row .plan-value {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .pricing-row .plan-value:last-child {
        border-bottom: none;
    }
}

/* --- ANIMÁCIE A VYLEPŠENIA --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Animácie pre loading stavy */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Smooth transitions pre všetky interaktívne elementy */
.btn, .form-group input, .form-group select, .form-group textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover efekty pre karty */
.profile-card, .plan-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Loading animácie */
.spinner {
    animation: spin 1s linear infinite;
}

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

/* Progress bar animácia */
.progress-bar {
    animation: progress 2s ease-in-out;
}

@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* Fade in animácia pre nové obsahy */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-slow {
    animation: fadeIn 1s ease-out;
}

/* Pulse animácia pre dôležité elementy */
.pulse {
    animation: pulse 2s infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus stavy pre accessibility */
.btn:focus, .form-group input:focus, .form-group select:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Hover efekty pre tlačidlá */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(0);
}

/* Loading stav pre formuláre */
.form-loading {
    opacity: 0.6;
    pointer-events: none;
}

.form-loading .btn {
    background: #ccc;
    cursor: not-allowed;
}

/* Success a error animácie */
.success-message {
    animation: fadeInUp 0.5s ease-out;
}

.error-message {
    animation: fadeInUp 0.5s ease-out;
}

/* Modal animácie */
.modal-overlay {
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    /* animation: fadeInUp 0.4s ease-out; - ODSTRÁNENÉ */
}

/* Card hover efekty */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive animácie */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Number cards for basic profile display */
.number-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
}

.number-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Marketing modal styles */
.modal-content ul {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.modal-content li {
    margin: 8px 0;
    padding-left: 5px;
}

/* Locked profile marketing styles */
.profile-card h4 {
    background: linear-gradient(135deg, #4b2673, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* Pre widget banner - biely text a farebné emoji */
.profile-card[style*="text-align: center"] h4 {
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Špecifická trieda pre welcome title vo widgete */
.profile-welcome-title {
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.3em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.profile-welcome-title::before {
    content: '🎉';
    display: inline-block;
    margin-right: 8px;
    font-style: normal;
    filter: none;
}

/* ===== DASHBOARD STYLES ===== */

.dashboard-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
}

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

.logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.8;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dashboard-main {
    padding: 2rem 0;
}

.dashboard-header-section {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.dashboard-header-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.stat-content p {
    margin: 0;
    opacity: 0.8;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dashboard-section h2 {
    color: #4b2673;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-profile-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.dashboard-profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-profile-card.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.profile-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.profile-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.profile-badge.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.profile-badge.inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.profile-info {
    margin-bottom: 1rem;
}

.profile-info p {
    margin: 0.5rem 0;
    font-size: 0.875rem;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #4b2673;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #667eea;
}

.product-description {
    margin-bottom: 1.5rem;
}

.product-description p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: #4b2673;
}

.empty-state p {
    margin: 0 0 1.5rem 0;
}

.dashboard-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

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

/* Profile Widget Styles */
.profile-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.profile-widget h3 {
    margin: 0 0 15px 0;
    color: #ffffff;
    font-size: 1.3em;
    text-align: center;
}

.profile-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.profile-widget-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    min-width: 140px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-widget-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.profile-widget-card.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f6ff 0%, #ede6ff 100%);
}

.profile-widget-card.available {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border-color: #4caf50;
}

.profile-widget-card h4 {
    margin: 0 0 8px 0;
    color: #2d223a;
    font-size: 1em;
    font-weight: 600;
}

.profile-widget-card p {
    margin: 0;
    color: #666;
    font-size: 0.85em;
}

.profile-widget-card .badge {
    display: inline-block !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    margin-top: 5px;
    opacity: 1 !important;
    visibility: visible !important;
}

.profile-widget-card.available .badge {
    background: #4caf50;
}

.profile-widget-card.available h4 {
    color: #2e7d32;
}

.profile-widget-card.available p {
    color: #4caf50;
    font-weight: 500;
}

/* Form UX Styles */
.show-form-btn-container {
    text-align: center;
    margin-bottom: 20px;
}

.new-profile-btn-container {
    text-align: center;
    margin-top: 15px;
}

.new-profile-btn-container .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.new-profile-btn-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.show-form-btn-container .btn {
    background: rgba(255, 255, 255, 0.1);
    color: #2d223a;
    border: 2px solid rgba(102, 126, 234, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-form-btn-container .btn:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}

/* Read-only blok údajov profilu (Zobraziť údaje profilu) – riadky: názov, pod ním hodnota, center */
.profile-data-readonly-card {
    background: rgba(248, 249, 250, 0.95);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    color: #2d223a;
    text-align: center;
}
.profile-data-readonly-card .profile-data-row {
    margin-bottom: 18px;
}
.profile-data-readonly-card .profile-data-row:last-of-type {
    margin-bottom: 0;
}
.profile-data-readonly-card .profile-data-label {
    display: block;
    font-size: 0.9em;
    color: #555;
    font-weight: 500;
    margin-bottom: 4px;
}
.profile-data-readonly-card .profile-data-value {
    display: block;
    font-size: 1.05em;
    font-weight: 500;
}
.profile-data-readonly-card .profile-data-preview-actions {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

/* --- EBOOK BANNER --- */
.ebook-banner {
    width: 100%;
    margin-top: 40px;
    padding: 0 20px;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-banner:hover {
    transform: translateY(-2px);
}

.ebook-banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.ebook-banner:hover .ebook-banner-image {
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .ebook-banner {
        margin-top: 30px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .ebook-banner {
        padding: 0 10px;
    }
}

/* --- ZJEDNOTENÝ SITE FOOTER (všetky stránky) --- */
#site-footer,
.site-footer,
.privacy-site-footer {
    width: 100%;
    text-align: center;
    padding: 24px 0 18px 0;
    font-size: 1em;
    color: #fff;
    opacity: 0.75;
    letter-spacing: 0.01em;
    font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.site-footer-nav,
.privacy-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5em 1.2em;
    margin-bottom: 1em;
}
.site-footer-nav a,
.privacy-footer-nav a {
    color: #fff;
    opacity: 0.75;
    text-decoration: underline;
    white-space: nowrap;
}
.site-footer-nav a:hover,
.privacy-footer-nav a:hover {
    opacity: 1;
}
.site-footer-copyright,
#footer-copyright {
    display: block;
    margin-top: 0.5em;
}
/* Odstup medzi odkazmi a copyrightom */
#site-footer .site-footer-nav,
.site-footer .site-footer-nav,
.privacy-site-footer .site-footer-nav {
    margin-bottom: 1em;
}
#site-footer .site-footer-copyright,
#site-footer span[id$="footer-copyright"],
.site-footer .site-footer-copyright,
.privacy-site-footer .site-footer-copyright {
    margin-top: 0;
    display: block;
}
