/* Avatars Modal Styles - Matching Subscriptions Modal Design */

/* Modal Overlay */
.avatars-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.avatars-modal.active {
    display: flex !important;
}

/* Modal Container */
.avatars-modal-content {
    background: #141517;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Modal Header */
.avatars-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avatars-modal-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatars-modal-brand-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
}

.avatars-modal-badge {
    font-size: 8px;
    padding: 3.2px 6.4px;
    background: #ff6b00;
    color: #fff;
    border-radius: 3px;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
}

.avatars-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.avatars-modal-close:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Modal Content Area */
.avatars-modal-body {
    padding: 24px 0;
    max-height: calc(90vh - 49px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.avatars-modal-body::-webkit-scrollbar {
    display: none;
}

/* Tabs */
.avatars-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    padding: 0 24px;
    margin-bottom: 1.5rem;
}

.avatars-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.avatars-tab svg {
    width: 14px;
    height: 14px;
    transition: all 0.2s;
}

.avatars-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.avatars-tab.active {
    color: #f97316;
    border-bottom-color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

/* Tab Content */
.avatars-tab-content {
    display: none;
    padding: 0 24px;
}

.avatars-tab-content.active {
    display: block;
}

/* Search Bar */
.avatars-search-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.avatars-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.875rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    transition: all 0.2s;
}

.avatars-search-input:focus {
    outline: none;
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.avatars-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.avatars-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(249, 115, 22, 0.6);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.avatars-search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.avatars-search-clear:hover {
    color: rgba(255, 255, 255, 0.8);
}

.avatars-search-clear.visible {
    display: flex;
}

/* Rows Container - Orange bordered rounded container */
.avatars-rows-container {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

/* Avatar Row */
.avatars-avatar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin: 0;
    background: transparent;
    border-top: 1px solid rgba(249, 115, 22, 0.15);
    transition: all 0.2s;
    cursor: pointer;
}

.avatars-avatar-row:hover {
    background: rgba(249, 115, 22, 0.08);
}

.avatars-avatar-row:first-child {
    border-top: none;
}

/* Avatar Image */
.avatars-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

/* Avatar Info */
.avatars-avatar-info {
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.avatars-avatar-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.avatars-avatar-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.avatars-avatar-type-badge.expert {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.avatars-avatar-type-badge svg {
    width: 8px;
    height: 8px;
}

.avatars-avatar-bio {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.25rem;
}

/* Action Buttons */
.avatars-avatar-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.avatars-avatar-btn {
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.avatars-avatar-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.avatars-avatar-btn-hire {
    background: linear-gradient(90deg, hsla(24, 95%, 53%, 0.15) 0%, hsla(20, 95%, 48%, 0.2) 100%);
    border: 1px solid hsla(24, 95%, 53%, 0.3);
    color: hsl(24, 95%, 53%);
}

.avatars-avatar-btn-hire:hover {
    background: linear-gradient(90deg, hsla(24, 95%, 53%, 0.25) 0%, hsla(20, 95%, 48%, 0.3) 100%);
    border-color: hsla(24, 95%, 53%, 0.5);
    opacity: 1;
}

/* Avatar Metrics (Level, Rating, Verified) */
.avatars-avatar-metrics {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.avatars-avatar-level {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.avatars-avatar-level-num {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.avatars-avatar-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.avatars-avatar-star {
    width: 8px;
    height: 8px;
    color: #ff8000;
}

.avatars-avatar-verified {
    width: 12px;
    height: 12px;
    color: #0066ff;
}

/* Empty State */
.avatars-empty {
    text-align: center;
    padding: 60px 20px;
}

.avatars-empty svg {
    margin: 0 auto 20px;
    opacity: 0.3;
}

.avatars-empty h3 {
    color: #64748b;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.avatars-empty p {
    color: #475569;
    font-size: 0.875rem;
    margin: 0;
}


/* ===== Hire Modal Styles ===== */

/* Filter Modal Header Styles (used by hire modal) */
.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-modal-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-modal-brand-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.filter-modal-badge {
    font-size: 0.5rem;
    padding: 0.2rem 0.4rem;
    background: #ff6b00;
    color: #fff;
    border-radius: 3px;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
}

.filter-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.filter-modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.filter-modal-back-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    transition: all 0.2s;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
}

.filter-modal-back-btn:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 1) !important;
}

/* Hire Modal Body */
.hire-modal-body {
    padding: 2rem 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Hire Avatar Header */
.hire-avatar-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hire-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.hire-avatar-details {
    flex: 1;
}

.hire-avatar-name-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.hire-avatar-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.hire-expert-badge {
    padding: 3px 8px;
    background: #ffd700;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hire-avatar-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hire-avatar-bio {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.hire-avatar-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.hire-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hire-stat-value {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.hire-stat-star {
    width: 12px;
    height: 12px;
    color: #ff8000;
}

.hire-stat-verified {
    width: 16px;
    height: 16px;
    color: #0066ff;
}

/* Research Request Styles for Hire Modal */
.research-request-section-hire {
    margin-top: 2rem;
}

.research-request-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.research-request-icon {
    width: 24px;
    height: 24px;
    color: #f97316;
    flex-shrink: 0;
}

.research-request-title #hireTypewriterTextContent::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
    font-weight: 700;
    font-size: 1.3rem;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.research-request-input-container {
    display: flex;
    gap: 0.75rem;
}

.research-request-input-wrapper {
    flex: 1;
    position: relative;
}

.research-request-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: white;
    padding: 0.625rem 2rem 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.research-request-input::placeholder {
    color: #94a3b8;
}

.research-request-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.research-request-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chevron-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: #94a3b8;
    pointer-events: none;
}

.research-button {
    background: #f97316;
    color: black;
    padding: 0 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.research-button:hover:not(:disabled) {
    background: rgba(249, 115, 22, 0.8);
}

.research-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.button-icon {
    width: 1rem;
    height: 1rem;
}

/* Ticker Dropdown Styles */
.ticker-dropdown {
    position: fixed;
    background: black;
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-height: 16rem;
    overflow-y: auto;
    z-index: 10001;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ticker-dropdown::-webkit-scrollbar {
    display: none;
}

.ticker-dropdown-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.ticker-dropdown-item:hover {
    background: rgba(51, 65, 85, 0.5);
}

.ticker-dropdown-item.selected {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.ticker-info-left {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0;
}

.ticker-symbol {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
}

.ticker-dropdown-item.selected .ticker-symbol {
    color: #f97316;
}

.ticker-company {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-industry {
    font-size: 0.75rem;
    color: #64748b;
    margin-left: 1rem;
    white-space: nowrap;
}

/* ===== Mobile Responsive Styles ===== */
@media (max-width: 640px) {
    /* Full-screen modal on mobile */
    .avatars-modal {
        padding: 0;
        align-items: stretch;
    }

    .avatars-modal-content {
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        border: none;
    }

    /* Compact header */
    .avatars-modal-header {
        padding: 10px 16px;
    }

    .avatars-modal-brand-text {
        font-size: 14px;
    }

    .avatars-modal-badge {
        font-size: 7px;
        padding: 2px 5px;
    }

    .avatars-modal-close {
        width: 28px;
        height: 28px;
    }

    .avatars-modal-close svg {
        width: 16px;
        height: 16px;
    }

    /* Compact content area */
    .avatars-modal-body {
        padding: 16px 0;
        max-height: calc(100vh - 45px);
    }

    /* Compact title section */
    .avatars-modal-body > div:first-child {
        padding: 0 16px !important;
        margin-bottom: 12px !important;
    }

    .avatars-modal-body > div:first-child h2 {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }

    .avatars-modal-body > div:first-child p {
        font-size: 0.75rem !important;
    }

    /* Compact tabs */
    .avatars-tabs {
        padding: 0 16px;
        margin-bottom: 1rem;
    }

    .avatars-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.6875rem;
        gap: 0.375rem;
    }

    .avatars-tab svg {
        width: 12px;
        height: 12px;
    }

    /* Compact tab content */
    .avatars-tab-content {
        padding: 0 16px;
    }

    /* Compact search bar */
    .avatars-search-container {
        margin-bottom: 1rem;
    }

    .avatars-search-input {
        padding: 0.625rem 0.875rem 0.625rem 2.25rem;
        font-size: 0.8125rem;
    }

    .avatars-search-icon {
        left: 0.75rem;
        width: 14px;
        height: 14px;
    }

    /* Compact avatar rows - keep buttons on right, stacked */
    .avatars-avatar-row {
        padding: 0.625rem 0.75rem;
        gap: 0.625rem;
        flex-wrap: nowrap;
    }

    .avatars-avatar-img {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }

    .avatars-avatar-info {
        flex: 1;
        min-width: 0;
    }

    .avatars-avatar-name {
        font-size: 0.8125rem;
        gap: 0.375rem;
        flex-wrap: nowrap;
    }

    .avatars-avatar-type-badge {
        font-size: 0.5rem;
        padding: 1px 4px;
    }

    .avatars-avatar-bio {
        font-size: 0.6875rem;
        margin-top: 2px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }

    .avatars-avatar-metrics {
        font-size: 0.625rem;
        gap: 0.5rem;
        margin-top: 2px;
    }

    /* Stacked buttons on the right */
    .avatars-avatar-actions {
        flex-direction: column;
        gap: 4px;
        margin-left: 0;
        width: auto;
        flex-shrink: 0;
    }

    .avatars-avatar-btn {
        padding: 5px 10px;
        font-size: 0.625rem;
        font-weight: 600;
        border-radius: 5px;
        text-align: center;
        min-width: 52px;
        background: rgba(255, 255, 255, 0.12);
        border: none;
        color: #ffffff;
    }

    .avatars-avatar-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border: none;
    }

    .avatars-avatar-btn-hire {
        background: #f97316;
        border: none;
        color: #000000;
        font-weight: 700;
    }

    .avatars-avatar-btn-hire:hover {
        background: #ea6c0e;
        border: none;
    }

    /* Compact empty state */
    .avatars-empty {
        padding: 40px 16px;
    }

    .avatars-empty svg {
        width: 60px;
        height: 60px;
    }

    .avatars-empty h3 {
        font-size: 1rem;
    }

    .avatars-empty p {
        font-size: 0.8125rem;
    }

    /* Compact hire modal */
    #hireModal .avatars-modal-content {
        max-width: 100% !important;
        height: 100vh;
        border-radius: 0;
        border: none;
    }

    .filter-modal-header {
        padding: 10px 16px;
    }

    .filter-modal-brand-text {
        font-size: 14px;
    }

    .filter-modal-badge {
        font-size: 7px;
        padding: 2px 5px;
    }

    .filter-modal-close {
        width: 28px;
        height: 28px;
        font-size: 1.25rem;
    }

    .filter-modal-back-btn {
        padding: 0.375rem !important;
    }

    .filter-modal-back-btn span {
        font-size: 0.75rem !important;
    }

    .hire-modal-body {
        padding: 1.25rem 1rem;
        max-height: calc(100vh - 45px);
    }

    /* Avatar header: horizontal compact layout */
    .hire-avatar-header {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    .hire-avatar-img {
        width: 64px;
        height: 64px;
        border-radius: 10px;
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    }

    .hire-avatar-name-row {
        gap: 0.5rem;
        margin-bottom: 0.375rem;
    }

    .hire-avatar-name {
        font-size: 1.125rem;
    }

    .hire-expert-badge {
        padding: 2px 6px;
        font-size: 8px;
    }

    .hire-avatar-tags {
        gap: 0.375rem;
    }

    .hire-avatar-bio {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hire-avatar-stats {
        gap: 1rem;
        font-size: 0.8125rem;
    }

    .hire-stat-star {
        width: 10px;
        height: 10px;
    }

    .hire-stat-verified {
        width: 14px;
        height: 14px;
    }

    /* Research section compact */
    .research-request-section-hire {
        margin-top: 1.25rem;
    }

    .research-request-title {
        font-size: 1rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .research-request-icon {
        width: 20px;
        height: 20px;
    }

    .research-request-input-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .research-request-input {
        font-size: 0.875rem;
    }

    .research-button {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    /* Ticker dropdown on mobile */
    .ticker-dropdown {
        max-height: 12rem;
    }

    .ticker-dropdown-item {
        padding: 0.625rem 0.875rem;
    }
}

/* ===== Workflow Selection Styles (matches profile page) ===== */
.workflow-selection-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.workflow-selection-container::-webkit-scrollbar {
    display: none;
}

.workflow-option {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.workflow-option:hover {
    border-color: rgba(249, 115, 22, 0.6);
    background: rgba(249, 115, 22, 0.05);
}

.workflow-option.selected {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

.workflow-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(249, 115, 22, 0.5);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.workflow-option.selected .workflow-checkbox {
    background: #f97316;
    border-color: #f97316;
}

.workflow-option.selected .checkmark {
    display: block !important;
}

.workflow-name {
    font-size: 0.938rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflow-description {
    font-size: 0.813rem;
    color: #94a3b8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workflow-image-container {
    width: 120px;
    flex-shrink: 0;
    margin-left: 1rem;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.workflow-image-container.default-image {
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.workflow-image-default {
    object-fit: contain;
    padding: 0.75rem;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6)) drop-shadow(0 0 16px rgba(249, 115, 22, 0.4));
}

/* Workflow mobile overrides */
@media (max-width: 640px) {
    .workflow-selection-container {
        max-height: 150px;
    }

    .workflow-option {
        padding: 0.75rem;
    }

    .workflow-image-container {
        width: 80px;
        margin-left: 0.75rem;
    }

    .workflow-name {
        font-size: 0.85rem;
    }

    .workflow-description {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
    }
}
