/* ============================================
   COMPARISON TOOL STYLES
   ============================================ */

/* Compare picker - TOP RIGHT CORNER */
.comparison-pick {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.12rem 0.3rem;
    border-radius: 4px;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
    pointer-events: auto;
}

.executor-card-new:hover .comparison-pick,
.comparison-pick:has(.comparison-checkbox:checked) {
    opacity: 1;
    transform: translateY(0);
}

.comparison-pick-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    user-select: none;
}

.comparison-pick-toggle {
    display: flex;
    align-items: center;
}

.comparison-checkbox {
    display: none;
}

.comparison-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(12, 12, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.comparison-checkbox-label i {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
    transition: color 0.25s ease;
}

.comparison-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
    transform: scale(1.04);
}

.comparison-checkbox:checked + .comparison-checkbox-label {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.comparison-checkbox:checked + .comparison-checkbox-label i {
    color: #fff;
}

.comparison-compare-btn--inactive {
    opacity: 0.42 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Comparison Bar - ABSOLUTELY FIXED AT BOTTOM OF VIEWPORT */
.comparison-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    background: linear-gradient(180deg, rgba(4, 4, 4, 0.98) 0%, rgba(2, 2, 2, 0.99) 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.85rem 1.25rem !important;
    z-index: 2147483647 !important;
    box-shadow: 
        0 -10px 40px rgba(0, 0, 0, 0.9),
        0 -1px 0 rgba(255, 255, 255, 0.08) !important;
    animation: slideUpBar 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    margin: 0 !important;
    transform: none !important;
}

@keyframes slideUpBar {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Add padding to sections when compare bar is active */
.section:has(~ .comparison-bar),
.executors-grid-new:has(~ .comparison-bar) {
    padding-bottom: 140px !important;
}

/* Ensure footer doesn't overlap */
footer {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

@keyframes slideUpBar {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.comparison-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.comparison-bar-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.comparison-bar-header h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.comparison-bar-header p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.comparison-clear-btn {
    padding: 0.6rem 0.8rem;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 10px;
    color: #ff4444;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.comparison-clear-btn:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.5);
    transform: translateY(-2px);
}

.comparison-bar-items {
    display: flex;
    gap: 1rem;
    flex: 1;
    overflow-x: auto;
    padding: 0.2rem 0;
}

/* Custom scrollbar for comparison bar items */
.comparison-bar-items::-webkit-scrollbar {
    height: 4px;
}

.comparison-bar-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.comparison-bar-items::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.comparison-bar-items::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.comparison-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.comparison-bar-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.comparison-bar-item img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-bar-item span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    flex: 1;
    letter-spacing: -0.3px;
}

.comparison-remove-btn {
    padding: 0.4rem 0.6rem;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.2);
    color: rgba(255, 68, 68, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-size: 0.85rem;
}

.comparison-remove-btn:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.4);
    color: #ff4444;
}

.comparison-compare-btn {
    padding: 0.65rem 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    letter-spacing: -0.02em;
}

.comparison-compare-btn:hover:not(.comparison-compare-btn--inactive) {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.comparison-compare-btn:active:not(.comparison-compare-btn--inactive) {
    transform: translateY(0);
}

.comparison-compare-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.comparison-compare-btn i {
    font-size: 1.1rem;
}

/* Comparison Modal */
.comparison-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.comparison-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.comparison-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.comparison-modal-content {
    position: relative;
    background: linear-gradient(135deg, #0d0d0d 0%, #141414 100%);
    border-radius: 24px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.3);
    display: flex;
    flex-direction: column;
}

.comparison-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-modal-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.comparison-modal-body {
    padding: 2rem;
    overflow-y: auto;
    overflow-x: auto;
}

/* Comparison Section - Add padding for compare bar */
.comparison-section {
    min-height: auto;
    padding: 1.5rem 1rem 140px !important;
}

.comparison-section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.comparison-view-toggle {
    display: inline-flex;
    padding: 4px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    gap: 4px;
}

.comparison-view-btn {
    padding: 0.45rem 0.95rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
}

.comparison-view-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.comparison-view-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.45) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}

.comparison-share-btn {
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-share-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.35);
    transform: translateY(-1px);
}

/* Compare panel enter / leave */
#compare.comparison-active {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

#compare.comparison-active.comparison-visible {
    opacity: 1;
    transform: translateY(0);
}

.comparison-table-outer {
    max-width: 1400px;
    margin: 0 auto;
}

.comparison-table-scroll {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.22);
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.98) 0%, rgba(10, 10, 10, 0.99) 100%);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    -webkit-overflow-scrolling: touch;
}

.comparison-table-section {
    width: 100%;
    min-width: 520px;
}

.comparison-col-leader {
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%) !important;
    box-shadow: inset 0 3px 0 rgba(255, 193, 7, 0.65);
}

.comparison-card--leader {
    border-color: rgba(255, 193, 7, 0.45) !important;
    box-shadow: 0 12px 48px rgba(255, 193, 7, 0.12), 0 0 0 1px rgba(255, 193, 7, 0.15);
}

.comparison-leader-ribbon {
    position: absolute;
    top: 14px;
    right: -36px;
    transform: rotate(42deg);
    background: linear-gradient(90deg, #ffc107, #ff9800);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.35rem 2.5rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.comparison-leader-ribbon i {
    margin-right: 0.25rem;
}

.comparison-section-header h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.03em;
}

