/*
Theme Name: Matching Child
Description: Child theme για το Matching System
Template: twentytwentyfive
Version: 1.0
*/

@import url("../twentytwentyfive/style.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');

/* === GLOBAL STYLES & TYPOGRAPHY === */

:root {
    /* Colors - Updated to brand purple */
    --primary-color: #9d0ca8;
    --primary-dark: #6d0574;
    --secondary-color: #6c757d;
    --text-dark: #2c3e50;
    --text-medium: #495057;
    --text-light: #6c757d;
    --border-light: #dee2e6;
    --background-light: #f8f9fa;
    --background-gray: #e9ecef;
    --white: #ffffff;
    --success: #28a745;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-medium);
    background: var(--white);
    margin: 0;
    padding: 0;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0 0 var(--spacing-md) 0;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Global Button Updates */
.btn {
    font-family: var(--font-family);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-medium);
    border-color: var(--border-light);
}

.btn-outline:hover {
    background: var(--background-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* === MODERN HEADER STYLES === */

.modern-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo */
.site-branding .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.site-branding .logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    font-size: 28px;
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 300;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
}

.btn-outline {
    color: #4a4a4a;
    border-color: #e0e0e0;
}

.btn-outline:hover {
    background: #f8f8f8;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #4a4a4a;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        height: 60px;
        padding: 0 15px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-icon {
        font-size: 24px;
    }
}

/* === MODERN HOMEPAGE STYLES === */

.modern-hero {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-gray) 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2320c997" fill-opacity="0.05"><circle cx="10" cy="10" r="2"/></g></g></svg>');
    opacity: 0.6;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(32, 201, 151, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
    border: 1px solid rgba(32, 201, 151, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 300;
    color: #1a1a1a;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 300;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-img {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.profile-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.profile-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

.compatibility-bar {
    background: #f3f4f6;
    border-radius: 8px;
    height: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 8px;
    transition: width 2s ease;
}

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

/* Match Features */
.match-features {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature {
    font-size: 0.85rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.cta-section .btn-primary:hover {
    background: var(--background-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* === MATCHING SYSTEM CUSTOM STYLES === */

/* Γενικά στυλ */
.matching-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Στυλ για το Homepage */
.homepage-hero {
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.homepage-hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.homepage-hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.4);
    color: white;
    text-decoration: none;
}

/* Στυλ για το Ερωτηματολόγιο */
#matching-questionnaire {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 700px;
}

#questionnaire-form h3 {
    color: #9d0ca8;
    border-bottom: 2px solid #9d0ca8;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.3em;
}

#questionnaire-form p {
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #9d0ca8;
}

#questionnaire-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

#questionnaire-form input[type="range"] {
    width: 100%;
    margin: 10px 0;
    background: linear-gradient(to right, #9d0ca8, #6d0574);
    height: 8px;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#questionnaire-form input[type="range"]:hover {
    opacity: 1;
}

#questionnaire-form input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b6b;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#questionnaire-form input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b6b;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#questionnaire-form output {
    display: inline-block;
    background: #9d0ca8;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 10px;
    min-width: 30px;
    text-align: center;
}

#questionnaire-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#questionnaire-form select:focus {
    border-color: #9d0ca8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#questionnaire-form input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#questionnaire-form input[type="number"]:focus {
    border-color: #9d0ca8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#questionnaire-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    min-height: 100px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

#questionnaire-form textarea:focus {
    border-color: #9d0ca8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#questionnaire-form input[type="submit"] {
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    min-width: 200px;
}

#questionnaire-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Στυλ για τα Αποτελέσματα */
#matching-results {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 800px;
}

#matching-results h3 {
    color: #9d0ca8;
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    border-bottom: 2px solid #9d0ca8;
    padding-bottom: 15px;
}

.matches-list {
    display: grid;
    gap: 20px;
}

.match-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none !important;
    border-radius: 15px !important;
    padding: 25px !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.match-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
}

.match-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.match-item h4 {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
}

.match-item p {
    margin: 8px 0;
    color: #555;
    line-height: 1.6;
}

.match-item strong {
    color: #9d0ca8;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .matching-container {
        padding: 10px;
    }

    .homepage-hero {
        padding: 50px 15px;
    }

    .homepage-hero h1 {
        font-size: 2em;
    }

    #matching-questionnaire,
    #matching-results {
        padding: 20px;
        margin: 10px;
    }

    #questionnaire-form p {
        padding: 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.match-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #9d0ca8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === MULTI-STEP QUESTIONNAIRE STYLES === */

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.progress-text {
    text-align: center;
    color: #9d0ca8;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
    border-radius: 6px;
    transition: width 0.4s ease;
    position: relative;
}

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

