/**
 * Senna Vogue - Ultra-Premium Magazine Interface
 * Seamless, borderless, Claude-inspired but superior
 */

/* Reset and Base */
.sffc-opportunities-wrapper * {
    box-sizing: border-box;
}

/* Main Container - No borders, pure elegance */
.sffc-opportunities-wrapper {
    background: rgb(255, 255, 247);
    min-height: 100vh;
    font-family: 'Crimson Text', 'Playfair Display', Georgia, serif;
    position: relative;
    overflow-x: hidden;
}

/* Header Section */
.sffc-opp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    margin-bottom: 32px;
    position: relative;
}

@media (max-width: 768px) {
    .sffc-opp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Skill Farm Branding */
.sffc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sffc-brand-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sffc-brand-s {
    font-size: 28px;
    font-weight: 700;
    color: #1A3028;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.sffc-brand-dot {
    position: absolute;
    top: 2px;
    right: -6px;
    width: 6px;
    height: 6px;
    background: #C9A961;
    border-radius: 50%;
}

.sffc-brand-text {
    font-size: 20px;
    font-weight: 500;
    color: #1A3028;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

/* User Header */
.sffc-user-header {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .sffc-user-header {
        text-align: left;
        padding: 0;
        width: 100%;
    }
}

.sffc-opp-title {
    font-size: 32px;
    font-weight: 400;
    color: #1A3028;
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
}

@media (max-width: 768px) {
    .sffc-opp-title {
        font-size: 24px;
    }
}

.user-first-name {
    color: #C9A961;
    font-weight: 500;
    font-style: italic;
}

.sffc-title-underline {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, #C9A961, transparent);
    margin: 12px auto 0;
}

@media (max-width: 768px) {
    .sffc-title-underline {
        margin: 12px 0 0;
    }
}

/* Profile Actions */
.sffc-profile-actions {
    display: flex;
    align-items: center;
}

.sffc-edit-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px !important;
    color: #4A5568;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sffc-edit-profile-btn:hover {
    background: #1A3028;
    color: white;
    border-color: #1A3028;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sffc-edit-profile-btn svg {
    width: 16px;
    height: 16px;
}

/* Remove all view toggle styles - no longer needed */

/* Conversational View - Full Width Mobile Optimized */
.sffc-conversational-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 100px;
    width: 100%;
}

@media (min-width: 768px) {
    .sffc-conversational-view {
        padding: 30px 40px 120px;
    }
}

@media (min-width: 1024px) {
    .sffc-conversational-view {
        padding: 40px 60px 120px;
    }
}

/* Remove all containers and borders */
.sffc-senna-header {
    display: none; /* Remove header completely */
}

.sffc-senna-conversation {
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0 auto;
    padding: 0;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Messages Area - Aligned Container */
.senna-messages {
    background: transparent;
    border: none;
    min-height: calc(100vh - 300px);
    max-height: none;
    height: auto;
    overflow: visible;
    padding: 30px 0;
    margin: 0 auto 80px;
    width: 100%;
    max-width: 800px;
}

/* Message Styles - Premium Editorial Design */
.senna-message,
.user-message {
    margin-bottom: 40px;
    animation: fadeInUp 0.5s ease;
    display: block;
    position: relative;
}

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

/* User Messages - Refined Design */
.user-message {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32px;
}

.user-message .message-content {
    max-width: 70%;
    background: linear-gradient(135deg, #1A3028 0%, #2A4038 100%);
    padding: 16px 24px;
    border-radius: 20px 20px 4px 20px !important;
    box-shadow: 0 4px 12px rgba(26, 48, 40, 0.15);
}

.user-message .message-text {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Senna Messages - Editorial Excellence */
.senna-message {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Subtle separator after Senna messages */
.senna-message::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 52px;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.15) 20%, rgba(201, 169, 97, 0.15) 80%, transparent);
}

.senna-message {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Premium Avatar Design */
.senna-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(201, 169, 97, 0.2);
}

.senna-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Legacy support */
.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(201, 169, 97, 0.2);
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content,
.sffc-message-content {
    flex: 1;
    max-width: none;
    position: relative;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.senna-message .message-text,
.senna-message .sffc-message-content {
    background: transparent !important;
    padding: 0;
    border-radius: 0;
    color: #1A3028;
    font-size: 19px;
    line-height: 1.8;
    font-weight: 400;
    font-family: 'Playfair Display', Georgia, serif !important;
    box-shadow: none !important;
    letter-spacing: 0.2px;
    text-align: center !important;
    border: none !important;
}

/* First paragraph emphasis */
.senna-message .message-text > p:first-child {
    font-size: 20px;
    color: #0F1F18;
    margin-bottom: 20px;
}

/* Specific styling for Senna messages with class sffc-message-senna */
.sffc-message-senna {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 32px !important;
}

.sffc-message-senna .senna-avatar {
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #C9A961, #E8D5A6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 18px !important;
    color: white !important;
    font-weight: 600 !important;
    flex-shrink: 0 !important;
}

.sffc-message-senna .senna-avatar::before {
    content: 'S' !important;
}

.sffc-message-senna .message-content,
.sffc-message-senna .sffc-message-content {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 19px !important;
    line-height: 1.8 !important;
    color: #1A3028 !important;
    text-align: center !important;
}

/* User Messages Redesign - Vogue Style */
.sffc-message-user {
    display: block !important;
    text-align: center !important;
    margin-bottom: 32px !important;
    padding: 0 20px !important;
}

.sffc-message-user .message-content,
.sffc-message-user .sffc-message-content {
    display: inline-block !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2) !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #666 !important;
    font-style: italic !important;
    text-align: center !important;
    max-width: 80% !important;
    margin: 0 auto !important;
}

/* Guidance sections within messages */
.senna-guidance {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-left: 3px solid rgba(201, 169, 97, 0.3);
}

.senna-guidance h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1A3028;
    margin: 0 0 12px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.senna-guidance ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.senna-guidance li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #4A5568;
    position: relative;
    padding-left: 16px;
}