.back-to-executors-btn,
.clear-comparison-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-executors-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.clear-comparison-btn {
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

.clear-comparison-btn:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.5);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.comparison-view-off {
    display: none !important;
}

@keyframes compareCardIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.comparison-card {
    background: linear-gradient(160deg, #0a0a0a 0%, #050505 55%, #0c0c0c 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.1rem 1.2rem 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    animation: compareCardIn 0.58s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.comparison-grid .comparison-card:nth-child(1) {
    animation-delay: 0.04s;
}

.comparison-grid .comparison-card:nth-child(2) {
    animation-delay: 0.1s;
}

.comparison-grid .comparison-card:nth-child(3) {
    animation-delay: 0.16s;
}

.comparison-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 40px rgba(0, 0, 0, 0.55);
}

.comparison-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.comparison-card-header img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.45);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
    letter-spacing: -0.02em;
}

.comparison-platform {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-sunc-circle {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
}

.comparison-sunc-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sunc-bg-comp {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 8;
}

.sunc-progress-comp {
    fill: none;
    stroke: #5ee9b5;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    transition: stroke-dashoffset 0.15s linear;
    filter: drop-shadow(0 0 6px rgba(94, 233, 181, 0.35));
}

.sunc-text-comp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sunc-percent-comp {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.sunc-s-prefix {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
}

.sunc-label-comp {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.3rem;
}

.comparison-unc-row {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.unc-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.45rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.unc-badge .unc-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.unc-badge .unc-value {
    font-size: 1rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
}

.comparison-status-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.55rem 0.4rem;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
}

.status-item.status-good {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.status-item.status-bad {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

.status-item i {
    font-size: 1.2rem;
}

.comparison-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.65rem 0.5rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 0.55rem;
}

.price-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    line-height: 1.25;
}

.comparison-card .best-price-value {
    font-size: 1.05rem;
}

/* Best Price Box */
.best-price-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border: 2px solid rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.best-price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
}

.best-price-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #ffc107;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.best-price-header i {
    font-size: 1rem;
}

.best-price-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.best-price-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.best-price-seller {
    font-size: 0.85rem;
    color: rgba(255, 193, 7, 0.8);
}

.best-price-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
}

.best-price-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 193, 7, 0.5);
}

.comparison-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    background: rgba(255, 255, 255, 0.025);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
}

.feature-item i:first-child {
    color: rgba(255, 255, 255, 0.5);
    width: 20px;
}

.feature-item span {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
}

.feature-status {
    font-size: 0.9rem;
}

.feature-item.has-feature {
    border-color: rgba(0, 255, 136, 0.2);
}

.feature-item.has-feature .feature-status {
    color: #ffffff;
}

.feature-item.no-feature .feature-status {
    color: rgba(255, 68, 68, 0.6);
}

.feature-item.feature-unknown {
    display: none;
}

.comparison-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 0.85rem;
}

.info-row .info-label {
    color: rgba(255, 255, 255, 0.6);
}

.info-row .info-value {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

.comparison-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comp-btn {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.comp-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.remove-from-comparison {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 10px;
    color: #ff4444;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.remove-from-comparison:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.5);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table thead th {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.comparison-table .feature-column {
    text-align: left;
    min-width: 150px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.comparison-table .executor-column {
    min-width: 200px;
}

.executor-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.executor-header img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
}

.executor-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.executor-platform {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(139, 92, 246, 0.05);
}

.comparison-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.feature-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: left !important;
}

.feature-value {
    font-size: 0.9rem;
}

/* Value Styles */
.value-good {
    color: #ffffff;
    font-weight: 600;
}

.value-bad {
    color: #ff4444;
    font-weight: 600;
}

.value-medium {
    color: #ffa500;
    font-weight: 600;
}

.value-text {
    color: rgba(255, 255, 255, 0.9);
}

.value-unknown {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* Comparison Notifications */
.comparison-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10002;
    transform: translateX(400px);
    opacity: 0;
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.comparison-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.comparison-notification.success {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-notification.warning {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #000;
}

.comparison-notification.info {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* External compare + resellers + table */
.comparison-card--external {
    border-color: rgba(255, 255, 255, 0.12);
}

.comparison-external-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.28rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
}

.comparison-external-copy {
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin: 0 0 0.85rem;
}

.comparison-resellers {
    margin: 0.65rem 0 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.07);
    min-height: 2.5rem;
}

.comparison-resellers-loading,
.comparison-resellers-muted {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
}

.comparison-resellers-head {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.45rem;
}

.comparison-resellers-head i {
    margin-right: 0.35rem;
    opacity: 0.85;
}

.comparison-reseller-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.comparison-reseller-chip {
    font-size: 0.65rem;
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comparison-info--compact .info-row {
    padding: 0.45rem 0.55rem;
    font-size: 0.78rem;
}

.value-na {
    color: rgba(255, 255, 255, 0.28);
}

/* Responsive */
@media (max-width: 768px) {
    .comparison-section-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .comparison-section-header h2 {
        justify-content: center;
        font-size: 1.65rem;
    }

    .comparison-header-actions {
        justify-content: center;
    }

    .comparison-bar {
        padding: 1rem;
    }
    
    .comparison-bar-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comparison-bar-items {
        width: 100%;
    }
    
    .comparison-compare-btn {
        width: 100%;
        justify-content: center;
    }
    
    .comparison-modal-content {
        max-width: 95%;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .executor-header img {
        width: 40px;
        height: 40px;
    }
}
