/* =============================================================================
   VerbaMind - Process Videos Page Styles
   Styles for Process Videos page elements
   Created: November 11, 2025
   ============================================================================= */

/* Page Headers */
h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6366F1 0%, #84CC16 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #9CA3AF;
    margin-bottom: 2rem;
}

/* Form Elements */
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #1F2937;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #F9FAFB;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

textarea {
    min-height: 150px;
    resize: vertical;
    font-family: 'Inter', sans-serif;
}

/* Mode Selector (Analysis Type & Processing Mode) */
.mode-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mode-card {
    padding: 0.35rem;
    background: #1F2937;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    position: relative;
}

.mode-card:hover {
    border-color: #6366F1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.mode-card.active {
    border-color: #6366F1;
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.mode-card.active::after {
    content: '✓';
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    width: 14px;
    height: 14px;
    background: #6366F1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.65rem;
}

.mode-icon {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.mode-name {
    font-weight: 600;
    margin-bottom: 0.1rem;
    font-size: 0.75rem;
}

.mode-desc {
    font-size: 0.55rem;
    color: #9CA3AF;
    line-height: 1.2;
}

/* Format Grid (Synthesis Format) */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.format-card {
    padding: 0.35rem;
    background: #1F2937;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    position: relative;
}

.format-card:hover {
    border-color: #6366F1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.format-card.active {
    border-color: #6366F1;
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.format-card.active::after {
    content: '✓';
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    width: 14px;
    height: 14px;
    background: #6366F1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.65rem;
}

.format-card .mode-icon {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.format-card .mode-name {
    font-weight: 600;
    margin-bottom: 0.1rem;
    font-size: 0.75rem;
}

.format-card .mode-desc {
    font-size: 0.55rem;
    color: #9CA3AF;
    line-height: 1.2;
}

/* Feature Selection */
.feature-selection {
    display: none;
    margin-bottom: 1.5rem;
}

.feature-selection.show {
    display: block;
}

/* Feature Tabs (Category Navigation) */
.feature-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    flex-wrap: wrap;
}

.feature-tab {
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-size: 0.75rem;
    white-space: nowrap;
    margin-bottom: -2px;
}

.feature-tab:hover {
    color: #6366F1;
}

.feature-tab.active {
    color: #6366F1;
    border-bottom-color: #6366F1;
}

/* Feature Categories */
.feature-category {
    display: none;
}

.feature-category.active {
    display: block;
}

/* Feature Grid (68 Features) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.5rem;
}

.feature-checkbox {
    padding: 0.4rem 0.5rem;
    background: #1F2937;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.feature-checkbox:hover {
    border-color: #6366F1;
}

.feature-checkbox.selected {
    border-color: #6366F1;
    background: rgba(99, 102, 241, 0.1);
}

.feature-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    transform: scale(0.85);
}

.feature-checkbox label {
    margin: 0;
    cursor: pointer;
    font-size: 0.7rem;
    flex: 1;
    line-height: 1.3;
}

/* URL Counter */
.url-counter {
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

/* Primary Button */
button.primary {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #6366F1 0%, #84CC16 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    width: 100%;
    margin-top: 1rem;
}

button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

button.primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Results Section */
.results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
