/* ================================================================
   Customer Catalog Dashboard — app styles
   Built on top of Bootstrap 5 + Bootstrap Icons (loaded via CDN).
   ================================================================ */

body {
    background: #f5f5f7;
    color: #202124;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---- Top navigation branding ---- */
.topnav {
    background: linear-gradient(135deg, #1a237e 0%, #4527a0 100%);
}
.brand-logo {
    height: 34px;
    width: auto;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    object-fit: contain;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: #fff;
}
.brand-text .brand-title {
    font-size: 16px;
    font-weight: 600;
}
.brand-text .brand-sub {
    font-size: 11px;
    opacity: 0.85;
    letter-spacing: 0.3px;
    font-weight: 400;
}

/* ---- Login page ---- */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a237e 0%, #4527a0 100%);
    padding: 24px;
}
.login-wrap { width: 100%; max-width: 440px; }
.login-card { border: none; border-radius: 10px; }
.brand-row { display: flex; align-items: center; gap: 12px; }
.brand-logo-lg { height: 48px; width: auto; object-fit: contain; }
.brand-row .brand-title { font-size: 18px; font-weight: 600; color: #1a237e; }
.brand-row .brand-sub   { font-size: 12px; color: #5f6368; letter-spacing: 0.3px; }

/* ---- Status chips ---- */
.badge.status-DRAFT              { background: #e8eaed; color: #3c4043; }
.badge.status-TECH_REVIEW        { background: #e3f2fd; color: #1565c0; }
.badge.status-MANAGEMENT_REVIEW  { background: #ede7f6; color: #4527a0; }
.badge.status-OPERATOR_SIGN_OFF  { background: #fff3e0; color: #e65100; }
.badge.status-READY_FOR_BUILD    { background: #e0f2f1; color: #00695c; }
.badge.status-BUILD_IN_PROGRESS  { background: #fff8e1; color: #f57f17; }
.badge.status-UAT                { background: #f3e5f5; color: #6a1b9a; }
.badge.status-GO_LIVE_SCHEDULED  { background: #e8f5e9; color: #2e7d32; }
.badge.status-LIVE               { background: #c8e6c9; color: #1b5e20; }
.badge.status-ON_HOLD            { background: #ffe0b2; color: #e65100; }
.badge.status-CANCELLED          { background: #ffcdd2; color: #b71c1c; }

/* ---- Form section headings ---- */
.section-h {
    font-size: 14px;
    font-weight: 600;
    color: #1a237e;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 20px 0 8px;
}
.contact-h {
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
}

/* ---- Tabs ---- */
.nav-tabs .nav-link { color: #5f6368; }
.nav-tabs .nav-link.active { color: #1a237e; font-weight: 500; }

/* ---- Tables ---- */
.table thead th {
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ---- Asset preview boxes (branding section) ---- */
.preview-box {
    background: #f8f9fa;
    border: 1px dashed #ced4da;
    border-radius: 6px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.preview-img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}
