/**
 * DIE AKADEMIE NLEBEN WIZARD - STYLES
 * 
 * Mobile-first design matching coming soon page theming
 * - Subtle progress bars (no icons on mobile)
 * - Clean, modern design
 * - Blue/green color scheme
 * - Responsive layout
 */

/* ===== BASE STYLES ===== */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #10b981;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --border-color: #e5e7eb;
    --text-muted: #6b7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== HEADER ===== */
.wizard-header {
    background: rgba(31, 41, 55, 0.95); /* Dark background instead of white */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Light border for dark theme */
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Language Switcher */
.language-switcher .form-select {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    min-width: 140px;
}

.language-switcher .form-select option {
    background: var(--dark-color);
    color: white;
}

/* ===== PROGRESS BAR ===== */
.progress-container {
    background: white;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.progress {
    height: 4px;
    background-color: #f1f5f9;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 1rem;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 25%, 
        rgba(255,255,255,0.2) 25%, 
        rgba(255,255,255,0.2) 50%, 
        transparent 50%, 
        transparent 75%, 
        rgba(255,255,255,0.2) 75%);
    background-size: 1rem 1rem;
    animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
    0% { background-position-x: 0; }
    100% { background-position-x: 1rem; }
}

/* Step Indicator and Path Type */
.step-indicator {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.path-indicator {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.path-indicator::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Hide progress step numbers on mobile */
@media (max-width: 768px) {
    .step-indicator {
        display: none !important;
    }
    
    .progress {
        height: 3px;
        margin: 0 0.5rem;
    }
}

/* ===== MAIN WIZARD ===== */
.wizard-main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.wizard-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .wizard-card {
        padding: 1.5rem;
        border-radius: 0.75rem;
        margin: 1rem;
    }
    
    .wizard-main {
        padding: 1rem 0;
    }
}

/* ===== STEP CONTENT ===== */
.step-header {
    margin-bottom: 2rem;
}

.step-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.step-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-subtitle {
        font-size: 1rem;
    }
}

/* ===== MARKETING ELEMENTS ===== */
.marketing-banner .alert {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    color: var(--primary-color);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--border-radius);
}

.marketing-stat {
    padding: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 1.5rem;
    }
    
    .marketing-stat {
        padding: 0.75rem;
    }
}

/* ===== PATH CARDS (Step 1) ===== */
.path-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.path-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.path-card:hover::before {
    transform: scaleX(1);
}

.path-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8faff 0%, #f0f9ff 100%);
    box-shadow: var(--shadow-md);
}

.path-card.active::before {
    transform: scaleX(1);
}

.path-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.path-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.path-subtitle {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.path-benefits {
    text-align: left;
    margin-top: 1rem;
}

.path-benefits ul li {
    padding: 0.25rem 0;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .path-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .path-icon {
        font-size: 2.5rem;
    }
    
    .path-title {
        font-size: 1.25rem;
    }
}

/* ===== FORM ELEMENTS ===== */
.form-floating {
    margin-bottom: 1rem;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    outline: none;
}

.form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    outline: none;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 0.75rem 2rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #059669);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-primary:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* ===== TESTIMONIALS ===== */
.testimonial {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.blockquote {
    margin-bottom: 0;
}

.blockquote p {
    font-style: italic;
    color: var(--dark-color);
}

.blockquote-footer {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.blockquote-footer cite {
    font-weight: 600;
}

/* ===== ALERTS ===== */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.5rem;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    color: var(--primary-color);
}

.alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
    color: var(--success-color);
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--warning-color);
}

/* ===== MARKETING FOOTER ===== */
.marketing-footer {
    margin-top: 3rem;
}

.social-proof {
    margin-top: 0.5rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    animation: fadeInUp 0.5s ease;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 576px) {
    .wizard-card {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .step-header {
        margin-bottom: 1.5rem;
    }
    
    .marketing-stat {
        margin-bottom: 1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ===== PRINT STYLES ===== */
@media print {
    .wizard-header,
    .progress-container,
    .marketing-footer,
    .step-navigation {
        display: none !important;
    }
    
    .wizard-card {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
} 

/* Header Improvements */
.wizard-header .d-flex {
    align-items: center;
}

.wizard-header .gap-3 {
    gap: 1rem !important;
}

/* Restart Button */
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white !important;
    background-color: transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: white !important;
    transform: translateY(-1px);
}

.btn-outline-light:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: white !important;
}

.btn-outline-light:active {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 1);
    color: white !important;
    transform: translateY(0);
}

.btn-outline-light .mdi {
    font-size: 1.1em;
    color: white !important;
}

/* Fallback icon styling */
.fallback-icon {
    font-size: 1.2em;
    font-weight: bold;
    color: white !important;
}

/* Show fallback if MDI not loaded */
.btn-outline-light .mdi:not([class*="mdi-"]) ~ .fallback-icon {
    display: inline !important;
}

.btn-outline-light .mdi:not([class*="mdi-"]) {
    display: none;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .wizard-header .gap-3 {
        gap: 0.5rem !important;
    }
    
    .btn-outline-light {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
} 

/* Job Title Display (German + Translation) */
.job-title-main {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.job-title-translated {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.2rem;
    font-style: italic;
    line-height: 1.2;
    opacity: 0.8;
}

/* Demand Level Badge Colors */
.badge.bg-danger {
    background-color: #dc2626 !important;
    color: white !important;
}

.badge.bg-warning {
    background-color: #f59e0b !important;
    color: white !important;
}

.badge.bg-info {
    background-color: #0ea5e9 !important;
    color: white !important;
}

.badge.bg-secondary {
    background-color: #6b7280 !important;
    color: white !important;
}

/* Suggestion Item Improvements */
.suggestion-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.suggestion-item:hover {
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.suggestion-item:last-child {
    margin-bottom: 0;
}

.suggestion-meta {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-meta .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.suggestion-meta small {
    font-size: 0.75rem;
    color: #6b7280;
} 

/* Selected Path Banner - MINIMAL & CLEAN */
.selected-path-banner {
    background: rgba(59, 130, 246, 0.02);
    border-bottom: 1px solid #e5e7eb;
    padding: 0.4rem 0;
}

.path-banner-content {
    text-align: center;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    border-left: 2px solid #3b82f6;
}

.path-german-term {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.selected-job-name {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0.1rem 0 0 0;
    font-weight: 400;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .selected-path-banner {
        padding: 0.3rem 0;
    }
    
    .path-banner-content {
        padding: 0.25rem 0.6rem;
    }
    
    .path-german-term {
        font-size: 0.85rem;
    }
    
    .selected-job-name {
        font-size: 0.75rem;
    }
} 

/* Job Match Cards */
.job-match-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.job-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.job-title-main {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.3;
}

.job-title-translated {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 12px;
}

.job-meta {
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #4b5563;
}

.meta-item i {
    width: 16px;
    flex-shrink: 0;
}

/* Demand badges */
.badge.bg-danger {
    background-color: #dc2626 !important;
}

.badge.bg-warning {
    background-color: #d97706 !important;
    color: white !important;
}

.badge.bg-info {
    background-color: #0891b2 !important;
}

.badge.bg-secondary {
    background-color: #6b7280 !important;
}

/* Mobile responsiveness for job cards */
@media (max-width: 768px) {
    .job-match-card {
        margin-bottom: 16px;
    }
    
    .job-title-main {
        font-size: 1rem;
    }
} 