/* TrustScore Custom Styles - Bootstrap 5 Based */

:root {
    /* Gold Color Palette */
    --gold: #b99542;
    --gold-light: #E6C659;
    --gold-dark: #B8941F;
    --gold-darker: #9A7D1A;
    --light-gold: #eadfc6;
    
    /* Purple Color Palette */
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --purple-dark: #5b21b6;
    
    /* Base Colors */
    --white: #fff;
    --light: #eee;
    --dark: #1a1a1a;
    --light-bg: #f8f9fa;
    --medium-bg: #e9ecef;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-serif: "Cormorant Garamond", 'Times New Roman', 'Georgia', serif;
    --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', Arial, sans-serif;

    /* Text Sizes */
    --text-xs: 14px;
    --text-sm: 16px;
    --text-base: 18px;
    --text-lg: 20px;
    --text-xl: 24px;
    --text-2xl: 32px;
    --text-3xl: 40px;
    --text-4xl: 56px;
    --text-5xl: 64px;

    /* Line Heights */
    --leading-tight: 0.9;
    --leading-snug: 1.1;
    --leading-normal: 1.35;
    --leading-relaxed: 1.5;
}

/* Base Typography */
body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: var(--leading-normal);
    color: var(--dark);
    background-color: var(--light-bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Headings - Serif for literary feel */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--dark);
}

/* Hero Title */
h1, .h1, h2, .h2, .hero-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    h1, .h1, .hero-title {
        font-size: var(--text-5xl);
    }
}

/* Links */
a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

a:focus {
    color: var(--gold-light);
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Navbar Customization */
.navbar.bg-gold {
    background-color: var(--gold) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand, .navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    opacity: 0.8;
}

/* Custom Button Styles */
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 149, 66, 0.3);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* CSS за табовете и оптимизации */
.nav-tabs .nav-link {
    border: none;
    border-bottom: 0;
    background: none;
    color: #6c757d;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
   background-color:#fff;
    color: var(--gold);
}

.nav-tabs .nav-link:hover {
    border-bottom-color: rgba(185, 149, 66, 0.5);
    color: var(--gold);
}

/* Responsive layout решение */
.action-zones-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Desktop: 2 колони, скрити табове */
@media (min-width: 992px) {
    .nav-tabs {
        display: none !important;
    }
    
    .action-zones-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        grid-template-areas: "peer self";
    }
    
    .tab-pane {
        display: block !important;
        opacity: 1 !important;
    }
    
    #peerreview-content {
        grid-area: peer;
    }
    
    #selftest-content {
        grid-area: self;
    }
    
    /* Desktop стилове - по-големи икони и заглавия */
    .action-zones-container .rounded-circle {
        width: 50px !important;
        height: 50px !important;
    }
    
    .action-zones-container .rounded-circle i {
        font-size: 2rem !important;
    }
    
    .action-zones-container h4 {
        font-size: 1.5rem;
        font-weight: 500;
    }
    
    
    .action-zones-container .card-body {
        padding: 2rem !important;
    }
}

