/**
 * ============================================================================
 * BLINKR Goal Center Styles
 * ============================================================================
 * Copyright (c) 2026 BlinkRQuotes
 * All Rights Reserved.
 *
 * Matches BLINKR dark theme with teal/cyan accents
 * ============================================================================
 */

/* Import Focus Companies UX fixes */
@import url('./goal-center-focus-companies.css');

/* ============================================
   MAIN SECTION
   ============================================ */

#goal-center-section {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */

.gc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.gc-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gc-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary, #f3f4f6);
    margin: 0;
}

.gc-quarter-selector select {
    background: var(--bg-input, #374151);
    border: 1px solid var(--border-color, #4b5563);
    color: var(--text-primary, #f3f4f6);
    padding: 8px 32px 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
    min-width: 120px;
    /* Custom dropdown arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.gc-quarter-selector select option {
    background: #1f2937;
    color: #f3f4f6;
    padding: 8px;
}

.gc-quarter-selector select:hover {
    border-color: #0d9488;
}

.gc-quarter-selector select:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.gc-header-right {
    display: flex;
    gap: 10px;
}

/* ============================================
   BUTTONS
   ============================================ */

.gc-btn {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gc-btn-primary {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    box-shadow: 0 2px 4px rgba(13, 148, 136, 0.3);
}

.gc-btn-primary:hover {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 148, 136, 0.4);
}

.gc-btn-secondary {
    background: var(--bg-input, #374151);
    color: var(--text-primary, #f3f4f6);
    border: 1px solid var(--border-color, #4b5563);
}

.gc-btn-secondary:hover {
    background: #4b5563;
    border-color: #6b7280;
}

.gc-btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.gc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   OVERVIEW CARDS GRID
   ============================================ */

.gc-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.gc-card {
    background: var(--bg-card, #1f2937);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid var(--border-color, #374151);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gc-card-revenue {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
}

.gc-card-prospects {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
}

.gc-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.gc-card-icon {
    font-size: 1.3rem;
}

.gc-card-title {
    font-size: 0.8rem;
    color: var(--text-secondary, #9ca3af);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.gc-card-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary, #f3f4f6);
    margin-bottom: 4px;
    line-height: 1.2;
}

.gc-card-target {
    font-size: 0.85rem;
    color: var(--text-secondary, #9ca3af);
    margin-bottom: 14px;
}

.gc-progress-bar {
    height: 8px;
    background: var(--bg-input, #374151);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.gc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0d9488, #10b981);
    border-radius: 4px;
    transition: width 0.5s ease;
    min-width: 4px;
}

.gc-card-footer {
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
}

.gc-card-footer strong {
    color: #10b981;
}

.gc-pipeline {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gc-weekly {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   TIME PROGRESS BAR
   ============================================ */

.gc-time-progress {
    background: var(--bg-card, #1f2937);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color, #374151);
}

.gc-time-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary, #9ca3af);
}

.gc-time-bar {
    height: 14px;
    background: var(--bg-input, #374151);
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.gc-time-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    border-radius: 7px;
    transition: width 0.5s ease;
    min-width: 8px;
}

.gc-time-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
}

/* ============================================
   FOCUS COMPANIES SECTION
   ============================================ */

.gc-focus-section {
    background: var(--bg-card, #1f2937);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color, #374151);
}

.gc-focus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gc-focus-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #f3f4f6);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Status Summary Pills */
.gc-status-summary {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gc-status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: var(--bg-input, #374151);
    color: var(--text-secondary, #9ca3af);
    transition: background 0.2s ease;
}

.gc-status-pill:hover {
    background: #4b5563;
}

.gc-status-count {
    font-weight: 700;
    color: var(--text-primary, #f3f4f6);
    font-size: 0.9rem;
}

.gc-status-prospecting { border-left: 3px solid #6b7280; }
.gc-status-engaged { border-left: 3px solid #3b82f6; }
.gc-status-meeting { border-left: 3px solid #f59e0b; }
.gc-status-quote { border-left: 3px solid #8b5cf6; }
.gc-status-won { border-left: 3px solid #10b981; }

/* Company List */
.gc-company-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-company-card {
    display: grid;
    grid-template-columns: 8px 1fr auto auto auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: var(--bg-input, #374151);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.gc-company-card:hover {
    background: #4b5563;
    transform: translateX(4px);
}

.gc-company-status {
    width: 8px;
    height: 44px;
    border-radius: 4px;
    transition: height 0.2s ease;
}

.gc-company-status.gc-status-prospecting { background: #6b7280; }
.gc-company-status.gc-status-engaged { background: #3b82f6; }
.gc-company-status.gc-status-meeting { background: #f59e0b; }
.gc-company-status.gc-status-quote { background: #8b5cf6; }
.gc-company-status.gc-status-won { background: #10b981; }
.gc-company-status.gc-status-lost { background: #ef4444; }
.gc-company-status.gc-status-paused { background: #374151; border: 1px dashed #6b7280; }

.gc-company-info {
    min-width: 160px;
}

.gc-company-name {
    font-weight: 600;
    color: var(--text-primary, #f3f4f6);
    margin-bottom: 3px;
    font-size: 0.95rem;
}

.gc-company-contact {
    font-size: 0.8rem;
    color: var(--text-secondary, #9ca3af);
}

.gc-company-activity {
    display: flex;
    gap: 14px;
    font-size: 0.85rem;
    color: var(--text-secondary, #9ca3af);
}

.gc-company-activity span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.gc-company-last-contact {
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
    min-width: 100px;
}

.gc-company-actions {
    display: flex;
    gap: 6px;
}

.gc-company-actions button {
    background: transparent;
    border: 1px solid var(--border-color, #4b5563);
    color: var(--text-secondary, #9ca3af);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.gc-company-actions button:hover {
    background: #0d9488;
    border-color: #0d9488;
    color: white;
}

/* Empty State */
.gc-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary, #9ca3af);
}

.gc-empty-state p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* ============================================
   ACTIVITY SECTION
   ============================================ */

.gc-activity-section {
    background: var(--bg-card, #1f2937);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color, #374151);
}

.gc-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gc-activity-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #f3f4f6);
    margin: 0;
}

.gc-activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-input, #374151);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.gc-activity-item:hover {
    background: #4b5563;
}

.gc-activity-icon {
    font-size: 1.3rem;
    width: 32px;
    text-align: center;
}

.gc-activity-content {
    flex: 1;
    color: var(--text-primary, #f3f4f6);
}

.gc-activity-company {
    color: #14b8a6;
    font-weight: 500;
}

.gc-activity-outcome {
    color: var(--text-secondary, #9ca3af);
}

.gc-activity-time {
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
    min-width: 80px;
    text-align: right;
}

/* ============================================
   GAP ANALYSIS SECTION
   ============================================ */

.gc-gap-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.gc-gap-header {
    margin-bottom: 18px;
}

.gc-gap-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f59e0b;
    margin: 0 0 4px 0;
}

.gc-gap-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary, #9ca3af);
}

.gc-gap-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.gc-gap-item {
    background: var(--bg-input, #374151);
    padding: 14px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.gc-gap-item:hover {
    transform: scale(1.02);
}

.gc-gap-item.gc-gap-urgent {
    border-left: 3px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent);
}

.gc-gap-label {
    font-size: 0.8rem;
    color: var(--text-secondary, #9ca3af);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gc-gap-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 4px;
}

.gc-gap-hint {
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
}

.gc-gap-message {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary, #9ca3af);
    padding: 20px;
}

/* ============================================
   MODALS
   ============================================ */

.gc-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.gc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.gc-modal-content {
    position: relative;
    background: var(--bg-secondary, #16213e);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color, #374151);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gc-modal-large {
    max-width: 700px;
}

.gc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color, #374151);
    background: rgba(255, 255, 255, 0.02);
}

.gc-modal-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary, #f3f4f6);
    margin: 0;
}

.gc-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary, #9ca3af);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.gc-modal-close:hover {
    color: var(--text-primary, #f3f4f6);
    background: rgba(255, 255, 255, 0.1);
}

.gc-modal-body {
    padding: 24px;
}

.gc-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--border-color, #374151);
    background: rgba(255, 255, 255, 0.02);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

.gc-form-group {
    margin-bottom: 18px;
}

.gc-form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary, #9ca3af);
    margin-bottom: 8px;
    font-weight: 500;
}

.gc-form-group input,
.gc-form-group select,
.gc-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input, #374151);
    border: 1px solid var(--border-color, #4b5563);
    border-radius: 8px;
    color: var(--text-primary, #f3f4f6);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gc-form-group input:hover,
.gc-form-group select:hover,
.gc-form-group textarea:hover {
    border-color: #6b7280;
}

.gc-form-group input:focus,
.gc-form-group select:focus,
.gc-form-group textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.gc-form-group textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.gc-goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gc-import-hint {
    background: rgba(13, 148, 136, 0.12);
    border: 1px dashed rgba(13, 148, 136, 0.5);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    margin-top: 20px;
}

.gc-import-hint p {
    font-size: 0.85rem;
    color: var(--text-secondary, #9ca3af);
    margin: 0 0 12px 0;
}

/* ============================================
   STATUS OPTIONS (in modal)
   ============================================ */

.gc-status-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-status-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
    background: var(--bg-input, #374151);
    border: 1px solid var(--border-color, #4b5563);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.gc-status-option:hover {
    background: #4b5563;
    border-color: #6b7280;
}

.gc-status-option.active {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.1);
}

.gc-status-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #f3f4f6);
    margin-bottom: 2px;
}

.gc-status-desc {
    font-size: 0.8rem;
    color: var(--text-secondary, #9ca3af);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.gc-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 28px;
    border-radius: 10px;
    z-index: 10001;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: toastSlideIn 0.3s ease;
}

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

.gc-toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.gc-toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.gc-toast-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.gc-toast-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .gc-company-card {
        grid-template-columns: 8px 1fr auto;
    }

    .gc-company-activity,
    .gc-company-last-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    #goal-center-section {
        padding: 12px;
    }

    .gc-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gc-header-right {
        width: 100%;
        justify-content: flex-end;
    }

    .gc-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gc-card-value {
        font-size: 1.75rem;
    }

    .gc-goals-grid {
        grid-template-columns: 1fr;
    }

    .gc-status-summary {
        justify-content: center;
    }

    .gc-company-card {
        grid-template-columns: 6px 1fr;
        gap: 12px;
    }

    .gc-company-actions {
        display: none;
    }

    .gc-modal-content {
        width: 95%;
        max-height: 95vh;
    }
}

@media (max-width: 480px) {
    .gc-overview-grid {
        grid-template-columns: 1fr;
    }

    .gc-title {
        font-size: 1.4rem;
    }

    .gc-gap-content {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* WORK SESSION MODAL                                                          */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Work Session Modal - shown via JS style.display = 'flex' */
.gc-work-session {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    /* display is controlled by JS: none or flex */
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.gc-work-session-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gc-work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gc-work-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gc-work-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.gc-work-timer {
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'SF Mono', 'Monaco', monospace;
    font-size: 0.85rem;
}

.gc-work-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gc-work-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.gc-work-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.gc-work-company {
    margin-bottom: 20px;
}

.gc-work-company h4 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
}

.gc-work-company .gc-work-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.gc-work-status.status-new {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.gc-work-status.status-contacted {
    background: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
}

.gc-work-status.status-engaged {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.gc-work-status.status-qualified {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.gc-work-contact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.gc-work-contact h5 {
    margin: 0 0 12px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gc-work-fields {
    display: grid;
    gap: 10px;
}

.gc-work-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gc-work-field label {
    width: 70px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.gc-copy-field {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.gc-copy-field span {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gc-copy-btn {
    background: rgba(59, 130, 246, 0.3);
    border: none;
    color: #60a5fa;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.gc-copy-btn:hover {
    background: rgba(59, 130, 246, 0.5);
}

.gc-copy-btn.copied {
    background: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.gc-work-sequence {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.gc-work-sequence h5 {
    margin: 0 0 16px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gc-sequence-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-sequence-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.gc-sequence-step:hover {
    background: rgba(0, 0, 0, 0.3);
}

.gc-sequence-step.completed {
    background: rgba(16, 185, 129, 0.15);
    border-left: 3px solid #10b981;
}

.gc-sequence-step.active {
    background: rgba(59, 130, 246, 0.2);
    border-left: 3px solid #3b82f6;
}

.gc-step-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.gc-sequence-step:not(.completed) .gc-step-marker {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.gc-sequence-step.completed .gc-step-marker {
    background: #10b981;
    color: white;
}

.gc-sequence-step.active .gc-step-marker {
    background: #3b82f6;
    color: white;
}

.gc-step-content {
    flex: 1;
}

.gc-step-content strong {
    display: block;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 2px;
}

.gc-step-content span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.gc-work-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.gc-work-quick-actions button {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.gc-quick-email {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.gc-quick-email:hover {
    background: rgba(59, 130, 246, 0.3);
}

.gc-quick-call {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.gc-quick-call:hover {
    background: rgba(16, 185, 129, 0.3);
}

.gc-quick-linkedin {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.gc-quick-linkedin:hover {
    background: rgba(139, 92, 246, 0.3);
}

.gc-quick-status {
    background: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
}

.gc-quick-status:hover {
    background: rgba(234, 179, 8, 0.3);
}

.gc-work-notes {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.gc-work-notes h5 {
    margin: 0 0 12px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gc-work-notes textarea {
    width: 100%;
    min-height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-size: 0.9rem;
    resize: vertical;
    font-family: inherit;
}

.gc-work-notes textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.gc-work-history {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
}

.gc-work-history h5 {
    margin: 0 0 12px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gc-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 120px;
    overflow-y: auto;
}

.gc-history-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.gc-history-item .gc-history-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.gc-work-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gc-work-nav {
    display: flex;
    gap: 10px;
}

.gc-work-nav button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.gc-nav-prev {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.gc-nav-prev:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.gc-nav-prev:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gc-nav-skip {
    background: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
}

.gc-nav-skip:hover {
    background: rgba(234, 179, 8, 0.3);
}

.gc-nav-next {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.gc-nav-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.gc-nav-next:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Work Session Button */
.gc-btn-work-session {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.gc-btn-work-session:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.gc-btn-work-session:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Work Session */
@media (max-width: 640px) {
    .gc-work-session-content {
        max-height: 95vh;
    }

    .gc-work-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .gc-work-progress {
        width: 100%;
        justify-content: space-between;
    }

    .gc-work-quick-actions {
        flex-direction: column;
    }

    .gc-work-quick-actions button {
        min-width: auto;
    }

    .gc-work-footer {
        flex-direction: column;
        gap: 12px;
    }

    .gc-work-nav {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================
   ENHANCED SMART QUEUE CARDS
   ============================================ */

.gc-smart-card {
    background: var(--color-surface-elevated, #252540);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--color-border, #333);
    transition: all 0.2s ease;
}

.gc-smart-card:hover {
    border-color: #0d9488;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gc-smart-card.gc-priority {
    border-left: 4px solid #f59e0b;
}

.gc-smart-card.gc-overdue {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent);
}

.gc-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.gc-queue-number {
    width: 28px;
    height: 28px;
    background: var(--color-accent, #0d9488);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.gc-company-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.gc-overdue-badge {
    background: #ef4444;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.gc-today-badge {
    background: #f59e0b;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.gc-priority-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.gc-card-body {
    margin-bottom: 12px;
}

.gc-company-main {
    margin-bottom: 10px;
}

.gc-company-main .gc-company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #f3f4f6);
    margin-bottom: 4px;
}

.gc-company-main .gc-company-contact {
    font-size: 0.9rem;
    color: var(--text-secondary, #9ca3af);
}

.gc-contact-email {
    font-size: 0.85rem;
    color: #0d9488;
    margin-top: 4px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.gc-activity-summary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.gc-activity-badge {
    background: var(--color-surface, #1a1a2e);
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-secondary, #9ca3af);
}

.gc-contact-timing {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted, #6b7280);
}

.gc-contact-timing .gc-stale {
    color: #f59e0b;
}

.gc-contact-timing .gc-never {
    color: #ef4444;
}

.gc-contact-timing .gc-overdue-text {
    color: #ef4444;
    font-weight: 600;
}

.gc-contact-timing .gc-followup {
    color: #10b981;
}

.gc-research-preview {
    margin-top: 10px;
    padding: 10px;
    background: var(--color-surface, #1a1a2e);
    border-radius: 8px;
    border-left: 3px solid #8b5cf6;
}

.gc-research-overview {
    font-size: 0.85rem;
    color: var(--text-secondary, #9ca3af);
    margin-bottom: 4px;
}

.gc-pain-points {
    font-size: 0.8rem;
    color: #f59e0b;
    font-style: italic;
}

.gc-quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid var(--color-border, #333);
    padding-top: 12px;
}

.gc-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--color-border, #333);
    background: var(--color-surface, #1a1a2e);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gc-action-btn:hover {
    background: var(--color-surface-elevated, #252540);
    border-color: #0d9488;
    transform: scale(1.05);
}

.gc-action-btn.gc-action-email:hover { background: #3b82f6; border-color: #3b82f6; }
.gc-action-btn.gc-action-call:hover { background: #10b981; border-color: #10b981; }
.gc-action-btn.gc-action-linkedin:hover { background: #0077b5; border-color: #0077b5; }
.gc-action-btn.gc-action-send:hover { background: #8b5cf6; border-color: #8b5cf6; }
.gc-action-btn.gc-action-status:hover { background: #f59e0b; border-color: #f59e0b; }

/* Context Menu */
.gc-context-menu {
    background: var(--color-surface-elevated, #252540);
    border: 1px solid var(--color-border, #333);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    overflow: hidden;
}

.gc-menu-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary, #f3f4f6);
    transition: background 0.15s ease;
}

.gc-menu-item:hover {
    background: rgba(13, 148, 136, 0.2);
}

.gc-menu-item.gc-menu-danger {
    color: #ef4444;
}

.gc-menu-item.gc-menu-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Responsive Smart Cards */
@media (max-width: 640px) {
    .gc-smart-card {
        padding: 12px;
    }

    .gc-card-header {
        flex-wrap: wrap;
    }

    .gc-quick-actions {
        justify-content: center;
    }

    .gc-contact-timing {
        flex-direction: column;
        gap: 4px;
    }
}
