/* =====================================================
   MORIAH ONE — Forms CSS
   moriah-forms.css
   ===================================================== */

/* ===== FIELD ===== */
.mor-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mor-label {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.mor-required {
    color: #E24B4A;
    margin-left: 2px;
}

.mor-hint {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 2px;
}

/* Override MudBlazor inputs dentro de MorField */
.mor-field .mud-input-outlined .mud-input {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 13px !important;
}

.mor-field .mud-input-outlined-border {
    border-radius: 8px !important;
}

/* ===== PAGE ===== */
.mor-page {
    padding: 0;
}

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

.mor-page-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
}

.mor-page-breadcrumb {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.mor-page-breadcrumb span {
    color: #185FA5;
    cursor: pointer;
}

.mor-page-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ===== CARD ===== */
.mor-card {
    background: white !important;
    border: 0.5px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
    overflow: hidden !important;
}

/* ===== FORM FOOTER ===== */
.mor-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
}

/* ===== INNER TABS ===== */
.mor-inner-tabs .mud-tabs-tabbar {
    background: white !important;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08) !important;
    padding: 0 20px !important;
    min-height: unset !important;
}

.mor-inner-tabs .mud-tab {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    min-height: 44px !important;
    text-transform: none !important;
    padding: 0 18px !important;
}

.mor-inner-tabs .mud-tab-active {
    color: #185FA5 !important;
    font-weight: 600 !important;
}

.mor-inner-tabs .mud-tab-slider {
    background-color: #185FA5 !important;
    height: 2px !important;
}

.mor-tab-panel {
    padding: 20px !important;
}

/* ===== SEÇÕES COLAPSÁVEIS ===== */
.mor-section {
    background: white;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.mor-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.1s;
}

.mor-section-header:hover {
    background: #fafafa;
}

.mor-section-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mor-section-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #E6F1FB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mor-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

.mor-section-subtitle {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
}

.mor-section-body {
    padding: 18px 20px 20px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.06);
}

/* ===== SWITCH ROW ===== */
.mor-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.mor-switch-row:last-child {
    border-bottom: none;
}

.mor-switch-label span {
    font-size: 12px;
    font-weight: 500;
    color: #1a1a2e;
}

.mor-switch-label small {
    display: block;
    font-size: 10px;
    color: #9ca3af;
    margin-top: 2px;
}

/* ===== UPLOAD ===== */
.mor-upload-zone {
    border: 1.5px dashed rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mor-upload-zone:hover {
    border-color: #185FA5;
    background: #E6F1FB;
}

.mor-upload-text {
    font-size: 12px;
    color: #6b7280;
}

.mor-upload-text strong {
    color: #185FA5;
}

.mor-upload-hint {
    font-size: 10px;
    color: #9ca3af;
}
