/* Shared Common Components Styles */

:root {
    --surface-2: #f1f5f9;
    --border: #e2e8f0;
    --text: #1e293b;
    --text-muted: #64748b;
    --card-bg: #ffffff;
}

.main-content-height {
    height: calc(100vh - 4rem);
}

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: white;
}

.scrollable-body {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
}

.scrollable-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollable-body::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Dark mode overrides */
html.dark .header-sticky {
    background-color: var(--nav-bg, #1e293b);
    border-color: var(--border, #334155);
}

/* Industrial Form Elements */
.industrial-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #94a3b8; /* slate-400 */
    margin-bottom: 0.5rem;
    display: block;
}

.industrial-input {
    width: 100%;
    background-color: #f8fafc; /* slate-50 */
    border: 2px solid #f1f5f9; /* slate-100 */
    border-radius: 1rem; /* rounded-2xl */
    padding: 0.875rem 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #0f172a; /* slate-900 */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.industrial-input:focus {
    outline: none;
    border-color: #3b82f6; /* blue-500 */
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.dark .industrial-input {
    background-color: #1e293b; /* slate-800 equivalent in dark */
    border-color: #334155; /* slate-700 */
    color: #f1f5f9;
}

.dark .industrial-input:focus {
    background-color: #0f172a;
    border-color: #3b82f6;
}

.industrial-card-form {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.dark .industrial-card-form {
    background-color: #1e293b;
    border-color: #334155;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}
