/* PERSONALIZATION PAGE STYLES - Traumbuch.shop */

/* ==================== LAYOUT ==================== */

.personalization-main {
    min-height: 100vh;
    padding: 40px 0;
    background: linear-gradient(135deg, #faf5ff 0%, #fff5eb 100%);
}

.personalization-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* ==================== FORM SECTION ==================== */

.form-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.section-header {
    margin-bottom: 30px;
}

.section-header h1 {
    color: #8B5CF6;
    font-size: 2rem;
    margin: 0 0 10px 0;
}

.section-header .subtitle {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
}

/* ==================== FORM ELEMENTS ==================== */

.personalization-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

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

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

.form-label.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-input.invalid {
    border-color: #ef4444;
}

.form-input.valid {
    border-color: #10b981;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
}

/* ==================== THEME SELECTION ==================== */

.theme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.theme-card {
    position: relative;
    cursor: pointer;
}

.theme-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-content {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.theme-card:hover .theme-content {
    border-color: #8B5CF6;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.theme-card input:checked ~ .theme-content,
.theme-card.selected .theme-content {
    border-color: #8B5CF6;
    background: linear-gradient(135deg, #f8f4ff, #fff);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.theme-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.theme-title {
    font-weight: 600;
    color: #333;
    margin: 5px 0;
    font-size: 0.95rem;
}

.theme-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* ==================== UPSELL BOX ==================== */

.upsell-box.subtle {
    background: linear-gradient(135deg, #f3e8ff 0%, #fff5eb 100%);
    border: 2px solid #8B5CF6;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.upsell-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.upsell-box h3 {
    color: #8B5CF6;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    text-align: center;
}

.upsell-benefits {
    margin: 15px 0;
}

.upsell-benefits p {
    margin: 5px 0;
}

.upsell-benefits ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.upsell-benefits li {
    padding: 5px 0;
    font-size: 0.95rem;
}

/* ==================== PRICE COMPARISON ==================== */

.price-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.price-option {
    position: relative;
}

.price-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.price-option label {
    display: block;
    cursor: pointer;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
}

.price-option:hover .option-content {
    border-color: #8B5CF6;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}

.price-option input:checked ~ .option-content {
    border-color: #8B5CF6;
    background: #f8f4ff;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.price-option.highlighted .option-content {
    border-color: #FB923C;
}

.price-option.highlighted input:checked ~ .option-content {
    border-color: #8B5CF6;
}

.badge {
    background: #FB923C;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.option-title {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.option-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B5CF6;
}

.savings {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
}

.note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

/* ==================== BUTTONS ==================== */

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #FB923C);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-large {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-next {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-footer-note {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 15px;
}

/* ==================== SIDEBAR ==================== */

.sidebar-section {
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.info-title {
    color: #8B5CF6;
    font-size: 1.2rem;
    margin: 0 0 15px 0;
}

.package-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.package-item:last-child {
    border-bottom: none;
}

.package-label {
    font-weight: 600;
    color: #666;
}

.package-value {
    color: #333;
    font-weight: 500;
}

.package-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid #8B5CF6;
    font-size: 1.1rem;
}

.total-price {
    color: #8B5CF6;
    font-weight: 700;
    font-size: 1.5rem;
}

/* ==================== FEATURES LIST ==================== */

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

.features-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #333;
}

/* ==================== TRUST BADGES ==================== */

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.trust-icon {
    font-size: 1.2rem;
}

.trust-text {
    color: #666;
    font-weight: 500;
}

/* ==================== PROGRESS BAR ==================== */

.progress-container {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #8B5CF6;
    color: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.progress-step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

.progress-step.active .step-label {
    color: #8B5CF6;
    font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    .personalization-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-section {
        order: -1;
    }
    
    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .theme-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .price-comparison {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .progress-steps::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .theme-grid {
        grid-template-columns: 1fr;
    }
    
    .personalization-main {
        padding: 20px 0;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .section-header h1 {
        font-size: 1.5rem;
    }
}
