/* Home student consultancy search — violet theme (matches booking widget family) */
.scsh-wrap {
    --scsh-accent: #7c3aed;
    --scsh-accent-hover: #6d28d9;
    --scsh-highlight: #8b5cf6;
    --scsh-border: #e2e8f0;
    --scsh-radius: 0.875rem;
}

.scsh-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.35rem;
    padding-left: 0.65rem;
    border-left: 3px solid var(--scsh-highlight);
}

.scsh-heading i { color: var(--scsh-accent); }

.scsh-sub {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 1rem;
    max-width: 44rem;
    line-height: 1.5;
}

.scsh-search-card {
    background: linear-gradient(180deg, #f5f3ff 0%, #fff 100%);
    border: 1px solid var(--scsh-border);
    border-radius: calc(var(--scsh-radius) + 0.15rem);
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
    border-left: 3px solid var(--scsh-highlight);
}

@media (min-width: 640px) {
    .scsh-search-card { padding: 1.15rem 1.25rem; }
}

.scsh-validation {
    display: none;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
    border-radius: 0.65rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.875rem;
}

.scsh-validation.is-visible { display: flex; }

.scsh-grid {
    display: grid;
    gap: 0.85rem;
    width: 100%;
}

.scsh-grid--primary {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .scsh-grid--primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .scsh-grid--primary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.scsh-field label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.scsh-field-icon {
    color: var(--scsh-accent);
    font-size: 0.75rem;
    width: 0.9rem;
    text-align: center;
}

.scsh-field input,
.scsh-field select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.65rem;
    font-size: 0.95rem;
    background: #fff;
}

.scsh-field input:focus,
.scsh-field select:focus {
    outline: none;
    border-color: var(--scsh-accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.scsh-field.is-invalid input,
.scsh-field.is-invalid select {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}

.scsh-actions {
    margin-top: 0.85rem;
}

.scsh-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, var(--scsh-accent), #a78bfa);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}

.scsh-submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.scsh-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.35);
}

.scsh-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.scsh-summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    color: #5b21b6;
    font-size: 0.8rem;
    font-weight: 600;
}

.scsh-summary-pill--muted {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
    font-weight: 500;
}

.scsh-summary-pill.hidden { display: none; }

.scsh-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
}

.scsh-popular-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-right: 0.15rem;
}

.scsh-chip {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid #ddd6fe;
    background: #fff;
    color: #6d28d9;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
}

.scsh-chip:hover,
.scsh-chip.is-active {
    background: #ede9fe;
    border-color: var(--scsh-highlight);
}

.scsh-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.25);
}
