/* Inter local fonts */
@font-face {
    font-family: 'Inter';
    src: url('/static/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/static/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/static/fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/static/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --page-bg-color: #F1F0EB;
    --card-bg-color: #FFFFFF;
    --primary-text-color: #202028;
    --secondary-text-color: #555;
    --primary-color: #DAEC34;
    --accent-color: #DAEC34;
    --accent-color-darker: #c8d42f;
    --border-color: #DAEC34;
    --button-text-color: var(--primary-text-color);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--page-bg-color);
    color: var(--primary-text-color);
    line-height: 1.6;
    font-size: 15px;
    font-weight: 400;  /* Regular weight for body text */
}

.header {
    background-color: var(--page-bg-color);
    color: var(--primary-text-color);
    padding: 15px 0;
    font-family: 'Inter', sans-serif;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    text-decoration: none;
    color: inherit;
}

.logo-container:hover {
    text-decoration: none;
    color: inherit;
}

.icon {
    width: 75px;
    height: auto;
}

.header h1 {
    margin: 0;
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-text-color);
}

.header .app-description {
    font-size: 0.95em;
    margin: 20px auto 0 auto;
    max-width: calc(1000px - 30px);
    width: calc(100% - 30px);
    line-height: 1.5;
    color: var(--primary-text-color);
    opacity: 0.9;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: block;
    clear: both;
}

/* Back link navigation */
.back-link {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-text-color);
    text-decoration: underline;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.app-header {
    text-align: center;
    margin-bottom: 20px;
}

.app-header h1 {
    font-size: 2em;
    font-weight: 600;
    color: var(--primary-text-color);
    margin: 0 0 10px 0;
}

.app-header p {
    color: var(--secondary-text-color);
    font-size: 1.1em;
    margin: 0;
}

.container {
    width: 70%;
    max-width: 1000px;
    margin: 0 auto 30px;
    padding: 30px 35px;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 768px) {
    .header .app-description {
        margin: 20px 15px 0 15px;
    }

    .container {
        width: 100%;
        max-width: none;
        margin: 0 0 30px 0;
        padding: 20px 10px;
        box-sizing: border-box;
        border-radius: 0;
    }
}

h1, h2, h3 {
    font-weight: 600;
}

h2 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.6em;
    color: var(--primary-text-color);
}

h3 {
    font-size: 1.5em;
    color: var(--primary-text-color);
    margin-top: 30px;
}

h4 {
    font-size: 1.4em;
    color: var(--primary-text-color);
    margin-bottom: 10px;
    font-weight: 500;
}

label {
    display: block;
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-text-color);
    font-size: 0.95em;
}

input[type="text"], input[type="number"], textarea, select, input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    font-size: 0.95em;
    font-family: 'Inter', sans-serif;
    background-color: white;
    color: var(--primary-text-color);
}

input[type="text"]:focus, input[type="number"]:focus, textarea:focus, select:focus, input[type="file"]:focus {
    border-color: var(--border-color);
    box-shadow: 0 0 0 0.2rem rgba(218, 236, 52, 0.25);
    outline: none;
}

input[type="file"] {
    padding: 8px 12px;
    cursor: pointer;
}

textarea {
    resize: vertical;
}

button[type="submit"], button[type="button"] {
    background-color: var(--accent-color);
    color: var(--button-text-color);
    padding: 15px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

button[type="submit"]:hover, button[type="button"]:hover {
    background-color: var(--accent-color-darker);
    color: var(--button-text-color);
    transform: translateY(-1px);
}

button[type="submit"]:active, button[type="button"]:active {
    transform: translateY(0px);
}

#load-random-topic-btn {
    background-color: var(--secondary-text-color);
    color: var(--card-bg-color);
}

#load-random-topic-btn:hover {
    background-color: var(--primary-text-color);
    color: var(--card-bg-color);
}