.progress-percentage {
    min-width: 40px;
    text-align: center;
    color: #9d0ca8;
    font-weight: bold;
    font-size: 1em;
}

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

/* Step Container */
.step {
    display: none !important;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    min-height: 400px;
}

.step.active {
    display: block !important;
    animation: fadeInSlide 0.5s ease forwards;
}

.step h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
}

.form-group select,
.form-group input[type="number"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group select:focus,
.form-group input[type="number"]:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: #9d0ca8;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group select.error,
.form-group input[type="number"].error,
.form-group input[type="text"].error {
    border-color: #ff6b6b;
    animation: shake 0.5s ease;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.radio-option:hover {
    border-color: #9d0ca8;
    background: #f8f9ff;
}

.radio-option input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + span {
    color: #9d0ca8;
    font-weight: bold;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: #9d0ca8;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.radio-option span {
    font-size: 1em;
    transition: color 0.3s ease;
}

.radio-group.error .radio-option {
    border-color: #ff6b6b;
    animation: shake 0.5s ease;
}

/* === IQ TEST STYLES === */

.iq-test-intro {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    border: 1px solid var(--border-light);
}

.iq-test-intro p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

.iq-test-intro p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.iq-questions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.iq-question {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.iq-question:hover {
    border-color: var(--primary-color);
}

.iq-question h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.iq-question p {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    line-height: 1.5;
}

.iq-options {
    display: grid;
    gap: var(--spacing-md);
}

.iq-option {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--background-light);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.iq-option:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.iq-option input[type="radio"] {
    margin-right: var(--spacing-md);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.iq-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.iq-option:has(input[type="radio"]:checked) {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.1);
}

.iq-option span {
    font-size: var(--font-size-base);
    transition: color 0.3s ease;
}

/* Placeholder Box */
.iq-placeholder {
    margin-top: var(--spacing-xl);
}

.placeholder-box {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-gray) 100%);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px dashed var(--border-light);
}

.placeholder-box h4 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xl);
}

.placeholder-box p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
}

.placeholder-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.placeholder-box li {
    background: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-medium);
    border: 1px solid var(--border-light);
}

.placeholder-box small {
    color: var(--text-light);
    font-style: italic;
}