.senna-guidance li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 0;
    height: 0;
    border-left: 6px solid #C9A961;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.senna-guidance li strong {
    color: #1A3028;
    font-weight: 600;
}

.guidance-tip {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.guidance-tip strong {
    color: #C9A961;
    font-style: normal;
    margin-right: 4px;
}

/* Profile Prompt Styling */
.profile-prompt {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), rgba(26, 48, 40, 0.02));
    padding: 24px;
    border-radius: 12px !important;
    margin: 16px 0;
}

.profile-prompt p {
    margin: 0 0 16px 0;
    font-size: 18px;
    line-height: 1.6;
    color: #4A5568;
}

.inline-profile-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #1A3028;
    color: white;
    border: none;
    border-radius: 24px !important;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px 0;
}

.inline-profile-btn:hover {
    background: #C9A961;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
}

.continue-anyway {
    margin-top: 16px !important;
    font-size: 14px !important;
    color: #999 !important;
    font-style: italic;
}

/* Profile Builder Completion Icon */
.completion-icon svg {
    color: #C9A961;
    width: 48px;
    height: 48px;
}

/* Option Cards System */
.option-cards {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .option-cards {
        flex-direction: column;
    }
}

.option-card {
    flex: 1;
    min-width: 140px;
    padding: 16px 20px;
    background: white;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-card:hover {
    transform: translateY(-2px);
    border-color: #C9A961;
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.15);
}

.option-card:hover::before {
    opacity: 1;
}

.option-card:active {
    transform: scale(0.98);
}

.option-card-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 8px;
    color: #C9A961;
}

