:root {
    --cires-orange: #df5a1b;
    --cires-orange-dark: #bf4711;
    --cires-navy: #253246;
    --cires-bg: #f8fafc;
    --cires-border: #e5e7eb;
    --cires-muted: #667085;
    --cires-shadow-soft: 0 12px 30px rgba(37,50,70,.06);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cires-bg);
    color: var(--cires-navy);
}

.mer-topbar {
    background: #fff;
    border-bottom: 1px solid var(--cires-border);
    box-shadow: 0 8px 22px rgba(37,50,70,.05);
    position: sticky;
    top: 0;
    z-index: 20;
}

.mer-topbar-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.mer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cires-navy);
    text-decoration: none;
}

.mer-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.mer-brand strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.mer-brand small {
    display: block;
    color: var(--cires-muted);
    font-size: 12px;
    font-weight: 800;
    margin-top: 4px;
}

.mer-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.mer-nav a,
.mer-lang a {
    color: var(--cires-navy);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 10px 12px;
    border: 1px solid transparent;
}

.mer-nav a:hover,
.mer-nav a.active,
.mer-lang a.active {
    color: #fff;
    background: var(--cires-orange);
    border-color: var(--cires-orange);
}

.mer-lang {
    display: flex;
    gap: 4px;
}

.mer-page-hero {
    position: relative;
    padding: 78px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(223,90,27,.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(255,255,255,.08), transparent 34%),
        linear-gradient(135deg, var(--cires-navy) 0%, #1d2939 58%, var(--cires-navy) 100%);
    color: #fff;
    overflow: hidden;
}

.mer-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0, rgba(255,255,255,.035) 2px, transparent 2px, transparent 18px);
    pointer-events: none;
}

.mer-page-hero .container {
    position: relative;
    z-index: 2;
}

.mer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    background: var(--cires-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .9px;
    margin-bottom: 18px;
}

.mer-page-hero h1,
.mer-page-hero h2 {
    max-width: 980px;
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 4vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.3px;
}

.mer-page-hero p {
    max-width: 900px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.85;
}

.mer-main {
    padding: 62px 0;
    background: var(--cires-bg);
}

.context-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--cires-border);
    box-shadow: 0 10px 24px rgba(37, 50, 70, 0.06);
    color: var(--cires-muted);
    font-size: 14px;
    font-weight: 700;
}

.context-breadcrumb a {
    color: var(--cires-orange);
    text-decoration: none;
    font-weight: 900;
}

.context-breadcrumb .current {
    color: var(--cires-navy);
    font-weight: 900;
}

.mer-card {
    background: #fff;
    border: 1px solid var(--cires-border);
    box-shadow: var(--cires-shadow-soft);
    padding: 30px;
}

.mer-card-title {
    color: var(--cires-navy);
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.mer-form-label {
    font-size: 13px;
    font-weight: 900;
    color: var(--cires-navy);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border-radius: 0;
    min-height: 48px;
    border-color: var(--cires-border);
    color: var(--cires-navy);
    font-weight: 600;
}

textarea.form-control {
    min-height: 94px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cires-orange);
    box-shadow: 0 0 0 .2rem rgba(223,90,27,.12);
}

.mer-btn-primary,
.mer-btn-outline,
.mer-btn-dark {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .3px;
    border-radius: 0;
    transition: .25s ease;
}

.mer-btn-primary {
    background: var(--cires-orange);
    border: 1px solid var(--cires-orange);
    color: #fff;
}

.mer-btn-primary:hover {
    background: var(--cires-orange-dark);
    border-color: var(--cires-orange-dark);
    color: #fff;
}

.mer-btn-outline {
    background: #fff;
    border: 1px solid var(--cires-navy);
    color: var(--cires-navy);
}

.mer-btn-outline:hover {
    background: var(--cires-navy);
    color: #fff;
}

.mer-btn-dark {
    background: var(--cires-navy);
    border: 1px solid var(--cires-navy);
    color: #fff;
}

.mer-btn-dark:hover {
    background: #111827;
    color: #fff;
}

.mer-alert-note {
    background: #fff7f2;
    border-left: 4px solid var(--cires-orange);
    padding: 18px 20px;
    color: var(--cires-navy);
    font-weight: 700;
    line-height: 1.75;
}

.mer-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cires-navy);
    font-size: 1.1rem;
    font-weight: 900;
    margin: 28px 0 16px;
}

.mer-section-heading i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cires-orange);
    background: rgba(223,90,27,.10);
}

.mer-side-card {
    background: #fff;
    border: 1px solid var(--cires-border);
    box-shadow: var(--cires-shadow-soft);
    padding: 24px;
    margin-bottom: 24px;
}

.mer-side-card h3 {
    color: var(--cires-navy);
    font-size: 1.16rem;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 12px;
}

.mer-side-card p {
    color: var(--cires-muted);
    font-size: 14px;
    line-height: 1.8;
}

.mer-status-card {
    background: #fff;
    border: 1px solid var(--cires-border);
    box-shadow: var(--cires-shadow-soft);
    padding: 22px;
    height: 100%;
}

.mer-status-card span {
    display: block;
    color: var(--cires-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 8px;
}

.mer-status-card strong {
    color: var(--cires-navy);
    font-size: 1.25rem;
    font-weight: 900;
}

.table thead th {
    background: var(--cires-navy) !important;
    color: #fff !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.table td,
.table th {
    vertical-align: middle;
}

.mer-footer {
    background: #fff;
    border-top: 1px solid var(--cires-border);
    color: var(--cires-muted);
    font-size: 13px;
    font-weight: 700;
    padding: 20px 0;
}

.mer-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .mer-topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }
    .mer-nav {
        width: 100%;
    }
    .mer-card {
        padding: 22px;
    }
}

@media (max-width: 767px) {
    .mer-page-hero {
        padding: 55px 0;
    }
    .mer-main {
        padding: 45px 0;
    }
}
