/* Prediction Page Styles */

:root {
    --primary-rgb: 99, 102, 241; /* RGB values for primary color */
    --step-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Text color variables - force dark colors for readability */
    --text-primary: #1a202c !important;
    --text-secondary: #4a5568 !important;
    --text-light: #718096 !important;
    --primary-color: #6366f1 !important;
    --secondary-color: #8b5cf6 !important;
    --border-color: #e2e8f0 !important;
    --background-secondary: #f7fafc !important;
}

/* Force text colors throughout the prediction page */
.prediction-section,
.prediction-section * {
    color: #1a202c !important;
}

.prediction-section h1,
.prediction-section h2,
.prediction-section h3,
.prediction-section h4,
.prediction-section h5,
.prediction-section h6 {
    color: #1a202c !important;
}

.prediction-section p,
.prediction-section span,
.prediction-section div,
.prediction-section label {
    color: #4a5568 !important;
}

/* Specific overrides for important elements */
.category-title,
.theme-title,
.step-header h2 {
    color: #1a202c !important;
}

.category-description,
.theme-description,
.step-header p {
    color: #4a5568 !important;
}

.price-label,
.price-value,
.term-description,
.preference-note {
    color: #4a5568 !important;
}

/* Exception for elements that should remain white */
.category-icon,
.theme-icon,
.selected-category-icon,
.selected-theme-icon,
.processing-icon,
.service-icon {
    color: white !important;
}

.start-btn,
.btn-primary {
    color: white !important;
}

/* Additional safety rules to ensure visibility */
.prediction-section .category-card,
.prediction-section .theme-card,
.prediction-section .details-form,
.prediction-section .step-container {
    background: white !important;
}

/* Text in input elements */
.prediction-section input,
.prediction-section textarea,
.prediction-section select {
    color: #1a202c !important;
    background: white !important;
}

/* Radio and checkbox text */
.radio-text,
.option-title,
.option-desc,
.gender-label,
.term-label {
    color: #1a202c !important;
}

/* Progress indicator text */
.step-label {
    color: #4a5568 !important;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #6366f1 !important;
}

/* Character counter and helper text */
.char-counter,
.price-note {
    color: #718096 !important;
}

/* Remove any text shadows that might interfere */
.prediction-section * {
    text-shadow: none !important;
}