.option-card-text {
    font-size: 14px;
    font-weight: 500;
    color: #1A3028;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}

.option-card.primary {
    background: #1A3028;
    border-color: #1A3028;
    color: white;
}

.option-card.primary .option-card-text {
    color: white;
}

.option-card.primary:hover {
    background: #0F241E;
    border-color: #0F241E;
    box-shadow: 0 8px 24px rgba(26, 48, 40, 0.25);
}

/* Quick Options - Inline Buttons */
.quick-options {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.quick-option {
    padding: 8px 16px;
    background: rgba(201, 169, 97, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 20px !important;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: #4A5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-option:hover {
    background: #C9A961;
    border-color: #C9A961;
    color: white;
    transform: translateY(-1px);
}

.message-time {
    display: none; /* Remove timestamps for cleaner look */
}

/* Job Cards Integrated in Chat - Responsive Grid */
.job-cards-in-chat {
    margin: 24px -10px 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
}

@media (min-width: 640px) {
    .job-cards-in-chat {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 24px 0 32px;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .job-cards-in-chat {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ultra-Premium Job Card - Mobile Optimized */
.job-card-vogue {
    background: white;
    padding: 20px;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .job-card-vogue {
        padding: 24px;
    }
}

@media (min-width: 1024px) {
    .job-card-vogue {
        padding: 28px;
    }
}

.job-card-vogue:hover {
    background: #FFFFFF;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Mobile touch feedback */
.job-card-vogue:active {
    transform: scale(0.98);
}

/* Card Typography - Editorial Style */
.vogue-company {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
    font-family: 'Inter', 'SF Pro Display', sans-serif;
    font-weight: 500;
}

.vogue-title {
    font-size: 20px;
    font-weight: 400;
    color: #1A3028;
    margin: 0 0 12px 0;
    line-height: 1.3;
    font-family: 'Crimson Text', 'Playfair Display', Georgia, serif;
}

.vogue-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.vogue-meta-item {
    font-size: 13px;
    color: #666;
    font-family: 'Inter', sans-serif;
}

.vogue-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.vogue-skill {
    padding: 4px 12px;
    background: #FAFAF8;
    font-size: 11px;
    color: #666;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

/* Match Score - Subtle, Elegant */
.vogue-match {
    position: absolute;
    top: 28px;
    right: 28px;
    text-align: right;
}

.vogue-match-score {
    font-size: 24px;
    font-weight: 300;
    color: #C9A961;
    font-family: 'Inter', sans-serif;
}

.vogue-match-label {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    margin-top: 2px;
}

/* Card Actions - Premium Elegant Design */
.vogue-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.vogue-action {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(201, 169, 97, 0.08);
    color: #4b5563;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: none;
    font-family: 'SF Pro Text', -apple-system, sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.vogue-action:hover {
    background: rgba(201, 169, 97, 0.04);
    color: #C9A961;
    border-color: rgba(201, 169, 97, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.1);
}

.vogue-action.primary {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(201, 169, 97, 0.12) 100%);
    color: #1A3028;
    border-color: rgba(201, 169, 97, 0.12);
    font-weight: 600;
}

.vogue-action.primary:hover {
    background: linear-gradient(135deg, #C9A961 0%, #B8935A 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 3px 12px rgba(201, 169, 97, 0.25);
}

.vogue-action.added {
    background: linear-gradient(135deg, #C9A961 0%, #B8935A 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.2);
}

.vogue-action.added:hover {
    background: linear-gradient(135deg, #B8935A 0%, #C9A961 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201, 169, 97, 0.3);
}

/* Floating Input Area - Mobile Optimized */
.senna-input-area {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 16px;
    z-index: 1000;
    pointer-events: none;
}

@media (min-width: 768px) {
    .senna-input-area {
        padding: 20px;
    }
}

.senna-input-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    pointer-events: all;
    transition: all 0.3s ease;
    position: relative;
}

.senna-input-wrapper:hover {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.15), 0 2px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .senna-input-wrapper {
        padding: 14px;
        gap: 14px;
    }
}

.senna-input {
    flex: 1;
    padding: 4px 12px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 15px;
    color: #1A3028;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .senna-input {
        padding: 6px 16px;
        font-size: 16px;
    }
}

.senna-input:focus {
    outline: none;
}

/* Focus state for the wrapper */
.senna-input-wrapper:focus-within {
    border-color: rgba(201, 169, 97, 0.5);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08), 0 0 0 2px rgba(201, 169, 97, 0.1);
}

.senna-input::placeholder {
    color: #999;
    font-style: italic;
}

.senna-send-btn {
    width: 40px;
    height: 40px;
    background: #1A3028;
    border: none;
    border-radius: 50% !important;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .senna-send-btn {
        width: 44px;
        height: 44px;
    }
}

.senna-send-btn:hover {
    background: #0F241E;
}

.senna-send-btn svg {
    width: 20px;
    height: 20px;
}

/* Hamburger Menu Toggle */
.sffc-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sffc-menu-toggle:hover {
    background: #1A3028;
    color: white;
    transform: scale(1.05);
}

.sffc-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Stage Navigation Dropdown */
.sffc-stage-menu {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 12px;
    display: none;
    z-index: 1090;
    min-width: 200px;
}

.sffc-stage-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.stage-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px !important;
    text-align: left;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #4A5568;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.stage-menu-item .menu-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.stage-menu-item:hover {
    background: #F7F7F5;
    color: #1A3028;
}

.stage-menu-item.active {
    background: #1A3028;
    color: white;
}

/* Hidden default stage indicators on mobile */
.conversation-stage {
    display: none;
}

@media (min-width: 768px) {
    .conversation-stage {
        position: fixed;
        top: 24px;
        right: 80px;
        display: flex;
        gap: 24px;
        z-index: 100;
    }
    
    .sffc-menu-toggle {
        display: none;
    }
    
    .sffc-stage-menu {
        display: none !important;
    }
}

.stage-indicator {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.stage-indicator.active {
    color: #1A3028;
}

.stage-indicator:hover {
    color: #666;
}

/* Load More - Integrated */
.load-more-in-chat {
    text-align: center;
    padding: 32px 0;
}

.load-more-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.load-more-btn:hover {
    color: #1A3028;
}

/* Remove guided opportunities container */
.sffc-guided-opportunities {
    display: none;
}

/* Classic View Fixes */
.sffc-classic-view {
    padding: 48px 24px;
}

.sffc-classic-view .sffc-page-title {
    text-align: center;
    margin-bottom: 48px;
}

.sffc-classic-view h1 {
    font-size: 48px;
    font-weight: 300;
    color: #1A3028;
    margin: 0 0 8px 0;
    font-family: 'Crimson Text', 'Playfair Display', Georgia, serif;
}

.sffc-classic-view .sffc-page-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    font-family: 'Inter', sans-serif;
}

/* Floating Elements - Hide on Mobile */
.sffc-floating-menu-bar {
    display: none;
}

.sffc-shortlist-floating {
    display: none;
}

@media (min-width: 1024px) {
    .sffc-floating-menu-bar {
        display: flex;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.04);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        position: fixed;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 12px;
        padding: 12px;
        border-radius: 12px !important;
        z-index: 100;
    }
    
    .sffc-shortlist-floating {
        display: block !important;
        background: white !important;
        border: 1px solid rgba(0, 0, 0, 0.04) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
        position: fixed !important;
        top: 50% !important; /* Center vertically */
        transform: translateY(-50%) !important;
        right: 20px !important;
        width: 280px !important;
        max-height: 70vh !important;
        border-radius: 12px !important;
        z-index: 100 !important;
        overflow: hidden !important;
    }
    
    .sffc-shortlist-floating .sffc-shortlist-header {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        cursor: pointer;
        transition: background 0.2s ease;
    }
    
    .sffc-shortlist-floating .sffc-shortlist-header:hover {
        background: #FAFAF8;
    }
    
    .sffc-shortlist-floating .sffc-shortlist-content {
        padding: 12px !important;
        max-height: 300px !important;
        overflow-y: auto !important;
        position: relative !important; /* Ensure proper positioning */
        width: 100% !important;
    }
    
    .sffc-shortlist-floating .sffc-shortlist-actions {
        padding: 12px;
        border-top: 1px solid rgba(0, 0, 0, 0.04);
    }
    
    .sffc-shortlist-floating .sffc-analyze-btn {
        width: 100%;
        padding: 12px;
        background: #1A3028;
        color: white;
        border: none;
        border-radius: 8px !important;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .sffc-shortlist-floating .sffc-analyze-btn:hover {
        background: #0F241E;
        transform: translateY(-1px);
    }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', 'Playfair Display', Georgia, serif;
    font-weight: 400;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove all unnecessary borders and shadows */
* {
    border-radius: 0 !important;
}

/* Exception for rounded elements */
.senna-avatar,
.senna-send-btn,
.typing-dot {
    border-radius: 50% !important;
}

/* Content spacing for readability */
.sffc-conversational-view {
    padding-bottom: 100px; /* Space for fixed input */
}

/* Ensure main container doesn't interfere */
.sffc-main-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 16px 0;
    margin-left: 48px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50% !important;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

/* Responsive Option Cards */
@media (max-width: 640px) {
    .option-cards {
        gap: 8px;
    }
    
    .option-card {
        min-width: 100%;
        padding: 14px 16px;
    }
    
    .option-card-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 6px;
    }
    
    .option-card-text {
        font-size: 13px;
    }
    
    .quick-options {
        gap: 6px;
    }
    
    .quick-option {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* COMPREHENSIVE MOBILE REDESIGN */
@media (max-width: 768px) {
    /* PROPER MOBILE SCROLLING FIX - FINAL */
    html {
        /* Allow natural document flow */
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: visible !important; /* Allow vertical scrolling */
    }
    
    body {
        /* Allow body to expand with content */
        height: auto !important;
        min-height: 100vh !important;
        overflow-x: hidden !important;
        overflow-y: visible !important; /* Natural scrolling */
        -webkit-overflow-scrolling: touch !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important; /* Not fixed */
    }
    
    .sffc-opportunities-wrapper {
        /* Remove fixed positioning and viewport locks */
        position: relative !important; /* Changed from any fixed positioning */
        min-height: 100vh !important;
        height: auto !important; /* Allow to expand with content */
        overflow: visible !important; /* Content can flow */
        padding-bottom: 100px !important; /* Space for fixed input */
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .sffc-conversational-view {
        overflow: visible !important;
        height: auto !important;
        position: relative !important;
        padding: 70px 15px 100px 15px !important; /* Top for header, bottom for input */
    }
    
    .sffc-main-container {
        overflow: visible !important; /* Allow content to flow */
        height: auto !important;
        position: relative !important;
    }
    
    .sffc-senna-conversation,
    .senna-messages {
        overflow: visible !important;
        height: auto !important;
        position: relative !important;
        margin-bottom: 20px !important;
    }
    
    /* Hide conflicting headers - using new mobile-header-buttons instead */
    .sffc-opp-header,
    .app-tab-bar {
        display: none !important;
    }
    
    /* Old Mobile Top Bar - Hidden */
    .app-tab-bar.disabled {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 56px !important;
        background: white !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        z-index: 1000 !important;
        padding: 0 !important;
        justify-content: space-around !important;
        align-items: center !important;
    }
    
    .app-tab-item {
        flex: 1 !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        color: #999 !important;
        font-size: 11px !important;
        font-family: 'Inter', sans-serif !important;
        transition: all 0.2s ease !important;
        cursor: pointer !important;
        position: relative !important;
    }
    
    .app-tab-item.active {
        color: #C9A961 !important;
    }
    
    .app-tab-item.active::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 20% !important;
        right: 20% !important;
        height: 2px !important;
        background: #C9A961 !important;
    }
    
    /* Add padding to account for fixed header */
    .sffc-main-container {
        padding-top: 56px !important;
        padding-bottom: 80px !important; /* Space for fixed input */
        min-height: 100vh !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    /* Large Centered Text for All Messages */
    .senna-message .message-text,
    .senna-message .sffc-message-content,
    .sffc-message-senna .sffc-message-content,
    .sffc-message-user .sffc-message-content,
    .sffc-message-user .message-content {
        font-size: 20px !important;
        line-height: 1.8 !important;
        text-align: center !important;
        font-family: 'Playfair Display', Georgia, serif !important;
    }
    
    /* User Messages - Centered and Styled */
    .sffc-message-user {
        text-align: center !important;
        padding: 0 20px !important;
        margin-bottom: 32px !important;
    }
    
    .sffc-message-user .sffc-message-content,
    .sffc-message-user .message-content {
        color: #666 !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(201, 169, 97, 0.2) !important;
        font-style: italic !important;
        display: inline-block !important;
        padding: 8px 0 !important;
    }
    
    /* Senna Messages - Centered */
    .sffc-message-senna {
        padding: 0 20px !important;
    }
    
    .sffc-message-senna .sffc-message-content {
        text-align: center !important;
        font-size: 20px !important;
    }
    
    /* Redesigned Input Area - Fixed at Bottom with Glassmorphism */
    .senna-input-area {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 8px 12px !important;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
        background: transparent !important;
        z-index: 999 !important;
    }
    
    .senna-input-wrapper {
        display: flex !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        border-radius: 12px !important;
        padding: 0 !important;
        position: relative !important;
        width: 100% !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    }
    
    .senna-input {
        flex: 1 !important;
        padding: 14px 50px 14px 16px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 12px !important;
        font-size: 16px !important;
        font-family: 'Inter', sans-serif !important;
        color: #1A3028 !important;
        outline: none !important;
        -webkit-appearance: none !important;
    }
    
    .senna-input-actions {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        gap: 8px !important;
    }
    
    #senna-attach {
        display: none !important; /* Hide attachment for simplicity */
    }
    
    .senna-send-btn {
        width: 36px !important;
        height: 36px !important;
        background: #1A3028 !important;
        border: none !important;
        border-radius: 0 !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .senna-send-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Hide elements not needed on mobile */
    .sffc-menu-toggle,
    .sffc-stage-menu,
    .conversation-stage,
    .sffc-floating-menu-bar,
    .sffc-shortlist-floating,
    .sffc-message-search {
        display: none !important;
    }
    
    /* Guidance sections */
    .senna-guidance {
        padding: 16px;
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .senna-guidance h4 {
        font-size: 15px;
    }
    
    .senna-guidance li {
        font-size: 14px;
    }
    
    .vogue-title {
        font-size: 18px;
    }
    
    /* Better touch targets */
    .vogue-action {
        min-height: 44px;
        font-size: 13px;
    }
    
    /* Adjust margins for mobile */
    .senna-message {
        margin-bottom: 24px;
    }
    
    .job-cards-in-chat {
        margin: 16px -10px 24px;
    }
}

@media (max-width: 480px) {
    .senna-message::after {
        left: 36px;
    }
    
    .senna-avatar {
        width: 32px;
        height: 32px;
    }
    
    .conversation-stage {
        font-size: 10px;
    }
}