.buttons-container {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.markdown-content {
    background-color: var(--card-bg-color);
    padding: 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.95em;
    line-height: 1.75;
    color: var(--primary-text-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    overflow: hidden;
}

.markdown-content p {
    margin-top: 0;
    margin-bottom: 1em;
    font-weight: 400;  /* Regular weight for paragraphs */
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.markdown-content ul, .markdown-content ol {
    margin-left: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.markdown-content ul {
    list-style-type: disc;
}

.markdown-content ol {
    list-style-type: decimal;
}

.markdown-content li {
    margin-bottom: 0.5em;
    display: list-item;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.6;
}

.markdown-content strong {
    font-weight: 700;
    display: inline;
    margin: 0;
}

.markdown-content ul li strong,
.markdown-content ol li strong {
    display: inline;
    margin: 0;
}

.markdown-content h1, .markdown-content h2, .markdown-content h3, .markdown-content h4, .markdown-content h5, .markdown-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

/* Media analysis specific content styling */
.media-analysis-content {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
}

.media-analysis-content p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    margin-bottom: 1em !important;
}

.media-analysis-content strong {
    display: inline !important;
    margin: 0 !important;
}

.input-summary p {
    margin: 8px 0;
    font-size: 1.0em;
    color: var(--primary-text-color);
    line-height: 1.6;
}

.input-summary strong {
    color: var(--primary-text-color);
    font-weight: 600;
}

#loading-indicator {
    display: none;
    text-align: center;
    padding: 25px;
    font-size: 1.25em;
    color: var(--primary-text-color);
    font-weight: 500;
    background-color: #fff8dc;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    margin: 20px 0;
}

/* Force loading indicator to be visible during form submission */
form.submitting + #loading-indicator {
    display: block !important;
}

#loading-indicator p::before {
    content: "⚙️";
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

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

/* Enhanced Progress Indicator Styles */
#progress-container {
    display: none;
    text-align: center;
    padding: 30px;
    background-color: #fff8dc;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#progress-title {
    font-size: 1.5em;
    font-weight: 400;
    color: var(--primary-text-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#progress-step {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
    min-height: 1.5em;
    font-weight: 400;
    text-align: center;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

#progress-step.active {
    opacity: 1;
    color: var(--primary-text-color);
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin: 15px 0;
    position: relative;
}

#progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-darker));
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease-in-out;
    position: relative;
}

#progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#progress-percent {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-text-color);
    margin: 10px 0;
}

#progress-eta {
    font-size: 0.95em;
    color: #888;
    margin-top: 10px;
}

#progress-error {
    display: none;
    color: #d32f2f;
    font-weight: 500;
    margin-top: 15px;
    padding: 10px;
    background-color: #ffebee;
    border-radius: 6px;
}

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

.progress-header h3 {
    margin: 0;
    color: var(--primary-text-color);
    font-size: 1.3em;
}

.progress-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: var(--secondary-text-color);
}

#progress-percent {
    font-weight: 600;
    color: var(--primary-text-color);
}

.progress-bar-container {
    margin-bottom: 25px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-darker));
    width: 0%;
    border-radius: 4px;
    transition: width 0.5s ease;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.progress-step.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color-darker);
    transform: scale(1.05);
}

.progress-step.completed {
    background-color: #28a745;
    border-color: #1e7e34;
    color: white;
}

.step-icon {
    font-size: 1.5em;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.progress-step.active .step-icon {
    animation: bounce 1s ease-in-out infinite;
}

.progress-step.completed .step-icon {
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.step-label {
    font-size: 0.8em;
    font-weight: 500;
    color: var(--primary-text-color);
    line-height: 1.2;
}

.progress-step.completed .step-label {
    color: white;
}

.current-step-info {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

#current-step-text {
    font-size: 1em;
    font-weight: 500;
    color: var(--primary-text-color);
}

@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .progress-step {
        flex: 1 1 calc(50% - 4px);
        min-width: 100px;
    }
    
    .step-icon {
        font-size: 1.2em;
    }
    
    .step-label {
        font-size: 0.7em;
    }
    
    #progress-container {
        padding: 15px;
    }
}

.persona-interview-item {
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.persona-interview-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    button[type="submit"], button[type="button"] {
        padding: 15px;
    }

    input[type="text"], input[type="number"], textarea {
        padding: 12px;
    }
}

.export-btn {
    background-color: var(--secondary-text-color);
    color: var(--card-bg-color);
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.export-btn:hover {
    background-color: var(--primary-text-color);
    color: var(--card-bg-color);
    transform: translateY(-1px);
}

/* Feedback Pop-up Styles */
.feedback-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.feedback-popup.minimized {
    display: block;
}

.feedback-popup.minimized .feedback-popup-content {
    display: none;
}

.feedback-minimized-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--button-text-color);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 1001;
    display: none;
}

.feedback-minimized-button:hover {
    background-color: var(--accent-color-darker);
    transform: scale(1.1);
}

.feedback-popup.minimized .feedback-minimized-button {
    display: block;
    animation: bounceIn 0.5s ease;
}

.feedback-popup-content {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--card-bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 25px;
    width: 350px;
    max-width: calc(100vw - 40px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: slideInUp 0.4s ease;
    pointer-events: auto;
}

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

.feedback-header h4 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-text-color);
}

.close-popup {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-text-color);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    color: var(--primary-text-color);
}

.rating-section {
    margin-bottom: 20px;
}

.rating-section label {
    margin-bottom: 10px;
    font-weight: 600;
}