.prediction-section {
    min-height: 100vh;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* User Menu in Navigation */
.user-menu {
    position: relative;
    cursor: pointer;
}

.user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.user-name:hover {
    background: rgba(99, 102, 241, 0.1);
}

.user-name:after {
    content: '\f0d7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    min-width: 150px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

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

.user-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.user-dropdown a:hover {
    background: var(--background-secondary);
    color: var(--primary-color);
}

/* Service Selector */
.service-selector {
    text-align: center;
    margin-bottom: 3rem;
}

.service-selector h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-option {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border: 3px solid transparent;
}

.service-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-option.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8fafc, #e0e7ff);
}

.service-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-option .service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.service-option h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-option p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Question Form */
.question-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.question-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.question-input-container {
    margin-bottom: 2rem;
}

.question-input-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.question-input-container textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.question-input-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.char-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Question Suggestions */
.question-suggestions {
    margin-bottom: 2rem;
}

.question-suggestions h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.suggestion-tag {
    padding: 8px 16px;
    background: var(--background-secondary);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.suggestion-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

/* Additional Options */
.additional-options {
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.additional-options h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.option-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.checkbox-option:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.02);
}

.checkbox-option input {
    display: none;
}

.checkbox-option .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-option input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-option input:checked + .checkmark:after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.option-content {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

/* User Preferences */
.user-preferences {
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.user-preferences h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.preference-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Gender Selection */
.gender-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gender-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.gender-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.radio-option input {
    display: none;
}

.radio-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

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

.radio-option input:checked + .radio-checkmark {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-option input:checked + .radio-checkmark:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radio-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    user-select: none;
}

.preference-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.4;
    font-style: italic;
}

/* Term Selection */
.term-selection {
    margin-top: 1rem;
}

.term-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.term-options {
    margin-bottom: 0.5rem;
}

.term-dropdown {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.term-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.term-dropdown:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
    background: rgba(var(--primary-rgb), 0.02);
}

.term-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.term-selection:focus-within .term-label {
    color: var(--primary-color);
}

/* Price Summary */
.price-summary {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.price-item.total {
    padding-top: 0.75rem;
    border-top: 2px solid var(--border-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.price-label {
    color: var(--text-secondary);
}

.price-value {
    color: var(--text-primary);
    font-weight: 600;
}

.price-item.total .price-value {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.form-actions .btn {
    min-width: 120px;
}

/* Payment Processing */
.payment-processing {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.processing-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.processing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: pulse 2s infinite;
}

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

.processing-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.processing-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    border-radius: 3px;
    animation: progress 3s ease-out forwards;
}

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

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

.step.active {
    color: var(--primary-color);
}

.step i {
    width: 20px;
}

/* Reading Results */
.reading-results {
    max-width: 900px;
    margin: 0 auto;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-header h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.reading-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reading-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.reading-question,
.reading-answer,
.reading-symbols {
    margin-bottom: 2rem;
}

.reading-question h4,
.reading-answer h4,
.reading-symbols h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.reading-question p {
    color: var(--text-secondary);
    font-style: italic;
    padding: 1rem;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.answer-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.answer-content p {
    margin-bottom: 1rem;
}

.symbols-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.symbol-item {
    text-align: center;
    padding: 1rem;
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    min-width: 100px;
}

.symbol-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.symbol-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Reading Actions */
.reading-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Reading Feedback */
.reading-feedback {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.reading-feedback h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars i {
    font-size: 1.5rem;
    color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.rating-stars i:hover,
.rating-stars i.active {
    color: var(--accent-color);
}

.reading-feedback textarea {
    width: 100%;
    max-width: 400px;
    min-height: 80px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    resize: vertical;
}

.reading-feedback textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .prediction-section {
        padding: 100px 0 40px;
    }
    
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .question-card {
        padding: 1.5rem;
    }
    
    .suggestion-tags {
        flex-direction: column;
    }
    
    .option-checkboxes {
        gap: 0.75rem;
    }
    
    .checkbox-option {
        padding: 0.75rem;
    }
    
    /* User preferences responsive */
    .gender-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .preference-options {
        gap: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .form-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .reading-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .reading-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .reading-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .processing-steps {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .question-card,
    .processing-card,
    .reading-card {
        padding: 1.25rem;
    }
    
    .service-option {
        padding: 1.5rem;
    }
    
    .symbols-content {
        gap: 1rem;
    }
}

/* ===== NEW CATEGORY/THEME SELECTION STYLES ===== */

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 150px;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 60%;
    right: -40%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
    transition: var(--step-transition);
}

.progress-step.active:not(:last-child)::after,
.progress-step.completed:not(:last-child)::after {
    background: var(--primary-color);
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--step-transition);
    position: relative;
    z-index: 2;
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: var(--primary-color);
    color: white;
}

.step-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    transition: var(--step-transition);
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--primary-color);
}

/* Step Containers */
.step-container {
    opacity: 0;
    transform: translateX(20px);
    transition: var(--step-transition);
    pointer-events: none;
}

.step-container.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.step-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--step-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--category-color, var(--primary-color));
    transform: scaleX(0);
    transition: var(--step-transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--category-color, var(--primary-color));
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--category-color, var(--primary-color)), var(--category-color-light, var(--primary-color-light)));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-themes-count {
    font-size: 0.9rem;
    color: var(--category-color, var(--primary-color));
    font-weight: 600;
}

/* Selected Category Display */
.selected-category-display {
    background: linear-gradient(135deg, var(--category-color, var(--primary-color)), var(--category-color-light, var(--primary-color-light)));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.selected-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.selected-category-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.selected-category-info p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Theme List */
.theme-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.theme-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: var(--step-transition);
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-card:hover {
    border-color: var(--category-color, var(--primary-color));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.theme-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: var(--category-color, var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.theme-info {
    flex: 1;
}

.theme-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.theme-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Selected Theme Display */
.selected-theme-display {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--category-color, var(--primary-color));
}

.selected-theme-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.selected-theme-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: var(--category-color, var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.selected-theme-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.selected-theme-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.theme-breadcrumb {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-breadcrumb i {
    font-size: 0.7rem;
}

/* Details Form */
.details-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.input-group textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--step-transition);
    resize: vertical;
}

.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.price-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-style: italic;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.step-navigation .btn {
    min-width: 140px;
}

/* Responsive Design for New Styles */
@media (max-width: 768px) {
    .progress-indicator {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .step-header h2 {
        font-size: 1.8rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .theme-list {
        grid-template-columns: 1fr;
    }
    
    .theme-card {
        padding: 1rem;
    }
    
    .selected-category-display,
    .details-form {
        padding: 1.5rem;
    }
    
    .step-navigation {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    
    .step-navigation .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .progress-step:not(:last-child)::after {
        display: none;
    }
    
    .progress-indicator {
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    .step-header h2 {
        font-size: 1.6rem;
    }
    
    .category-card,
    .details-form {
        padding: 1rem;
    }
    
    .selected-theme-header {
        flex-direction: column;
        text-align: center;
    }
}