/* Mobile Responsive for IQ Test */
@media (max-width: 768px) {
    .iq-question {
        padding: var(--spacing-lg);
    }

    .iq-option {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .placeholder-box {
        padding: var(--spacing-lg);
    }

    .placeholder-box ul {
        flex-direction: column;
        align-items: center;
    }
}

/* === HUMOR TEST STYLES === */

.humor-test-intro {
    background: linear-gradient(135deg, var(--background-light) 0%, #fff9e6 100%);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    border: 1px solid #ffd700;
    position: relative;
}

.humor-test-intro::before {
    content: '😄';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: var(--spacing-sm);
    border-radius: 50%;
    font-size: 24px;
    border: 2px solid #ffd700;
}

.humor-test-intro p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

.humor-test-intro p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #ff8c00;
    font-size: var(--font-size-lg);
}

.humor-questions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.humor-question {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.humor-question::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ffd700, #ff8c00, #ff6b6b);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.humor-question:hover::before {
    opacity: 1;
}

.humor-question:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.humor-question h4 {
    color: #ff8c00;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.humor-question h4::before {
    content: '🤔';
    font-size: 20px;
}

.humor-question p {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    line-height: 1.5;
}

.humor-options {
    display: grid;
    gap: var(--spacing-md);
}

.humor-option {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, #fff9e6 0%, var(--background-light) 100%);
    border: 2px solid #ffeaa7;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.humor-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.humor-option:hover::before {
    left: 100%;
}

.humor-option:hover {
    background: var(--white);
    border-color: #ff8c00;
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.humor-option input[type="radio"] {
    margin-right: var(--spacing-md);
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ff8c00;
}

.humor-option input[type="radio"]:checked + span {
    color: #ff8c00;
    font-weight: 600;
}

.humor-option:has(input[type="radio"]:checked) {
    background: var(--white);
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
    transform: translateX(8px);
}

.humor-option span {
    font-size: var(--font-size-base);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Humor Placeholder Box */
.humor-placeholder {
    margin-top: var(--spacing-xl);
}

.humor-placeholder .placeholder-box {
    background: linear-gradient(135deg, #fff9e6 0%, #ffeb99 100%);
    border: 2px dashed #ffd700;
}

.humor-placeholder .placeholder-box h4 {
    color: #ff8c00;
}

.humor-placeholder .placeholder-box li {
    background: var(--white);
    border: 1px solid #ffd700;
    color: #ff8c00;
    font-weight: 500;
}

/* Mobile Responsive for Humor Test */
@media (max-width: 768px) {
    .humor-question {
        padding: var(--spacing-lg);
    }

    .humor-option {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .humor-test-intro::before {
        font-size: 20px;
        top: -12px;
    }
}

/* ===== STEP 4: LIFESTYLE & OPINIONS STYLING ===== */
/* Updated: Blue theme consistency */
#step-4 {
    background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 100%);
    border: 2px solid #9d0ca8;
    color: #6d0574;
}

#step-4 h3 {
    color: #9d0ca8;
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(25, 118, 210, 0.1);
}

.lifestyle-intro {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border: 2px solid #9d0ca8;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lifestyle-intro::before {
    content: "🌱";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 50%;
    border: 2px solid #28a745;
}

.lifestyle-intro p {
    color: #155724;
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.lifestyle-questions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.lifestyle-questions .form-group {
    background: var(--white);
    border: 2px solid #d4edda;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lifestyle-questions .form-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    transition: width 0.3s ease;
}

.lifestyle-questions .form-group:hover {
    border-color: #28a745;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
}

.lifestyle-questions .form-group:hover::before {
    width: 8px;
}

.lifestyle-questions .form-group label {
    color: #155724;
    font-weight: 600;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    display: block;
}

.lifestyle-questions .form-group select {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid #d4edda;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    color: #155724;
    background: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.lifestyle-questions .form-group select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.lifestyle-questions .form-group select:hover {
    border-color: #28a745;
}

/* Radio Groups for Lifestyle Questions */
.lifestyle-questions .radio-group {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: nowrap;
    margin-top: var(--spacing-md);
    justify-content: flex-start;
}

.lifestyle-questions .radio-option {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #d4edda;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    min-width: 120px;
    justify-content: center;
    font-weight: 500;
}

.lifestyle-questions .radio-option:hover {
    background: var(--white);
    border-color: #28a745;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.lifestyle-questions .radio-option input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #28a745;
}

.lifestyle-questions .radio-option input[type="radio"]:checked + span {
    color: #28a745;
    font-weight: 600;
}

.lifestyle-questions .radio-option:has(input[type="radio"]:checked) {
    background: var(--white);
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
}

.lifestyle-questions .radio-option span {
    font-size: var(--font-size-base);
    transition: color 0.3s ease;
    color: #155724;
}

/* Mobile Responsive for Lifestyle */
@media (max-width: 768px) {
    .lifestyle-questions .radio-group {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .lifestyle-questions .radio-option {
        min-width: unset;
        flex: 1;
        min-width: 100px;
    }

    .lifestyle-intro::before {
        font-size: 20px;
        top: -12px;
    }

    #step-4 h3 {
        font-size: 1.8em;
    }
}

/* ===== STEP 5: HOBBIES & INTERESTS STYLING ===== */
#step-5 {
    background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 100%);
    border: 2px solid #9d0ca8;
    color: #6d0574;
}

#step-5 h3 {
    color: #9d0ca8;
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(25, 118, 210, 0.1);
}

.hobbies-intro {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border: 2px solid #9d0ca8;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hobbies-intro::before {
    content: "🎯";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 50%;
    border: 2px solid #dc2626;
}

.hobbies-intro p {
    color: #7f1d1d;
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.hobbies-sections {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.hobby-section {
    background: var(--white);
    border: 1px solid rgba(157, 12, 168, 0.12);
    border-radius: 12px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.hobby-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
}

.hobby-section h4 {
    color: #334155;
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding-left: 4px;
}

.hobby-icon {
    font-size: 1.1em;
    color: #9d0ca8;
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.hobby-item {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 11px 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    min-height: 44px;
}

.hobby-item:hover {
    background: var(--white);
    border-color: rgba(157, 12, 168, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(157, 12, 168, 0.08);
}

.hobby-item input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: #9d0ca8;
    flex-shrink: 0;
}

.hobby-item input[type="checkbox"]:checked + span {
    color: #9d0ca8;
    font-weight: 600;
}

.hobby-item:has(input[type="checkbox"]:checked) {
    background: rgba(157, 12, 168, 0.04);
    border-color: #9d0ca8;
    box-shadow: 0 0 0 2px rgba(157, 12, 168, 0.08);
    transform: translateY(-1px);
}

.hobby-item span {
    font-size: 0.875rem;
    transition: color 0.25s ease;
    color: #475569;
    line-height: 1.35;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Extreme Hobbies Special Styling */
.hobby-item.extreme {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.hobby-item.extreme:hover {
    border-color: #d97706;
    background: #fefce8;
}

.hobby-item.extreme input[type="checkbox"] {
    accent-color: #f59e0b;
}

.hobby-item.extreme input[type="checkbox"]:checked + span {
    color: #d97706;
}

.hobby-item.extreme:has(input[type="checkbox"]:checked) {
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* Book Categories */
.book-category {
    margin-bottom: var(--spacing-xl);
}

.book-category h5 {
    color: #dc2626;
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding-left: var(--spacing-md);
    border-left: 4px solid #dc2626;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-xs);
}

.book-item {
    background: linear-gradient(135deg, #fef7ff 0%, #fae8ff 100%);
    border: 2px solid #e9d5ff;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-weight: 500;
    font-size: var(--font-size-xs);
    min-height: 42px;
}

.book-item:hover {
    background: var(--white);
    border-color: #a855f7;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.book-item input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #a855f7;
    flex-shrink: 0;
}

.book-item input[type="checkbox"]:checked + span {
    color: #7c3aed;
    font-weight: 600;
}

.book-item:has(input[type="checkbox"]:checked) {
    background: var(--white);
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.book-item span {
    font-size: var(--font-size-xs);
    transition: color 0.3s ease;
    color: #581c87;
    line-height: 1.3;
    flex: 1;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Mobile Responsive for Hobbies */
@media (max-width: 768px) {
    .hobby-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: var(--spacing-xs);
    }

    .book-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .hobbies-intro::before {
        font-size: 20px;
        top: -12px;
    }

    #step-5 h3 {
        font-size: 1.8em;
    }

    .hobby-section {
        padding: var(--spacing-lg);
    }

    .hobby-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
        min-height: 40px;
    }

    .book-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        min-height: 32px;
    }
}

/* ===== STEP 6: PRIORITIES STYLING ===== */
#step-6 {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border: 2px solid #9d0ca8;
    color: #6d0574;
}

#step-6 h3 {
    color: #9d0ca8;
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(157, 12, 168, 0.1);
}

.priorities-intro {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border: 2px solid #9d0ca8;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.priorities-intro::before {
    content: "🏆";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 50%;
    border: 2px solid #9d0ca8;
}

.priorities-intro p {
    color: #6d0574;
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.6;
}

.priorities-hint {
    background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 100%);
    border: 1px solid #d8b4fe;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: #6d0574;
}

.hint-icon {
    font-size: 1.2em;
}

.priorities-container {
    background: var(--white);
    border: 2px solid rgba(157, 12, 168, 0.15);
    border-radius: 12px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.priorities-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
}

.priorities-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.priority-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: grab;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
    user-select: none;
}

.priority-item:hover {
    background: var(--white);
    border-color: #9d0ca8;
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.priority-item:active {
    cursor: grabbing;
}

.priority-item.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
    box-shadow: 0 8px 25px rgba(157, 12, 168, 0.3);
    z-index: 1000;
}

.priority-item.drag-over {
    border-color: #6d0574;
    background: #faf5ff;
    transform: translateX(8px);
}

.priority-rank {
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
    color: var(--white);
    font-weight: 700;
    font-size: var(--font-size-sm);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(157, 12, 168, 0.3);
}

.priority-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.priority-text {
    flex: 1;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #6d0574;
}

.drag-handle {
    color: #94a3b8;
    font-size: 1.2em;
    font-weight: 700;
    cursor: grab;
    flex-shrink: 0;
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.priority-item:hover .drag-handle {
    color: #9d0ca8;
    background: #f1f5f9;
}

.priority-item:active .drag-handle {
    cursor: grabbing;
}

/* Mobile Responsive for Priorities */
@media (max-width: 768px) {
    .priorities-intro::before {
        font-size: 20px;
        top: -12px;
    }

    #step-6 h3 {
        font-size: 1.8em;
    }

    .priorities-container {
        padding: var(--spacing-lg);
    }

    .priority-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .priority-text {
        font-size: var(--font-size-sm);
    }

    .priorities-hint {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
}

/* Slider Container */
.slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.slider-container input[type="range"] {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #9d0ca8 0%, #6d0574 100%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-container output {
    min-width: 30px;
    background: #9d0ca8;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 0.9em;
}

.form-group small {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 20px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navigation-buttons button {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

#next-btn,
#submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
}

#next-btn:hover,
#submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(157, 12, 168, 0.4);
}

#next-btn:active,
#submit-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shake {
    0%, 20%, 40%, 60%, 80%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
}

/* Responsive Design για Multi-Step */
@media (max-width: 768px) {
    .step {
        padding: 20px;
        min-height: 350px;
    }

    .navigation-buttons {
        padding: 15px 20px;
    }

    .navigation-buttons button {
        width: 100%;
        min-width: auto;
        max-width: 250px;
    }

    .slider-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .slider-container output {
        align-self: center;
    }

    .progress-container {
        padding: 15px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .radio-option {
        width: 100%;
    }

    .progress-bar-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .progress-percentage {
        align-self: center;
        min-width: auto;
    }
}