.star-rating {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.star {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.star:hover,
.star.active {
    color: #ffd700;
}

.star.hover {
    color: #ffed4e;
}

.feedback-text {
    margin-bottom: 20px;
}

.feedback-text label {
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9em;
}

.feedback-text textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    resize: vertical;
    min-height: 60px;
}

.feedback-text textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(218, 236, 52, 0.25);
    outline: none;
}

.feedback-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cancel-btn, .submit-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cancel-btn {
    background-color: var(--secondary-text-color);
    color: white;
}

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

.submit-btn {
    background-color: var(--accent-color);
    color: var(--button-text-color);
}

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

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

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

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

/* Profile Modal Styles */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    font-family: 'Inter', sans-serif;
}

.profile-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease;
}

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

.profile-modal-header h2 {
    color: var(--primary-text-color);
    margin: 0;
    font-size: 1.4em;
}

.profile-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-text-color);
    padding: 5px;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-close-btn:hover {
    background-color: #f0f0f0;
    color: var(--primary-text-color);
}

.profile-info {
    display: grid;
    gap: 20px;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-field-label {
    font-weight: 500;
    color: var(--secondary-text-color);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-field-value {
    color: var(--primary-text-color);
    font-size: 1.1em;
}

.profile-tier-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
}

.profile-tier-free {
    background-color: #e9ecef;
    color: #495057;
}

.profile-tier-premium {
    background-color: #daec34;
    color: #202028;
}

.profile-tier-ultra {
    background-color: #ff6b35;
    color: white;
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .feedback-popup-content {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
    
    .feedback-minimized-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Tab Navigation Styles */
.tab-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
    padding-bottom: 0;
    max-width: 100%;
}

.tab-button {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-bottom: none;
    color: var(--secondary-text-color);
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    bottom: -2px;
}

.tab-button:hover {
    background-color: var(--accent-color);
    color: var(--button-text-color);
    transform: translateY(-2px);
}

.tab-button.active {
    background-color: var(--accent-color);
    color: var(--button-text-color);
    border-color: var(--accent-color-darker);
    font-weight: 600;
    box-shadow: 0 -2px 8px rgba(218, 236, 52, 0.3);
}

.tab-button.active:hover {
    transform: none;
}

/* Tab Content Styles */
.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

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

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

.persona-content {
    padding: 10px 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.persona-content h3 {
    color: var(--primary-text-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.persona-content h4 {
    color: var(--primary-text-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.persona-content h5 {
    color: var(--secondary-text-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: 600;
}

/* Interactive Tooltips */
.tooltip-container {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    cursor: help;
}

.tooltip-icon {
    color: var(--secondary-text-color);
    font-size: 0.9em;
    user-select: none;
    transition: color 0.2s ease;
}

.tooltip-icon:hover {
    color: var(--primary-text-color);
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    
    background-color: var(--primary-text-color);
    color: var(--card-bg-color);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: normal;
    line-height: 1.4;
    
    width: 280px;
    max-width: 90vw;
    text-align: left;
    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    
    border: 6px solid transparent;
    border-top-color: var(--primary-text-color);
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    animation: tooltipFadeIn 0.3s ease;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Button tooltip adjustments */
button .tooltip-container {
    margin-left: 4px;
    vertical-align: middle;
}

button .tooltip-icon {
    font-size: 0.8em;
}

/* Mobile tooltip adjustments */
@media (max-width: 768px) {
    .tooltip-text {
        width: 260px;
        font-size: 0.8em;
        padding: 10px 14px;
    }
    
    .tooltip-container {
        margin-left: 6px;
    }
    
    button .tooltip-container {
        margin-left: 3px;
    }
}

/* Language and Model Selector Styles */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: calc(1000px - 30px);
    margin: 0 auto 10px;
    padding: 0 15px;
    position: relative;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

/* Auth Status Styling */
.auth-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 15px;
}

.nav-link {
    color: var(--primary-text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
    border: 1px solid transparent;
}

.nav-link:hover {
    background-color: rgba(218, 236, 52, 0.1);
    border-color: var(--accent-color);
}

/* Module navigation in templates */
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.nav-header .nav-links {
    gap: 10px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 10px;
}

.user-info span {
    display: block;
}

.user-name {
    font-weight: 500;
    font-size: 0.9em;
    color: var(--primary-text-color);
}

.user-name.clickable {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.user-name.clickable:hover {
    color: var(--accent-color);
}

.user-credits {
    font-size: 0.8em;
    color: var(--secondary-text-color);
    font-weight: 400;
}

.btn-auth {
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    background-color: var(--card-bg-color);
    color: var(--primary-text-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
}

.btn-login {
    border-color: var(--accent-color);
}

.btn-register {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    color: var(--primary-text-color);
}

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

.btn-logout {
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-logout:hover {
    background-color: #e74c3c;
}

#auth-logged-out {
    display: flex;
    gap: 8px;
}

.language-selector-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.language-selector-container label {
    font-size: 0.9em;
    font-weight: 500;
    color: var(--secondary-text-color);
    margin-bottom: 5px;
}

#language-selector, #model-selector {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9em;
    font-family: 'Inter', sans-serif;
    color: var(--primary-text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

#language-selector:hover, #model-selector:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(218, 236, 52, 0.25);
}

#language-selector:focus, #model-selector:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(218, 236, 52, 0.25);
    outline: none;
}

#model-selector {
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .header-top {
        text-align: center;
        padding: 0 10px;
        margin-bottom: 15px;
    }
    
    .header-controls {
        position: static;
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .language-selector-container {
        align-items: center;
        margin-top: 0;
    }
    
    #language-selector, #model-selector {
        min-width: 140px;
        font-size: 0.85em;
    }
}

/* Responsive Tab Navigation */
@media (max-width: 1200px) {
    .tab-navigation {
        flex-wrap: wrap;
        gap: 3px;
        padding-right: 10px;
        overflow-x: visible;
    }
    
    .tab-button {
        padding: 8px 12px;
        font-size: 0.85em;
        min-width: auto;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .tab-navigation {
        gap: 4px;
        padding-right: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #ccc transparent;
    }

    .tab-navigation::-webkit-scrollbar {
        height: 4px;
    }

    .tab-navigation::-webkit-scrollbar-track {
        background: transparent;
    }

    .tab-navigation::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 2px;
    }

    .tab-button {
        padding: 10px 12px;
        font-size: 0.8em;
        min-width: 100px;
        flex: 0 0 auto;
        white-space: nowrap;
        border-radius: 6px;
    }

    .tab-content {
        min-height: 300px;
    }
    
    .persona-content h3 {
        font-size: 1.3em;
    }
    
    .persona-content h4 {
        font-size: 1.1em;
    }
}

/* Account Page Styles */
.container .account-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-darker) 100%);
    padding: 20px;
    text-align: center;
    margin: 0px -15px 15px -15px;
    border-radius: 8px 8px 0 0;
}

.container .account-header h1 {
    margin: 0;
    color: var(--primary-text-color);
    font-size: 1.8em;
    font-weight: 700;
}

.container .account-content {
    display: flex;
    min-height: 500px;
    margin-top: 10px;
}

.container .account-sidebar {
    width: 200px;
    background-color: #f8f8f8;
    border-right: 1px solid #e5e5e5;
    padding: 0;
    border-radius: 6px;
    margin-right: 20px;
}

.container .sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container .sidebar-nav li {
    border-bottom: 1px solid #e5e5e5;
}

.container .sidebar-nav li:first-child a {
    border-radius: 6px 6px 0 0;
}

.container .sidebar-nav li:last-child {
    border-bottom: none;
}

.container .sidebar-nav li:last-child a {
    border-radius: 0 0 6px 6px;
}

.container .sidebar-nav a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--primary-text-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.container .sidebar-nav a:hover,
.container .sidebar-nav a.active {
    background-color: var(--accent-color);
    color: var(--primary-text-color);
}

.container .account-main {
    flex: 1;
    padding: 0;
}

.container .account-section {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.container .account-section.active {
    display: block;
}

.container .account-section h2 {
    color: var(--primary-text-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 0;
}

.container .profile-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.container .profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

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

.container .profile-label {
    font-weight: 500;
    color: var(--secondary-text-color);
}

.container .profile-value {
    color: var(--primary-text-color);
    font-weight: 400;
}

.container .subscription-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.container .subscription-free { 
    background-color: #e3e3e3; 
    color: #666; 
}

.container .subscription-starter { 
    background-color: #d4edda; 
    color: #155724; 
}

.container .subscription-professional { 
    background-color: #cce5ff; 
    color: #004085; 
}

.container .subscription-ultra { 
    background-color: #f8d7da; 
    color: #721c24; 
}

.container .credits-display {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--accent-color);
    background-color: var(--primary-text-color);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.container .history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.container .history-table th,
.container .history-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.container .history-table th {
    background-color: #f8f8f8;
    font-weight: 600;
    color: var(--primary-text-color);
}

.container .history-table tr:hover {
    background-color: #f9f9f9;
}

.container .transaction-credit {
    color: #28a745;
    font-weight: 600;
}

.container .transaction-debit {
    color: #dc3545;
    font-weight: 600;
}

.container .btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

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

.container .danger-zone {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.container .danger-zone h3 {
    color: #c53030;
    margin-top: 0;
}

.container .empty-state {
    text-align: center;
    color: var(--secondary-text-color);
    font-style: italic;
    padding: 40px 20px;
}

/* Info Section Styles */
.info-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.info-section h2 {
    color: var(--primary-text-color);
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.info-section .app-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--primary-text-color);
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Module Selector Styles */
.module-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 0;
}

a.module-card {
    background-color: var(--card-bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
}

.module-card {
    background-color: var(--card-bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

a.module-card:hover,
.module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.module-card.selected {
    border-color: var(--accent-color);
    background-color: #fffef8;
    box-shadow: 0 4px 15px rgba(218, 236, 52, 0.2);
}

.module-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.module-card h3 {
    margin: 10px 0 15px 0;
    color: var(--primary-text-color);
    font-size: 1.4em;
    font-weight: 600;
}

.module-card p {
    color: var(--secondary-text-color);
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.credit-range {
    background-color: var(--accent-color);
    color: var(--primary-text-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
}

.feature-list li {
    padding: 5px 0;
    color: var(--secondary-text-color);
    font-size: 0.9em;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Module Forms */
.module-form {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.module-form.active {
    display: block;
}

.module-form h3 {
    color: var(--primary-text-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 30px;
}

/* Survey Builder Styles */
.survey-builder {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.question-builder {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.question-input-group {
    flex: 2;
    min-width: 200px;
}

.question-type-group {
    flex: 1;
    min-width: 150px;
}

.add-question-btn {
    background-color: var(--accent-color);
    color: var(--button-text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-question-btn:hover {
    background-color: var(--accent-color-darker);
}

.questions-list {
    margin-bottom: 20px;
}

.question-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-text {
    flex: 1;
    margin-right: 15px;
}

.question-type-badge {
    background-color: var(--secondary-text-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-right: 10px;
}

/* Multiple choice options styles */
.multiple-options-section {
    margin: 15px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.multiple-options-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.options-list {
    margin-bottom: 10px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 8px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.option-item input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.option-item .remove-option-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.option-item .remove-option-btn:hover {
    background-color: #c82333;
}

.add-option-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

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

.question-options {
    font-size: 0.9em;
    color: var(--secondary-text-color);
    margin-left: 10px;
    font-style: italic;
}

.remove-question-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
}

.remove-question-btn:hover {
    background-color: #c82333;
}

.respondent-settings, .target-demographics {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.respondent-settings label, .target-demographics label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-text-color);
}

/* Media Upload Styles */
.media-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-upload-area:hover {
    border-color: var(--accent-color);
    background-color: #fffef8;
}

.media-upload-area.dragover {
    border-color: var(--accent-color);
    background-color: #fffef8;
}

.upload-icon {
    font-size: 3em;
    color: var(--secondary-text-color);
    margin-bottom: 15px;
}

.upload-text {
    color: var(--secondary-text-color);
    font-size: 1.1em;
    margin-bottom: 10px;
}

.upload-hint {
    color: var(--secondary-text-color);
    font-size: 0.9em;
    opacity: 0.8;
}

.media-preview {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.media-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-media-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 10px;
}

.remove-media-btn:hover {
    background-color: #c82333;
}

/* Media Analysis - Content Type Tabs */
.content-type-tabs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.content-tab {
    flex: 1;
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1em;
    font-weight: 500;
    color: var(--primary-text-color);
}

.content-tab:hover {
    background-color: #ebebeb;
    border-color: #d0d0d0;
}

.content-tab.active {
    background-color: var(--primary-color);
    color: var(--primary-text-color);
    border-color: var(--primary-color);
}

/* SVG icons inherit color from parent via currentColor - no filter needed */

/* Media Analysis - Analysis Type Tabs */
.analysis-type-tabs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.analysis-tab {
    flex: 1;
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1em;
    font-weight: 500;
    color: var(--primary-text-color);
}

.analysis-tab:hover {
    background-color: #ebebeb;
    border-color: #d0d0d0;
}

.analysis-tab.active {
    background-color: var(--primary-color);
    color: var(--primary-text-color);
    border-color: var(--primary-color);
}

/* A/B Test Variants */
.ab-variants {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.variant-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background-color: #fafafa;
}

.variant-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.1em;
}

.analysis-type-section {
    margin-bottom: 30px;
}

.analysis-type-description {
    margin-top: 8px;
    padding: 10px;
    background-color: #f0f8ff;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--secondary-text-color);
}

@media (max-width: 768px) {
    .ab-variants {
        grid-template-columns: 1fr;
    }
    
    .content-type-tabs,
    .analysis-type-tabs {
        flex-direction: column;
    }
}

/* Cost Calculator */
.cost-calculator {
    background-color: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 8px;
    padding: 15px;
    margin: 25px 0 20px 0;
    text-align: center;
}

.cost-calculator h4 {
    margin: 0 0 10px 0;
    color: var(--primary-text-color);
    font-size: 1.1em;
}

.cost-display {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--accent-color);
    background-color: var(--primary-text-color);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin: 5px 0;
}

.cost-breakdown {
    font-size: 0.9em;
    color: var(--secondary-text-color);
    margin-top: 12px;
}

/* Simulation duration notice - yellow box style */
p[data-i18n*="form_description"] {
    background-color: #fffef0;
    border: 1px solid #f9e79f;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-size: 0.95em;
    text-align: center;
    font-weight: 500;
}

/* Results Header Layout */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.results-header h2 {
    margin: 0;
}

.results-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Mobile Responsiveness for Module Selector */
@media (max-width: 768px) {
    .module-selector {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }
    
    .module-card {
        padding: 20px;
        min-height: 250px;
    }
    
    .module-icon {
        font-size: 2.5em;
    }
    
    .module-card h3 {
        font-size: 1.2em;
    }
    
    .question-builder {
        flex-direction: column;
        align-items: stretch;
    }
    
    .question-input-group, .question-type-group {
        min-width: auto;
    }
    
    .add-question-btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .question-item {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    
    .question-text {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .question-type-badge {
        margin-right: 0;
        margin-bottom: 10px;
        align-self: flex-start;
    }

    /* Mobile Results Header */
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-header h2 {
        flex: 1 0 100%;
        margin-bottom: 8px;
    }

    .results-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .export-btn {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
        padding: 12px 8px;
        font-size: 0.8em;
    }
}

/* Mobile Results Header - Smaller devices */
@media (max-width: 640px) {
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-header h2 {
        flex: 1 0 100%;
        margin-bottom: 8px;
        width: 100%;
    }

    .results-actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }

    .export-btn {
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
        padding: 14px 10px;
        font-size: 0.8em;
        text-align: center;
    }
}

/* Very small screens - single column buttons */
@media (max-width: 480px) {
    .results-actions {
        flex-direction: column;
        gap: 12px;
    }

    .export-btn {
        flex: 1 1 100%;
        min-width: auto;
        width: 100%;
        padding: 16px;
        font-size: 0.9em;
    }
}

/* Account Page Mobile Responsiveness */
@media (max-width: 768px) {
    .container .account-content {
        flex-direction: column;
    }
    
    .container .account-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .container .sidebar-nav {
        display: flex;
        overflow-x: auto;
    }
    
    .container .sidebar-nav li {
        min-width: 120px;
        border-bottom: none;
        border-right: 1px solid #e5e5e5;
    }
    
    .container .sidebar-nav li:last-child {
        border-right: none;
    }
    
    .container .account-main {
        padding: 20px;
    }
    
    .container .profile-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .container .profile-value {
        margin-top: 5px;
    }
    
    .container .history-table {
        font-size: 0.9em;
        min-width: 600px;
    }

    .container .history-table th,
    .container .history-table td {
        padding: 8px;
        white-space: nowrap;
    }

    /* Table wrapper for horizontal scroll on mobile */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        margin-top: 20px;
    }

    .table-wrapper .history-table {
        margin-top: 0;
        border: none;
    }
}

/* =============================================
   MEDIA PREVIEW GALLERY & IMAGE MODAL STYLES
   ============================================= */

/* Media preview gallery */
.media-preview-gallery {
    margin: 20px 0;
}

.media-preview-item {
    display: inline-block;
    margin: 10px;
}

.media-preview-item h5 {
    margin: 0 0 8px 0;
    font-size: 0.9em;
    color: var(--secondary-text-color);
    font-weight: 500;
}

/* Image container with hover effects */
.image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-container:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
    pointer-events: none;
}

.image-container:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* Thumbnail images */
.media-thumbnail {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-container:hover .media-thumbnail {
    transform: scale(1.02);
}

/* A/B comparison layout */
.ab-comparison-gallery {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin: 20px 0;
}

.ab-comparison-gallery .media-preview-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
}

/* Image modal styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    animation: scaleIn 0.3s ease;
}

.image-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e5e5e5;
    background: var(--background-color);
}

.image-modal-title {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-text-color);
}

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

.image-modal-close:hover {
    background-color: var(--hover-color);
    color: var(--primary-text-color);
}

.image-modal-body {
    padding: 20px;
    text-align: center;
    background: white;
}

.image-modal-img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Modal animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.9) translateY(20px); 
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0); 
    }
}

/* Mobile responsiveness for media gallery */
@media (max-width: 768px) {
    .ab-comparison-gallery {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .media-thumbnail {
        max-width: 150px;
        max-height: 112px;
    }
    
    .image-modal-content {
        max-width: 95vw;
        max-height: 85vh;
        margin: 20px;
    }
    
    .image-modal-header {
        padding: 16px 20px 12px;
    }
    
    .image-modal-title {
        font-size: 1.1em;
    }
    
    .image-modal-body {
        padding: 16px;
    }
    
    .image-modal-img {
        max-height: 60vh;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .media-thumbnail {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ====================================
   REDESIGNED MEDIA ANALYSIS RESULTS
   ==================================== */

/* Executive Summary Section */
.analysis-overview {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f3ff 100%);
    border: 1px solid #d4e6ff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.analysis-overview h3 {
    color: #2563eb;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.summary-highlight {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.media-summary-content {
    line-height: 1.6;
    color: #374151;
}

/* Analyzed Content Section */
.analyzed-content-section {
    margin-bottom: 30px;
}

.analyzed-content-section h3 {
    color: #059669;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.content-display-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .content-display-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Content Cards */
.media-content-card,
.text-content-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.media-content-card h4,
.text-content-card h4 {
    margin-bottom: 15px;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Featured Image Styles */
.media-thumbnail.featured {
    max-width: 280px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-thumbnail.featured:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0,0,0,0.18);
}

/* A/B Comparison Featured Layout */
.ab-comparison-featured {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.variant-card {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.variant-card h5 {
    margin-bottom: 10px;
    color: #374151;
    font-weight: 600;
}

.vs-divider {
    font-size: 1.5rem;
    color: #6b7280;
    font-weight: bold;
    flex-shrink: 0;
}

.image-caption {
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 8px;
    font-style: italic;
}

/* Text Content Preview */
.text-content-preview {
    margin-top: 10px;
}

.text-preview-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 15px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #374151;
    max-height: 150px;
    overflow-y: auto;
}

/* Analysis Meta Information */
.analysis-meta {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

/* Guest User Banner */
.guest-banner {
    background: linear-gradient(135deg, #FFF8DC, #FFFACD);
    border: 2px solid #DAEC34;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    position: relative;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.guest-banner-content {
    text-align: center;
}

.guest-banner h3 {
    color: #202028;
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: 600;
}

.guest-banner p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.guest-banner-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.guest-banner .btn-primary {
    background: #DAEC34;
    color: #202028;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.guest-banner .btn-primary:hover {
    background: #c8d42f;
    transform: translateY(-1px);
}

.guest-banner .btn-secondary {
    background: transparent;
    color: #202028;
    padding: 12px 24px;
    border: 2px solid #202028;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.guest-banner .btn-secondary:hover {
    background: #202028;
    color: #DAEC34;
}

.guest-banner-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.guest-banner-close:hover {
    color: #666;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}

.meta-label {
    font-weight: 500;
    color: #6b7280;
    flex-shrink: 0;
}

.meta-value {
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    text-align: right;
    word-break: break-word;
}

.demographics-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.demographics-section h4 {
    margin-bottom: 10px;
    color: #374151;
    font-size: 1rem;
}

.demographics-content {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px;
    color: #4b5563;
    line-height: 1.5;
}

/* Responsive adjustments for redesigned layout */
@media (max-width: 640px) {
    .analysis-overview {
        padding: 20px;
    }
    
    .summary-highlight {
        padding: 15px;
    }
    
    .media-content-card,
    .text-content-card {
        padding: 15px;
    }
    
    .media-thumbnail.featured {
        max-width: 200px;
        max-height: 150px;
    }
    
    .ab-comparison-featured {
        flex-direction: column;
        gap: 10px;
    }
    
    .vs-divider {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    
    .meta-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Subscription Management Styles */
.subscription-info {
    margin-top: 1rem;
}

.subscription-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.subscription-details h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.subscription-details p {
    margin: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.subscription-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.subscription-actions .btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.subscription-actions .btn-primary {
    background: var(--accent-color);
    color: var(--button-text-color);
}

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

.subscription-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.subscription-actions .btn-secondary:hover {
    background: #545b62;
}

@media (max-width: 768px) {
    .subscription-card {
        flex-direction: column;
        text-align: center;
    }
    
    .subscription-actions {
        justify-content: center;
        width: 100%;
    }
}

/* VAT Note Styling */
.vat-note {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}
/* ===== RESPONSIVE HEADER LAYOUT ===== */

/* Responsive layout pre menšie obrazovky */
@media (max-width: 768px) {
    .header-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .logo-container {
        justify-self: center;
        order: 1;
    }
    
    .header-controls {
        justify-self: center;
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Pre veľmi malé obrazovky */
@media (max-width: 480px) {
    .header-controls {
        flex-direction: column;
        width: 100%;
    }

    .auth-status,
    .language-selector-container {
        width: 100%;
        justify-content: center;
    }

    .auth-status {
        margin-bottom: 10px;
    }

    /* Better container for very small screens */
    .container {
        width: 100%;
        margin: 0 0 30px 0;
        padding: 15px 10px;
        max-width: none;
        box-sizing: border-box;
        border-radius: 0;
    }

    /* Tab navigation improvements */
    .tab-button {
        min-width: 80px;
        padding: 8px 10px;
        font-size: 0.75em;
    }

    /* Form elements spacing */
    label {
        margin-bottom: 8px;
        font-size: 0.9em;
    }

    input[type="text"],
    input[type="number"],
    textarea,
    select {
        padding: 14px;
        font-size: 16px; /* Prevent zoom on iOS */
        border-radius: 8px;
    }

    /* Better button touch targets */
    button[type="submit"],
    button[type="button"],
    .btn-primary,
    .btn-secondary {
        min-height: 48px;
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 8px;
    }

    /* Module cards on main page */
    .module-card {
        padding: 20px 15px;
        min-height: 200px;
    }

    .module-icon {
        font-size: 2em;
    }

    /* Feedback popup improvements */
    .feedback-popup-content {
        bottom: 5px;
        right: 5px;
        left: 5px;
        padding: 15px;
    }

    .feedback-minimized-button {
        bottom: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */

.pricing-header {
    text-align: center;
    margin: 3rem auto;
    max-width: 800px;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    margin-bottom: 0.5rem;
}

.vat-note {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    font-style: italic;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.pricing-card {
    background: var(--card-bg-color);
    border: none;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Shadow utilities */
.shadow-soft {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hover-shadow-elegant:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* Popular ring */
.popular-ring {
    box-shadow: 0 0 0 2px var(--primary-color), 0 4px 12px rgba(218,236,52,0.15);
}

.popular-badge-star {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color-darker) 100%);
    color: var(--primary-text-color);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.star-icon {
    width: 16px;
    height: 16px;
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-price-section {
    margin: 1rem 0;
}

.plan-price {
    font-size: 2.25rem;
    font-weight: 700;
    margin-right: 0.25rem;
}

.plan-period {
    font-size: 0.875rem;
    color: var(--secondary-text-color);
}

.plan-credits-badge {
    background: rgba(218, 236, 52, 0.1);
    border: 1px solid rgba(218, 236, 52, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin: 1rem auto;
    display: inline-block;
    font-weight: 700;
    font-size: 0.875rem;
}

.plan-description {
    font-size: 0.75rem;
    color: var(--secondary-text-color);
    margin-top: 0.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.plan-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    border: 2px solid transparent;
}

.plan-button-primary {
    background: var(--primary-color);
    color: var(--button-text-color);
    border-color: var(--primary-color);
}

.plan-button-primary:hover {
    background: var(--accent-color-darker);
    border-color: var(--accent-color-darker);
    transform: scale(1.02);
}

.plan-button-outline {
    background: transparent;
    color: var(--primary-text-color);
    border-color: #e0e0e0;
}

.plan-button-outline:hover {
    border-color: var(--primary-color);
    background: rgba(218, 236, 52, 0.05);
}

.plan-button:disabled,
.plan-button.current-plan {
    background: #ccc;
    cursor: not-allowed;
    border-color: #ccc;
}

.plan-button.loading {
    opacity: 0.7;
    cursor: wait;
}

.credit-comparison {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--card-bg-color);
    border-radius: 12px;
}

.credit-comparison h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.credit-comparison h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.pricing-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .pricing-modules {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   BUSINESS INFORMATION FORM STYLES
   =================================== */

.business-form {
    max-width: 600px;
    margin-top: 2rem;
}

.section-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a3e635;
    box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

.form-error {
    padding: 0.75rem 1rem;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    color: #c00;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.form-success {
    padding: 0.75rem 1rem;
    background: #efe;
    border: 1px solid #cfc;
    border-radius: 4px;
    color: #060;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* ===================================
   BUSINESS MODAL STYLES
   =================================== */

.business-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease-in;
}

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

.business-modal {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
}

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

.business-modal h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
}

.business-modal p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.modal-buttons .btn-secondary {
    background: #f3f4f6;
    color: #333;
    border: 1px solid #d1d5db;
}

.modal-buttons .btn-secondary:hover {
    background: #e5e7eb;
}

.modal-buttons .btn-primary {
    background: #a3e635;
    color: #000;
    border: none;
    font-weight: 600;
}

.modal-buttons .btn-primary:hover {
    background: #84cc16;
}

@media (max-width: 768px) {
    .business-modal {
        padding: 1.5rem;
        max-width: 95%;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .modal-buttons .btn {
        width: 100%;
    }

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