:root {
    --ibmt-primary: #0f4c81;
    --ibmt-primary-dark: #0a3356;
    --ibmt-accent: #f0a202;
    --ibmt-surface: #ffffff;
    --ibmt-text: #16324f;
    --ibmt-muted: #5b7083;
    --ibmt-shadow: 0 18px 48px rgba(15, 76, 129, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ibmt-text);
    background:
        radial-gradient(circle at top left, rgba(240, 162, 2, 0.12), transparent 28%),
        linear-gradient(180deg, #f7fafc 0%, #edf3f9 100%);
    min-height: 100vh;
}

.ibmt-navbar {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.ibmt-brand {
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ibmt-primary-dark);
}

.ibmt-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(10, 51, 86, 0.94), rgba(15, 76, 129, 0.88));
    color: #fff;
    box-shadow: var(--ibmt-shadow);
}

.ibmt-section-title {
    font-size: clamp(1.7rem, 2vw, 2.4rem);
    font-weight: 700;
    color: var(--ibmt-primary-dark);
}

.ibmt-lead {
    color: rgba(255, 255, 255, 0.86);
    max-width: 720px;
}

.ibmt-card,
.ibmt-stat-card,
.ibmt-panel {
    background: var(--ibmt-surface);
    border: 1px solid rgba(15, 76, 129, 0.08);
    border-radius: 22px;
    box-shadow: var(--ibmt-shadow);
}

.ibmt-card,
.ibmt-panel {
    padding: 1.5rem;
}

.ibmt-stat-card {
    padding: 1.35rem 1.4rem;
}

.ibmt-stat-card .label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--ibmt-muted);
}

.ibmt-stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ibmt-primary-dark);
}

.ibmt-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(15, 76, 129, 0.1);
    color: var(--ibmt-primary);
    font-size: 1.35rem;
}

.ibmt-muted {
    color: var(--ibmt-muted);
}

.ibmt-btn-primary {
    background: linear-gradient(135deg, var(--ibmt-accent), #ffbe3d);
    color: #1b2838;
    border: none;
    font-weight: 700;
}

.ibmt-btn-primary:hover,
.ibmt-btn-primary:focus {
    background: linear-gradient(135deg, #e39500, #f7b733);
    color: #1b2838;
}

.ibmt-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.ibmt-btn-outline:hover,
.ibmt-btn-outline:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ibmt-shell {
    display: flex;
    min-height: 100vh;
}

.ibmt-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #0b2944 0%, #123f69 100%);
    color: #fff;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    align-self: stretch;
    min-height: 100vh;
    overflow-y: auto;
}

.ibmt-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.78);
    border-radius: 14px;
    padding: 0.8rem 0.95rem;
    margin-bottom: 0.35rem;
}

.ibmt-sidebar .nav-link:hover,
.ibmt-sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ibmt-main {
    flex: 1;
    padding: 1.5rem;
}

.ibmt-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ibmt-table thead th {
    border-bottom: none;
    background: #16324f;
    color: #fff;
}

.ibmt-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.ibmt-auth-card {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 76, 129, 0.1);
    box-shadow: var(--ibmt-shadow);
}

.ibmt-auth-side {
    background: linear-gradient(160deg, #0f4c81 0%, #0a3356 100%);
    color: #fff;
    padding: 2rem;
    height: 100%;
}

.ibmt-footer {
    background: #0b2944;
    color: rgba(255, 255, 255, 0.85);
}

.ibmt-badge-soft {
    background: rgba(15, 76, 129, 0.08);
    color: var(--ibmt-primary-dark);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .ibmt-shell {
        flex-direction: column;
    }

    .ibmt-sidebar {
        width: 100%;
        height: auto;
        position: static;
    }

    .ibmt-main {
        padding: 1rem;
    }

    .ibmt-hero {
        padding: 2rem;
    }
}
