/* Drake Bogenfinder - Hauptcontainer */
.drake-finder {
    max-width: 800px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Screen Management */
.drake-finder-screen {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.drake-finder-screen.active {
    display: block;
}

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

/* Header */
.drake-finder-header {
    text-align: center;
    margin-bottom: 40px;
}

.drake-finder-header h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.drake-finder-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Progress Bar */
.drake-finder-progress {
    margin-bottom: 40px;
}

.drake-finder-progress-bar {
    height: 8px;
    background: linear-gradient(90deg, #2c5f2d, #4a8f4b);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.drake-finder-progress-text {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* Question */
.drake-finder-question h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.drake-finder-hint {
    background: #f0f8ff;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #2c5f2d;
    margin-bottom: 24px;
    font-size: 14px;
    color: #555;
}

/* Options */
.drake-finder-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.drake-finder-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.drake-finder-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.drake-finder-option-content {
    display: block;
    padding: 20px 24px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.drake-finder-option-content:hover {
    border-color: #4a8f4b;
    background: #f9fdf9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.drake-finder-option input[type="radio"]:checked + .drake-finder-option-content {
    border-color: #2c5f2d;
    background: #f1f8f4;
    box-shadow: 0 2px 8px rgba(44, 95, 45, 0.2);
}

.drake-finder-option-content strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.drake-finder-option-content small {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Navigation */
.drake-finder-navigation {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 32px;
}

/* Buttons */
.drake-finder-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.drake-finder-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.drake-finder-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.drake-finder-btn-primary {
    background: #2c5f2d;
    color: white;
    border-color: #2c5f2d;
}

.drake-finder-btn-primary:hover:not(:disabled) {
    background: #234a24;
    border-color: #234a24;
}

/* Result Screen */
.drake-finder-result {
    padding: 20px 0;
}

.drake-finder-result-header {
    text-align: center;
    margin-bottom: 24px;
}

.drake-finder-result-header h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* Kompakte Inline-Konfiguration */
.drake-finder-config-compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    background: linear-gradient(135deg, #f8fdf8 0%, #f1f8f4 100%);
    padding: 20px 24px;
    border-radius: 12px;
    border: 2px solid #e8f5e9;
    margin-bottom: 16px;
    font-size: 18px;
}

.config-compact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-compact-icon {
    font-size: 24px;
}

.config-compact-value {
    font-weight: 700;
    color: #2c5f2d;
}

.config-compact-separator {
    color: #ccc;
    font-size: 20px;
    margin: 0 4px;
}

.drake-finder-config-hint {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 32px;
    font-style: italic;
}

/* Product Box (vom Shortcode) */
.drake-finder-product {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}

/* Result Actions */
.drake-finder-result-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* Start Screen spezifische Styles */
#screen-start {
    text-align: center;
    padding: 60px 20px;
}

#screen-start .drake-finder-btn {
    min-width: 200px;
    padding: 18px 48px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .drake-finder {
        margin: 20px auto;
        padding: 0 16px;
    }
    
    .drake-finder-header h2 {
        font-size: 28px;
    }
    
    .drake-finder-header p {
        font-size: 16px;
    }
    
    .drake-finder-question h3 {
        font-size: 20px;
    }
    
    .drake-finder-option-content {
        padding: 16px 20px;
    }
    
    .drake-finder-option-content strong {
        font-size: 16px;
    }
    
    .drake-finder-option-content small {
        font-size: 13px;
    }
    
    .drake-finder-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .drake-finder-result-header h2 {
        font-size: 24px;
    }
    
    /* Kompakte Config auf Mobile - vertikal stacken */
    .drake-finder-config-compact {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .config-compact-separator {
        display: none;
    }
    
    .drake-finder-config-hint {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .drake-finder-config-compact {
        font-size: 15px;
    }
    
    .config-compact-icon {
        font-size: 20px;
    }
}

/* Print Styles */
@media print {
    .drake-finder-navigation,
    .drake-finder-result-actions {
        display: none;
    }
    
    .drake-finder-screen:not(#screen-result) {
        display: none !important;
    }
    
    #screen-result {
        display: block !important;
    }
}