/* Мобилни: табове, компактни размери */
@media (max-width: 991.98px) {
    .action-zones-container .card-body {
        padding: 1.5rem !important;
    }
    
    .tab-content .card {
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

/* Utility Classes */
.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

.text-purple {
    color: var(--purple) !important;
}

.bg-purple {
    background-color: var(--purple) !important;
}

.bg-medium {
    background-color: var(--medium-bg) !important;
}

/* Cards with Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(185, 149, 66, 0.15);
}

/* Badge Component - Original */
.trust-badge {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

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

.badge-score {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.badge-grade {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Landscape Badge Component - Златно преливане с анимация */
.trust-badge-landscape-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--white);
    border: none !important;
    position: relative;
    overflow: hidden;
}

.trust-badge-landscape-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

.trust-badge-landscape-gold .text-white {
    color: var(--white) !important;
    position: relative;
    z-index: 1;
}

.trust-badge-landscape-gold .badge {
    background-color: var(--white) !important;
    color: var(--gold) !important;
    position: relative;
    z-index: 1;
}

/* Син trust badge - следва логиката на златния */
.trust-badge-landscape-blue {
    background: linear-gradient(135deg, #3B66A8 0%, #4A7BC8 100%);
    position: relative;
    overflow: hidden;
}

.trust-badge-landscape-blue::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(255, 255, 255, 0.15) 50%, 
        transparent 60%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

/* Помощни класове в същия син нюанс */
.btn-blue {
    background-color: #3B66A8;
    border-color: #3B66A8;
    color: white;
}

.btn-blue:hover {
    background-color: #2C5491;
    border-color: #2C5491;
    color: white;
}

.btn-blue:focus,
.btn-blue.focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 102, 168, 0.25);
}

.btn-blue:active,
.btn-blue.active {
    background-color: #2C5491;
    border-color: #2C5491;
}

.btn-outline-blue {
    color: #3B66A8;
    border-color: #3B66A8;
	border-width: 2px;
}

.btn-outline-blue:hover {
    background-color: #3B66A8;
    border-color: #3B66A8;
    color: white;
}

.border-blue {
    border-color: #3B66A8 !important;
}

.text-blue {
    color: #3B66A8 !important;
}

.bg-blue {
    background-color: #3B66A8 !important;
}

/* Badge вариации */
.badge.bg-blue {
    background-color: #3B66A8 !important;
}

.badge.text-blue {
    color: #3B66A8 !important;
}

/* Alert вариация */
.alert-blue {
    color: #1e3a66;
    background-color: #e8f0ff;
    border-color: #b8d4ff;
}

/* Form control focus */
.form-control:focus.border-blue {
    border-color: #3B66A8;
    box-shadow: 0 0 0 0.25rem rgba(59, 102, 168, 0.25);
}

/* Progress Components */
.progress-custom {
    height: 12px;
    border-radius: 6px;
    background-color: var(--medium-bg);
}

.progress-custom .progress-bar {
    background-color: var(--gold);
    border-radius: 6px;
}

/* Form Enhancements */
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(185, 149, 66, 0.25);
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

/* Question Scale Styling */
.scale-option {
    border: 2px solid var(--medium-bg);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.scale-option:hover {
    border-color: var(--gold);
    background-color: rgba(185, 149, 66, 0.05);
}

.scale-option.selected {
    border-color: var(--gold);
    background-color: var(--gold);
    color: var(--white);
}

.scale-option input[type="radio"] {
    display: none;
}

/* Blockquotes */
blockquote {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--dark);
    padding: 2rem;
    border-left: 4px solid var(--gold);
    background: rgba(185, 149, 66, 0.05);
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

/* Hero Section */
.section {
	padding: 10vh 0;
}
.hero-section {
    padding: 6rem 0 4rem;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b99542' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

/* Stats Section */
.stats-card {
    background: var(--white);
    border: 1px solid var(--medium-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stats-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1, .h1, .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-section {
        padding: 4rem 0 2rem;
    }
    
    
    .badge-score {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
}



/* Празен златен landscape badge - без анимация, по-бледи цветове */
.trust-badge-landscape-gold-empty {
    background: linear-gradient(135deg, #d4c4a0 0%, #e8ddc0 100%);
    color: #8a7a5c;
    position: relative;
    /* Без анимация - премахваме ::before */
}

/* Празен син landscape badge - без анимация, по-бледи цветове */
.trust-badge-landscape-blue-empty {
    background: linear-gradient(135deg, #a8b8d0 0%, #c0cee0 100%);
    color: #6b7a95;
    position: relative;
    /* Без анимация - премахваме ::before */
}

/* Заглушени цветове за текст */
.text-gold-muted {
    color: #a08d65 !important;
}

.text-blue-muted {
    color: #6b7a95 !important;
}

/* Заглушени фонове за иконите */
.bg-gold-muted {
    background-color: #d4c4a0 !important;
    opacity: 0.8;
}

.bg-blue-muted {
    background-color: #a8b8d0 !important;
    opacity: 0.8;
}

/* Заглушени badge-ове */

/* Специални икони за празни състояния */
.trust-badge-landscape-gold-empty .bi-shield-plus,
.trust-badge-landscape-blue-empty .bi-clipboard-plus {
    opacity: 0.6;
}

/* Hover ефекти за празните badges */
.trust-badge-landscape-gold-empty:hover {
    background: linear-gradient(135deg, #c9b995 0%, #ddd2b5 100%);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.trust-badge-landscape-blue-empty:hover {
    background: linear-gradient(135deg, #9dadc5 0%, #b5c3d5 100%);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* Стилове за празни състояния на бутоните */
.btn-outline-gold.empty-state {
    opacity: 0.8;
    border-width: 2px;
}

.btn-outline-blue.empty-state {
    opacity: 0.8;
    border-width: 2px;
}

/* Празни badge елементи - по-малко контрастни */
.trust-badge-landscape-gold-empty .display-2,
.trust-badge-landscape-blue-empty .display-2 {
    font-weight: 300;
    opacity: 0.7;
}

/* Заглушени малки текстове */
.trust-badge-landscape-gold-empty .small,
.trust-badge-landscape-blue-empty .small {
    opacity: 0.6;
    font-style: italic;
}

/* Responsive корекции за празни badges */
@media (max-width: 768px) {
    .trust-badge-landscape-gold-empty,
    .trust-badge-landscape-blue-empty {
        padding: 2rem !important;
    }
    
    .trust-badge-landscape-gold-empty .fs-1,
    .trust-badge-landscape-blue-empty .fs-1 {
        font-size: 1.8rem !important;
    }
    
    .trust-badge-landscape-gold-empty .display-4,
    .trust-badge-landscape-blue-empty .display-4 {
        font-size: 2.5rem !important;
    }
    
    .trust-badge-landscape-gold-empty .display-2,
    .trust-badge-landscape-blue-empty .display-2 {
        font-size: 2rem !important;
    }
}

/* Анимирани преходи при hover на празните card-ове */
.card:has(.trust-badge-landscape-gold-empty),
.card:has(.trust-badge-landscape-blue-empty) {
    transition: all 0.3s ease;
}

.card:has(.trust-badge-landscape-gold-empty):hover,
.card:has(.trust-badge-landscape-blue-empty):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Специален стил за "Pending" badge */
.badge:has(.bi-clock) {
    font-weight: normal;
    font-style: italic;
}

/* Контрастни корекции за достъпност */
.trust-badge-landscape-gold-empty .text-white-muted {
    color: #666 !important;
}

.trust-badge-landscape-blue-empty .text-white-muted {
    color: #555 !important;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Anonymous Badge */
.anonymous-badge {
    background-color: var(--light-gold);
    color: var(--gold);
    padding: 0.45rem 1.75rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 1rem;
    font-weight: 600;
}

.anonymous-badge i {
    font-size: 1.5rem;
}

/* Trust Level Indicators */
.trust-level-a { background-color: var(--success); }
.trust-level-b { background-color: var(--gold); }
.trust-level-c { background-color: var(--warning); }
.trust-level-d { background-color: var(--error); }

/* ===== SHARE COMPONENT STYLES ===== */
/* Add these styles to your main CSS file */

/* Share Component Base */
.share-component {
    display: inline-flex;
    align-items: center;
}

.share-link {
    font-style: normal;
    transition: all 0.3s ease;
}

.share-link:hover {
    background-color: rgba(185, 149, 66, 0.1) !important;
}

/* Share Info Icon with Tooltip */
.share-info-icon {
    font-size: 1.25rem;
    margin-left: 0.25rem;
    cursor: help;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.share-info-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Circle Button Variant */
.btn-circle {
    border-radius: 50% !important;
    padding: 0.75rem !important;
    display: inline-flex;         
    justify-content: center;
    align-items: center;
    width: auto;
    aspect-ratio: 1 / 1;
    min-width: 44px;
    min-height: 44px;
}

/* Fix share button states when dropdown is open */
.share-main-btn.show,
.share-main-btn:focus,
.share-main-btn:active,
.share-main-btn.show:hover,
.share-main-btn.show:focus,
.btn-gold.dropdown-toggle.show,
.btn-gold.dropdown-toggle:focus {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: white !important;
}

/* Remove Bootstrap's default focus shadow for share button */
.share-main-btn:focus,
.share-main-btn.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(185, 149, 66, 0.25);
}

/* Keep hover state consistent */
.share-main-btn.show:hover {
    background-color: #a08239 !important;
    border-color: #a08239 !important;
}

/* Share Dropdown Menu Styling */
.share-dropdown {
    min-width: 200px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
}

.share-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.share-dropdown .dropdown-item:hover {
    background-color: rgba(185, 149, 66, 0.1);
    color: var(--gold);
}

.share-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Custom Popover Styling for Share Info */
.share-popover {
    max-width: 300px;
}

.popover-body {
    padding: 1rem;
    font-size: 1.05rem;
    line-height: 1.45;
    color: var(--dark);
}

.share-popover .popover-arrow::after {
    border-top-color: var(--light-bg);
}

/* Badge Enhancement Styles */
.trust-badge-enhanced {
    transition: transform 0.3s ease;
}

.trust-badge-enhanced:hover {
    transform: scale(1.02);
}

.badge-main {
    transition: all 0.3s ease;
}

.badge-main:hover {
    box-shadow: 0 8px 25px rgba(185, 149, 66, 0.2) !important;
}

/* Progress bars enhancement */
.progress-custom {
    height: 12px;
    border-radius: 6px;
    background-color: var(--medium-bg);
    overflow: hidden;
}

.progress-custom .progress-bar {
    background-color: var(--gold);
    border-radius: 6px;
    transition: width 1.5s ease-in-out;
	height: 12px;
}

/* Notification animations for share feedback */
@keyframes slideInRight {
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

.notification-enter {
    animation: slideInRight 0.5s ease-out;
}

/* Responsive adjustments for share component */
@media (max-width: 768px) {
    .share-component {
        justify-content: center;
        width: 100%;
    }
    
    .share-main-btn {
        min-width: 120px;
    }
    
    .share-dropdown {
        min-width: 180px;
    }
    
    .trust-badge-enhanced {
        max-width: 320px !important;
    }
}

@media (max-width: 576px) {
    .badge-main .row > .col-4 {
        margin-bottom: 1rem;
    }
    
    .badge-main .row > .col-4:last-child {
        margin-bottom: 0;
    }
    
    .trust-badge-enhanced {
        max-width: 280px !important;
    }
}

/* Color fixes for better contrast */
.text-purple {
    color: #7c3aed !important;
}

/* Enhanced dropdown divider */
.share-dropdown .dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(185, 149, 66, 0.2);
}

/* Focus states for accessibility */
.share-link:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(185, 149, 66, 0.5);
}

/* Loading state for share button (optional) */
.share-main-btn.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.share-main-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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


/* ============================================================
   ОБЩИ СТИЛОВЕ ЗА ТЕСТОВЕ (Self-Test & Peer Review)
   ============================================================ */

/* Question Items - Общи за всички тестове */
.question-item {
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

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

.question-item h5 {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Scale Labels - Общи за всички тестове */
.scale-label {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 600;
    flex: 0 1 auto;
    padding: 0 0.25rem;
}

/* Scale Bar - Основен дизайн за 10-точкова скала */
.scale-bar {
    display: flex;
    gap: 2px;
    margin: 10px 0 20px 0;
    height: 45px;
}

.scale-item {
    flex: 1;
    background: #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 4px;
}

.scale-item:first-child {
    border-radius: 6px 0 0 6px;
}

.scale-item:last-child {
    border-radius: 0 6px 6px 0;
}

.scale-item span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.7;
}

.scale-item.active {
    background: #E6C659 !important;
}

.scale-item.active span {
    opacity: 1;
}

.scale-item:hover {
    background: #E6C659 !important;
}

/* Scale Bar Small - За компактни варианти (peer review стъпка 1) */
.scale-bar-small {
    height: 35px;
    padding: 0;
}

.scale-bar-small .scale-item {
    height: 35px;
}

.scale-bar-small .scale-item span {
    font-size: 0.85rem;
}

/* Step Container Animation - Общ за стъпки */
.step-container {
    animation: fadeIn 0.4s ease;
}

.section-slide {
    animation: fadeIn 0.4s ease;
}

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

/* ============================================================
   SELF-TEST СПЕЦИФИЧНИ СТИЛОВЕ
   ============================================================ */

/* Section Progress - Навигационни индикатори за self-test */
.section-progress {
    max-width: 500px;
    margin: 0 auto;
}

.section-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #6c757d;
    position: relative;
}

.section-step.active {
    background-color: #3B66A8;
    color: white;
    transform: translateY(-2px);
}

.section-step.completed {
    background-color: #3B66A8;
    color: white;
}

.section-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-text {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

/* ============================================================
   PEER REVIEW СПЕЦИФИЧНИ СТИЛОВЕ
   ============================================================ */

/* Relationship Selector - Избор на тип отношение */
.relationship-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.relationship-option {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 15px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    flex: 1 1 140px;
    min-width: 120px;
    max-width: 200px;
}

.relationship-option:hover {
    border-color: #E6C659;
    background: rgba(230, 198, 89, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(230, 198, 89, 0.2);
}

.relationship-option.selected {
    border-color: #E6C659;
    background: rgba(230, 198, 89, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(230, 198, 89, 0.3);
}

.relationship-option input[type="radio"] {
    display: none;
}

.relationship-option label {
    cursor: pointer;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.relationship-option label i {
    font-size: 3rem;
    color: #E6C659;
}

.relationship-option label span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Privacy Note - Поверителност бележка под въпроси */
.privacy-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 15px;
    padding: 10px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
}

.privacy-note i {
    font-size: 1.1rem;
}

/* Thank You Section - Благодарствена страница */
.thank-you-section {
    padding: 20px 0;
}

.thank-you-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.thank-you-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
}

.thank-you-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Bonus Section - Бонус оферта след завършване */
.bonus-section {
    background: rgba(230, 198, 89, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
}

.bonus-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

/* ============================================================
   MOBILE RESPONSIVE - Общи за всички тестове
   ============================================================ */

@media (max-width: 768px) {
    /* Self-Test специфично */
    .section-text {
        font-size: 0.75rem;
    }
    
    .section-icon {
        font-size: 1.25rem;
    }
    
    /* Общи адаптации */
    .min-vh-100 {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .question-item h5 {
        font-size: 1.05rem;
    }
    
    .scale-bar {
        height: 40px;
    }
    
    .scale-bar-small {
        height: 30px;
    }
    
    .scale-item span {
        font-size: 0.85rem;
    }
    
    /* Peer Review специфично */
    .anonymous-badge {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .relationship-option label {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .question-item > div:first-of-type {
        flex-wrap: wrap;
        gap: 0.25rem 0.5rem;
    }
    
    .scale-label {
        font-size: 0.85rem;
    }
    
    .scale-bar {
        height: 38px;
        gap: 1px;
    }
    
    .scale-bar-small {
        height: 28px;
        gap: 1px;
    }
}