:root {
    --mavi-green: #2f855a;
    --mavi-green-dark: #1f5f43;
    --mavi-gold: #d9a441;
    --mavi-ink: #1f2933;
    --mavi-soft: #f6faf7;
}

body {
    color: var(--mavi-ink);
    background: #f4f7f6;
}

.brand-link {
    background: linear-gradient(180deg, #f7fbf8, #ffffff);
    border-bottom: 1px solid rgba(47, 133, 90, .16);
}

.main-sidebar {
    border-right: 1px solid rgba(47, 133, 90, .15);
}

.nav-sidebar .nav-link.active,
.nav-sidebar .nav-link:hover {
    background: rgba(47, 133, 90, .11);
    color: var(--mavi-green-dark);
}

.content-wrapper {
    background: #f4f7f6;
}

.card {
    border-radius: 8px;
    border: 0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid #edf2f0;
}

.btn {
    border-radius: 8px;
}

.form-control,
.custom-select {
    border-radius: 8px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    border-radius: 8px;
    height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-dropdown {
    border-color: #ced4da;
    border-radius: 8px;
}

.table td,
.table th {
    vertical-align: middle;
}

.table.table-hover tbody tr:hover > td,
.table.table-hover tbody tr:hover > th {
    background-color: rgba(15, 23, 42, .045) !important;
}

.small-box {
    border-radius: 8px;
}

.small-box .icon {
    top: 10px;
}

.mavi-login-page {
    background:
        radial-gradient(circle at 16% 20%, rgba(217, 164, 65, .22), transparent 28%),
        radial-gradient(circle at 88% 84%, rgba(47, 133, 90, .32), transparent 34%),
        linear-gradient(135deg, #0b1712 0%, #14251d 48%, #203d2f 100%);
    min-height: 100vh;
    padding: 24px 0;
}

.login-shell {
    width: min(1040px, 94vw);
    background: rgba(255, 255, 255, .98);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 32px 90px rgba(0, 0, 0, .38);
    position: relative;
}

.login-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    pointer-events: none;
}

.login-brand-panel {
    min-height: 570px;
    background:
        linear-gradient(rgba(13, 28, 21, .86), rgba(13, 28, 21, .91)),
        linear-gradient(135deg, rgba(217, 164, 65, .34), transparent 34%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 88px),
        #16271f;
    display: flex;
    align-items: center;
    padding: 48px;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.login-brand-panel::before,
.login-brand-panel::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(217, 164, 65, .34);
    transform: rotate(-10deg);
}

.login-brand-panel::before {
    width: 260px;
    height: 150px;
    right: -58px;
    top: 58px;
}

.login-brand-panel::after {
    width: 340px;
    height: 210px;
    left: -110px;
    bottom: -86px;
    border-color: rgba(255, 255, 255, .12);
}

.brand-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.brand-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
    color: rgba(248, 250, 252, .72);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-kicker span {
    width: 42px;
    height: 2px;
    background: var(--mavi-gold);
    display: inline-block;
}

.brand-mark {
    width: 92px;
    height: 92px;
    margin-bottom: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(217, 164, 65, .98), rgba(47, 133, 90, .84));
    box-shadow: 0 22px 48px rgba(0, 0, 0, .34);
    display: grid;
    place-items: center;
    position: relative;
}

.brand-mark i:first-child {
    color: #08110d;
    font-size: 2.25rem;
}

.brand-mark i:last-child {
    position: absolute;
    right: -12px;
    bottom: -12px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--mavi-green-dark);
    display: grid;
    place-items: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .24);
    font-size: 1rem;
}

.login-brand-panel h1 {
    max-width: 430px;
    margin-bottom: 16px;
    font-size: 2.55rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
    color: #ffffff;
}

.login-brand-panel p {
    max-width: 440px;
    color: rgba(248, 250, 252, .76);
    font-size: 1.03rem;
    line-height: 1.7;
}

.brand-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 42px;
    max-width: 460px;
}

.brand-metrics div {
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    padding: 16px 14px;
    backdrop-filter: blur(12px);
}

.brand-metrics strong,
.brand-metrics span {
    display: block;
}

.brand-metrics strong {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.1;
}

.brand-metrics span {
    margin-top: 6px;
    color: rgba(248, 250, 252, .62);
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.login-form-panel {
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 54px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 248, .98));
}

.login-form-header {
    margin-bottom: 32px;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(47, 133, 90, .1);
    color: var(--mavi-green-dark);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.login-form-header h3 {
    margin-bottom: 8px;
    color: #111827;
    font-size: 2rem;
    font-weight: 800;
}

.login-form-header p {
    margin-bottom: 0;
    color: #69746f;
}

.login-form-panel label {
    color: #26352e;
    font-size: .9rem;
    font-weight: 800;
}

.login-input-group .input-group-text {
    min-width: 52px;
    justify-content: center;
    border-color: #d8e2dc;
    background: #f8fbf9;
    color: var(--mavi-green-dark);
}

.login-input-group .form-control {
    border-color: #d8e2dc;
}

.login-input-group .form-control:focus {
    border-color: rgba(47, 133, 90, .65);
    box-shadow: none;
}

.login-input-group:focus-within {
    box-shadow: 0 0 0 .2rem rgba(47, 133, 90, .12);
    border-radius: 8px;
}

.btn-login {
    border: 0;
    background: linear-gradient(135deg, var(--mavi-green-dark), var(--mavi-green));
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(31, 95, 67, .24);
}

.btn-login:hover,
.btn-login:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #184b34, #2b7a53);
    box-shadow: 0 18px 34px rgba(31, 95, 67, .3);
}

.breadcrumb {
    background: transparent;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    padding: 6px 0 10px;
}

.breadcrumb.float-sm-right {
    float: none !important;
    justify-content: flex-start;
}

.breadcrumb-item {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
}

.breadcrumb-item a {
    color: #6b7280;
    font-weight: 400;
}

.breadcrumb-item.active {
    color: #1f2933;
    font-weight: 400;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #7a8782;
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-size: .9rem;
    font-weight: 900;
    padding-right: 10px;
}

.content-header .breadcrumb {
    margin-bottom: 0;
}

.content-header .row {
    display: block;
}

.content-header .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
}

.content-header .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (max-width: 991px) {
    .login-brand-panel,
    .login-form-panel {
        min-height: auto;
        padding: 28px 24px;
    }

    .brand-metrics {
        display: none;
    }

    .brand-kicker {
        margin-bottom: 18px;
        font-size: .7rem;
    }

    .brand-mark {
        width: 68px;
        height: 68px;
        margin-bottom: 18px;
    }

    .brand-mark i:first-child {
        font-size: 1.65rem;
    }

    .brand-mark i:last-child {
        width: 34px;
        height: 34px;
        right: -8px;
        bottom: -8px;
    }

    .login-brand-panel h1 {
        font-size: 1.8rem;
    }

    .login-brand-panel p {
        font-size: .94rem;
        line-height: 1.55;
    }

    .login-form-header h3 {
        font-size: 1.75rem;
    }
}
