/* ========================================================
   GLOBAL STYLES (Header, Sidebar, Footer, Login)
   ======================================================== */
:root {
    --primary-blue: #0A6ED1;
    --dark-blue: #064D96;
    --premium-bg: linear-gradient(135deg, #0A1C40 0%, #064D96 50%, #0A6ED1 100%);
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    --border-radius-lg: 16px;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --arellano-green: #92bf26;
    --arellano-green-dark: #7a9f20;
    --arellano-navy: #213046;
}

/* Login Page Background */
.loginBackground {
    background: linear-gradient(rgba(33, 48, 70, 0.6), rgba(33, 48, 70, 0.9)), url('../img/edificio.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Global Background */
.globalBackground {
    background-color: #F4F6F9;
    height: 100%;
}

/* ========================================================
   EXECUTIVE CORPORATE HEADER (ToolHeader)
   ======================================================== */
.sapTntToolHeader,
.corporateToolHeader.sapTntToolHeader {
    background: linear-gradient(90deg, #162233 0%, #213046 50%, #192638 100%) !important;
    height: 4.35rem !important;
    padding: 0 1.25rem !important;
    border-bottom: 3px solid var(--arellano-green) !important;
    box-shadow: 0 4px 20px rgba(11, 28, 48, 0.22) !important;
}

/* Hamburger Menu Button */
.headerHamburgerBtn.sapMBtn {
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}
.headerHamburgerBtn .sapMBtnInner {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}
.headerHamburgerBtn .sapMBtnIcon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}
.headerHamburgerBtn:hover .sapMBtnInner {
    background-color: rgba(146, 191, 38, 0.18) !important;
    border-color: rgba(146, 191, 38, 0.5) !important;
}

/* Brand Identity Block */
.headerBrandContainer {
    gap: 12px !important;
    margin-left: 6px !important;
}
.headerLogoBox {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    padding: 5px 10px !important;
    height: 38px !important;
}
.headerBrandTextGroup {
    border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
    padding-left: 14px !important;
    gap: 2px !important;
}
.headerTitleRow {
    gap: 10px !important;
}
.headerMainTitle {
    color: #FFFFFF !important;
    font-weight: 800 !important;
    font-family: 'Public Sans', 'Outfit', 'Inter', sans-serif !important;
    font-size: 1.18rem !important;
    letter-spacing: -0.01em !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}
.headerActiveSectionPill {
    background-color: rgba(146, 191, 38, 0.18) !important;
    color: #b8e64c !important;
    border: 1px solid rgba(146, 191, 38, 0.4) !important;
    border-radius: 6px !important;
    padding: 2px 9px !important;
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}
.headerBrandSubtitle {
    color: rgba(203, 213, 225, 0.78) !important;
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 0.64rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
}

/* SAP Live Connection Status Pill */
.headerSapStatusPill {
    background: rgba(15, 23, 42, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 999px !important;
    padding: 5px 12px !important;
    margin-right: 10px !important;
    gap: 6px !important;
}
.headerSapStatusIcon {
    color: var(--arellano-green) !important;
    font-size: 0.8rem !important;
}
.headerSapStatusText {
    color: #e2e8f0 !important;
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
}

/* Executive Supplier Profile Capsule */
.headerUserCapsule {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    padding: 5px 12px 5px 8px !important;
    margin-right: 10px !important;
    gap: 10px !important;
    height: 44px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
.headerUserAvatarBadge {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, rgba(146, 191, 38, 0.25) 0%, rgba(47, 108, 11, 0.45) 100%) !important;
    border: 1px solid rgba(146, 191, 38, 0.5) !important;
    flex-shrink: 0 !important;
}
.headerUserAvatarIcon {
    color: #b8e64c !important;
    font-size: 0.95rem !important;
}
.headerUserTextBox {
    gap: 1px !important;
}
.headerUserName {
    color: #FFFFFF !important;
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.01em !important;
    line-height: 1.15 !important;
}
.headerUserMetaRow {
    gap: 8px !important;
}
.headerUserCode {
    color: #cbd5e1 !important;
    font-family: 'Consolas', 'Public Sans', monospace !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
}
.headerProfileBadge .sapMObjStatusText {
    background-color: var(--arellano-green) !important;
    color: #0b1c30 !important;
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 1px 7px !important;
    border-radius: 4px !important;
    line-height: 1.3 !important;
}

/* Executive Logout Button */
.headerLogoutBtn.sapMBtn {
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}
.headerLogoutBtn .sapMBtnInner,
.headerLogoutBtn .sapMBtnInner.sapMBtnText,
.headerLogoutBtn .sapMBtnInner.sapMBtnIconFirst {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    background-color: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}
.headerLogoutBtn .sapMBtnIcon,
.headerLogoutBtn .sapMBtnInner .sapMBtnIcon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: 16px !important;
    max-height: 16px !important;
    line-height: 1 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    color: #FFFFFF !important;
}
.headerLogoutBtn .sapMBtnIcon::before {
    line-height: 1 !important;
    display: block !important;
}
.headerLogoutBtn .sapMBtnContent {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FFFFFF !important;
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    height: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
}
.headerLogoutBtn .sapMBtnContent > bdi {
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}
.headerLogoutBtn:hover .sapMBtnInner,
.headerLogoutBtn.sapMBtnHoverable:hover .sapMBtnInner,
.headerLogoutBtn:focus .sapMBtnInner,
.headerLogoutBtn:active .sapMBtnInner {
    background-color: rgba(220, 38, 38, 0.25) !important;
    border-color: rgba(248, 113, 113, 0.6) !important;
    color: #FFFFFF !important;
}
.headerLogoutBtn:hover .sapMBtnContent,
.headerLogoutBtn:hover .sapMBtnContent > bdi,
.headerLogoutBtn:hover .sapMBtnIcon,
.headerLogoutBtn.sapMBtnHoverable:hover .sapMBtnContent,
.headerLogoutBtn.sapMBtnHoverable:hover .sapMBtnContent > bdi,
.headerLogoutBtn.sapMBtnHoverable:hover .sapMBtnIcon,
.headerLogoutBtn:focus .sapMBtnContent,
.headerLogoutBtn:focus .sapMBtnContent > bdi,
.headerLogoutBtn:focus .sapMBtnIcon,
.headerLogoutBtn:active .sapMBtnContent,
.headerLogoutBtn:active .sapMBtnContent > bdi,
.headerLogoutBtn:active .sapMBtnIcon {
    color: #FFFFFF !important;
}
.sapTntToolHeader .sapMBtnInner.sapMBtnTransparent,
.sapTntToolHeader [id*="sideNavigationToggleButton"] .sapMBtnInner,
.sapTntToolHeader [id*="sideNavigationToggleButton"] .sapMBtnInner.sapMBtnTransparent {
    color: #FFFFFF !important;
    opacity: 1 !important;
}
.sapTntToolHeader .sapMBtnInner.sapMBtnTransparent .sapMBtnIcon,
.sapTntToolHeader [id*="sideNavigationToggleButton"] .sapUiIcon,
.sapTntToolHeader [id*="sideNavigationToggleButton"] .sapMBtnIcon {
    color: #FFFFFF !important;
    font-size: 1.05rem !important;
}

/* Sidebar Navigation */
.sapTntSideNavigation {
    width: 100% !important;
    height: 100% !important;
    background-color: var(--arellano-navy) !important;
}
.sapTntNavL { background-color: transparent !important; }
.sapTntNavLI {
    color: rgba(255,255,255,0.7) !important;
    border-left: 4px solid transparent !important;
    transition: all 0.2s ease;
}
.sapTntNavLI:hover {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}
.sapTntNavLISelected {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-left-color: var(--arellano-green) !important;
    font-weight: bold !important;
}
.sapTntNavLISelected .sapUiIcon {
    color: var(--arellano-green) !important;
}
.sapTntToolPageAside {
    background-color: var(--arellano-navy) !important;
}

/* Footer */
.portalFooter {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.5rem !important;
    width: 100%;
}
.footerText {
    color: #74777d !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px;
}

/* ========================================================
   STITCH DESIGN SYSTEM - ABSOLUTE SAPUI5 OVERRIDES
   ======================================================== */
/* 1. INPUTS AND SELECTS (Fixing Double Lines) */
/* Reset wrapper for Inputs ONLY */
.stitch-input, .stitch-input.sapMInput {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: 40px !important; /* Force outer height */
}
.stitch-input .sapMInputBaseContentWrapper {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: 100% !important;
}
/* Apply exact design to inner layer for Inputs */
.stitch-input .sapMInputBaseInner {
    border-radius: 0.25rem !important; /* rounded */
    border: 1px solid #c4c6cd !important; /* border-outline-variant */
    padding: 0 16px !important; /* px-sm */
    height: 100% !important; /* Match wrapper */
    background-color: #ffffff !important;
    color: #0b1c30 !important; /* text-on-surface */
    box-shadow: none !important; /* KILL SAP DEFAULT SHADOW */
    outline: none !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
}
/* Selects are styled directly on the outer wrapper because they lack an inner div */
.stitch-select.sapMSelect {
    border-radius: 0.25rem !important;
    border: 1px solid #c4c6cd !important;
    height: 40px !important;
    background-color: #ffffff !important;
    color: #0b1c30 !important;
    box-shadow: none !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
}
/* Focus State */
.stitch-input .sapMInputBaseInner:focus, .stitch-select.sapMSelect:focus, .stitch-select.sapMSelect.sapMSelectFocused {
    border-color: var(--arellano-green) !important; /* focus:border-secondary */
    box-shadow: 0 0 0 2px rgba(146, 191, 38, 0.5) !important; /* focus:ring-2 focus:ring-secondary/50 */
}

/* 2. LABELS */
.stitch-label {
    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #74777d !important; /* text-outline */
    margin-bottom: 4px !important;
}

/* 3. BUTTONS GLOBAL RESET */
/* Kill all outer wrappers to let Inner do the work */
.stitch-btn-agregar, .stitch-btn-borrar, .stitch-btn-regresar, .stitch-btn-grabar, .stitch-btn-text-editar, .stitch-btn-text-eliminar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
}

/* 4. AGREGAR BUTTON (Square-ish, Green) */
.stitch-btn-agregar .sapMBtnInner {
    background-color: var(--arellano-green) !important; /* bg-secondary */
    color: #ffffff !important; /* text-on-secondary */
    border: none !important;
    border-radius: 0.25rem !important; /* rounded (4px) */
    font-family: Inter, sans-serif !important;
    font-weight: 700 !important;
    height: 40px !important; /* h-10 */
    padding: 0 24px !important; /* px-md */
    box-shadow: none !important;
    text-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s !important;
}
.stitch-btn-agregar .sapMBtnIcon { color: #ffffff !important; font-size: 20px !important; }
.stitch-btn-agregar:hover .sapMBtnInner { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }

/* 5. BORRAR BUTTON (Square-ish, Green Border) */
.stitch-btn-borrar .sapMBtnInner {
    background-color: transparent !important;
    color: var(--arellano-green) !important; /* text-secondary */
    border: 1px solid var(--arellano-green) !important; /* border-secondary */
    border-radius: 0.25rem !important; /* rounded (4px) */
    font-family: Inter, sans-serif !important;
    font-weight: 700 !important;
    height: 40px !important; /* h-10 */
    padding: 0 24px !important; /* px-md */
    box-shadow: none !important;
    text-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s !important;
}
.stitch-btn-borrar .sapMBtnIcon { color: var(--arellano-green) !important; font-size: 20px !important; }
.stitch-btn-borrar:hover .sapMBtnInner { background-color: rgba(146, 191, 38, 0.05) !important; }

/* 6. GRABAR BUTTON (Sticky Footer - Full Rounded, Green) */
.stitch-btn-grabar .sapMBtnInner {
    background-color: var(--arellano-green) !important; /* bg-secondary */
    color: #ffffff !important; /* text-on-secondary */
    border: none !important;
    border-radius: 9999px !important; /* rounded-full */
    font-family: Inter, sans-serif !important;
    font-weight: 700 !important;
    height: 40px !important; /* h-10 */
    padding: 0 32px !important; /* px-lg */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; /* shadow-md */
    text-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s !important;
}
.stitch-btn-grabar .sapMBtnIcon { color: #ffffff !important; font-size: 20px !important; }
.stitch-btn-grabar:hover .sapMBtnInner { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }

/* 7. REGRESAR BUTTON (Sticky Footer - Full Rounded, Dark Border) */
.stitch-btn-regresar .sapMBtnInner {
    background-color: transparent !important;
    color: var(--arellano-navy) !important; /* text-primary */
    border: 1px solid var(--arellano-navy) !important; /* border-primary */
    border-radius: 9999px !important; /* rounded-full */
    font-family: Inter, sans-serif !important;
    font-weight: 700 !important;
    height: 40px !important; /* h-10 */
    padding: 0 24px !important; /* px-md */
    box-shadow: none !important;
    text-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s !important;
}
.stitch-btn-regresar .sapMBtnIcon { color: var(--arellano-navy) !important; font-size: 20px !important; }
.stitch-btn-regresar:hover .sapMBtnInner { background-color: rgba(33, 48, 70, 0.05) !important; }

/* 8. TABLE BUTTONS (Text only, no borders) */
.stitch-btn-text-editar .sapMBtnInner, .stitch-btn-text-eliminar .sapMBtnInner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    padding: 0 8px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.stitch-btn-text-editar .sapMBtnInner, .stitch-btn-text-editar .sapMBtnContent { color: var(--arellano-green) !important; font-weight: normal !important; }
.stitch-btn-text-editar .sapMBtnIcon { color: var(--arellano-green) !important; font-size: 18px !important; }
.stitch-btn-text-editar:hover .sapMBtnContent { text-decoration: underline !important; }

.stitch-btn-text-eliminar .sapMBtnInner, .stitch-btn-text-eliminar .sapMBtnContent { color: #d32f2f !important; font-weight: normal !important; }
.stitch-btn-text-eliminar .sapMBtnIcon { color: #d32f2f !important; font-size: 18px !important; }
.stitch-btn-text-eliminar:hover .sapMBtnContent { text-decoration: underline !important; }

/* 9. STICKY FOOTER WRAPPER */
.stitch-sticky-footer {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(196, 198, 205, 0.3) !important;
    border-radius: 9999px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 16px !important;
    margin: 1.5rem auto !important;
    width: 100% !important;
    max-width: 42rem !important; /* max-w-2xl */
    position: sticky !important;
    bottom: 16px !important;
    z-index: 30 !important;
}

/* 10. STITCH UTILITY CLASSES */
.stitch-title-h3 {
    font-family: Inter, sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--arellano-navy) !important; /* primary */
    margin: 0 !important;
}
.stitch-title-h5 {
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--arellano-navy) !important;
    margin: 0 !important;
}
.stitch-border-30 { border-color: rgba(196, 198, 205, 0.3) !important; }
.stitch-border-20 { border-color: rgba(196, 198, 205, 0.2) !important; }
.stitch-shadow { box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05) !important; }
.stitch-gap-12 { gap: 12px !important; }
.stitch-gap-24 { gap: 24px !important; }
.stitch-text-muted { color: #74777d !important; /* outline */ font-family: Inter, sans-serif !important; }
.stitch-text-dark { color: #0b1c30 !important; /* on-surface */ font-family: Inter, sans-serif !important; }
.stitch-max-w { max-width: 1440px !important; }
.stitch-max-w-left { max-width: 1050px !important; }
.stitch-badge-green .sapMObjStatusText {
    background-color: #acf284 !important; /* secondary-container */
    color: #337010 !important; /* on-secondary-container */
    padding: 4px 8px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
}
.stitch-table-header {
    background-color: #eff4ff !important; /* surface-container-low */
    border-bottom: 1px solid rgba(196, 198, 205, 0.3) !important;
    padding: 12px 16px !important;
}
.stitch-table-row,
.stitch-table-row > td,
.stitch-table-row.sapMListTblRowAlternate,
.stitch-table-row.sapMListTblRowAlternate > td,
.sapMListTbl .sapMListTblRowAlternate,
.sapMListTbl .sapMListTblRowAlternate > td {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.stitch-table-row {
    border-bottom: 1px solid rgba(196, 198, 205, 0.3) !important;
}

/* Remove hover shading if user doesn't want it, or keep it very subtle. Removing completely to match image exactly */
.stitch-table-row:hover,
.stitch-table-row:hover > td,
.stitch-table-row:active,
.stitch-table-row.sapMLIBActive {
    background-color: #ffffff !important;
    background: #ffffff !important;
}
.font-medium { font-weight: 500 !important; }

/* 11. SAPUI5 BUSY INDICATOR FIX (Force Horizontal Dots) */
.sapUiLocalBusyIndicatorAnimation,
.sapUiBusyAnimation,
.sapUiBusyIndicator {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}
.sapUiLocalBusyIndicatorAnimation > span,
.sapUiBusyAnimation > span,
.sapUiLocalBusyIndicatorAnimation > div,
.sapUiBusyAnimation > div {
    display: inline-block !important;
    flex-shrink: 0 !important;
    margin: 0 1px !important;
}

/* 12. CORPORATE REMINDER DIALOG MODAL & FROSTED BACKDROP */
.sapUiBLy,
#sap-ui-blocklayer-popup {
    background-color: rgba(10, 18, 30, 0.78) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    opacity: 1 !important;
    transition: opacity 0.25s ease, backdrop-filter 0.25s ease !important;
}

.corporateReminderDialog,
.corporateReminderDialog.sapMDialog {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 2px solid #92bf26 !important;
    box-shadow:
        0 0 0 6px rgba(146, 191, 38, 0.20),
        0 0 40px rgba(0, 0, 0, 0.55),
        0 35px 80px -12px rgba(5, 10, 20, 0.9) !important;
    background: #ffffff !important;
}

.corporateReminderDialog .sapMDialogSection {
    padding: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.corporateReminderDialog .sapMDialogScrollCont {
    padding: 0 !important;
}

/* ========================================================
   13. DATOS DEL PROVEEDOR - EXECUTIVE CORPORATE REDESIGN
   ======================================================== */
.vendorCorporateWrapper {
    max-width: 1220px !important;
    margin: 0 auto !important;
    padding-bottom: 32px !important;
}

/* Page Header Banner */
.vendorPageHeaderCard {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid var(--arellano-navy) !important;
    border-radius: 12px !important;
    padding: 18px 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    gap: 16px !important;
}

.vendorPageHeaderLeft {
    gap: 16px !important;
}

.vendorHeaderIconBadge {
    width: 46px !important;
    height: 46px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #213046 0%, #334868 100%) !important;
    box-shadow: 0 4px 10px rgba(33, 48, 70, 0.2) !important;
    flex-shrink: 0 !important;
}

.vendorPageMainTitle {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.vendorPageSubtitle {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #64748b !important;
    margin-top: 2px !important;
}

.vendorDirtyBadge .sapMObjStatusText,
.vendorDirtyBadge .sapMObjStatusIcon {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.vendorTopActionsBar {
    gap: 10px !important;
}

/* Section Cards */
.vendorCorporateCard {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

.vendorCardHeader {
    padding: 18px 24px !important;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    width: 100% !important;
}

.vendorCardHeaderGreen {
    border-top: 3px solid #2f6c0b !important;
}

.vendorCardHeaderNavy {
    border-top: 3px solid #213046 !important;
}

.vendorSectionIconBox {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    margin-right: 14px !important;
    flex-shrink: 0 !important;
}

.vendorSectionIconGreen {
    background-color: rgba(47, 108, 11, 0.1) !important;
    border: 1px solid rgba(47, 108, 11, 0.2) !important;
}

.vendorSectionIconNavy {
    background-color: rgba(33, 48, 70, 0.08) !important;
    border: 1px solid rgba(33, 48, 70, 0.18) !important;
}

.vendorSectionTitle {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.vendorSectionSubtitle {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    margin-top: 2px !important;
}

.vendorCountPill .sapMObjStatusText {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
}

.vendorCardBody {
    padding: 24px 24px 18px 24px !important;
    background-color: #ffffff !important;
}

.vendorFormToolbar {
    margin-top: 12px !important;
    padding-top: 16px !important;
    border-top: 1px dashed #e2e8f0 !important;
    width: 100% !important;
    gap: 12px !important;
}

.vendorHintText {
    font-size: 12px !important;
    color: #64748b !important;
    font-family: 'Public Sans', 'Inter', sans-serif !important;
}

.vendorFormBtnGroup {
    gap: 10px !important;
}

/* Subtable Banner */
.vendorSubtableBanner {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 10px 24px !important;
    width: 100% !important;
}

.vendorSubtableTitle {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    color: #334155 !important;
    text-transform: uppercase !important;
}

/* Contacts Corporate Table */
.vendorTableColTitle {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    color: #475569 !important;
    text-transform: uppercase !important;
}

.vendorCellAliasBox {
    gap: 10px !important;
}

.vendorAvatarMini {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background-color: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    flex-shrink: 0 !important;
}

.vendorCellPrimaryText {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.vendorCellSecondaryText {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #475569 !important;
}

.vendorCellEmailText {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #1e40af !important;
    font-weight: 500 !important;
}

.vendorRowActionBtns {
    gap: 8px !important;
}

.vendorActionIconBtn .sapMBtnInner {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: background-color 0.15s ease !important;
}

.stitch-btn-text-editar.vendorActionIconBtn:hover .sapMBtnInner {
    background-color: rgba(146, 191, 38, 0.12) !important;
}

.stitch-btn-text-eliminar.vendorActionIconBtn:hover .sapMBtnInner {
    background-color: rgba(211, 47, 47, 0.1) !important;
}

/* Registered Bank Accounts List */
.vendorAccountListItem.sapMLIB {
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0 !important;
    background: #ffffff !important;
}

.vendorAccountRowCard {
    padding: 18px 24px !important;
    gap: 16px !important;
    transition: background-color 0.15s ease !important;
}

.vendorAccountRowCard:hover {
    background-color: #f8fafc !important;
}

.vendorAccountBankInfo {
    gap: 14px !important;
    min-width: 240px !important;
}

.vendorBankIconAvatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    flex-shrink: 0 !important;
}

.vendorBankNameTitle {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.vendorBankAccountTypeText {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 2px !important;
}

.vendorAccountNumbersGroup {
    gap: 24px !important;
    flex: 1 !important;
}

.vendorAccountDataBox {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    min-width: 210px !important;
}

.vendorAccountDataLabel {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
}

.vendorAccountDataValue {
    font-family: 'Consolas', 'Courier New', monospace !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    letter-spacing: 0.03em !important;
}

.vendorAccountActionsGroup {
    gap: 12px !important;
}

/* Bottom Corporate Action Bar */
.vendorBottomActionBar {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 16px 24px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
    gap: 16px !important;
}

.vendorBottomInfoText {
    font-family: 'Public Sans', 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #334155 !important;
    font-weight: 500 !important;
}

.vendorBottomButtons {
    gap: 12px !important;
}




