:root {
    --primary: #0f4c5c;
    --primary-dark: #0d4351;
    --primary-darker: #0a3844;
    --primary-light: #c5dde2;
    --primary-lighter: #e8f2f4;
    --accent: #5c1f0f;
    --accent-hover: #521b0d;
    --bs-primary: #0f4c5c;
    --bs-primary-rgb: 15, 76, 92;
    --bs-body-bg: #f8fafc;
    --bs-body-color: #1e293b;
    --bs-border-radius: 0.5rem;
    --bs-border-radius-lg: 0.75rem;
}

body {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container-custom{
    max-width: 1600px;
}
.text-primary-light {
    color: var(--primary-light) !important;
}

.text-primary-lighter {
    color: var(--primary-lighter) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-accent:hover {
    color: var(--accent-hover) !important;
}

.textile-pattern {
    background-size: 20px 20px;
    background-position: 0 0, 10px 0, 10px -10px, 0 10px;
}

.max-width-1000{
    max-width: 1000px;
}

.form-label{
    font-size: 0.9rem;
}

.brand-panel {
    background: linear-gradient(135deg, rgba(13, 67, 81, 0.9) 0%, var(--primary) 50%, var(--primary-darker) 100%);
    position: relative;
    overflow: hidden;
}

.brand-panel__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.brand-panel__orb--accent {
    width: 24rem;
    height: 24rem;
    bottom: -6rem;
    right: -6rem;
    background-color: rgba(92, 31, 15, 0.2);
}

.brand-panel__orb--primary {
    width: 16rem;
    height: 16rem;
    top: -3rem;
    left: -3rem;
    background-color: rgba(79, 146, 159, 0.1);
}

.brand-panel__logo {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-border-radius-lg);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.brand-panel__logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.brand-panel__stat-card {
    border-radius: var(--bs-border-radius-lg);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.form-control-icon {
    padding-left: 2.75rem;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 0.875rem;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    z-index: 5;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(15, 76, 92, 0.2);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(15, 76, 92, 0.2);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-primary:active {
    background-color: var(--primary-darker) !important;
    border-color: var(--primary-darker) !important;
}

.status-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    display: inline-block;
}

.status-dot--success {
    background-color: #10b981;
}

.status-dot--primary {
    background-color: #4d929f;
}

.mobile-logo {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-border-radius);
    background-color: var(--primary);
    overflow: hidden;
}

.mobile-logo__img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.app-header {
    background-color: #0f4c5c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.app-navbar {
    min-height: 42px;
    padding: 0.65rem 10px;
}

.app-navbar__container {
    min-height: 42px;
    max-width: 1180px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.app-navbar__brand {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 500;
    gap: 0.45rem;
    margin-right: 1rem;
    padding: 0;
    white-space: nowrap;
}

.app-navbar__brand:hover {
    color: #ffffff;
    opacity: 0.92;
}

.app-navbar__logo {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.18);
    border-radius: 0.35rem;
    color: #fff;
    display: inline-flex;
    height: 1.85rem;
    justify-content: center;
    overflow: hidden;
    width: 1.85rem;
}

.app-navbar__logo-img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.app-navbar__logo-initials {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.app-navbar__title {
    line-height: 1;
}

.app-navbar__nav {
    align-items: center;
    gap: 0.35rem;
}

.app-navbar__link {
    align-items: center;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.82) !important;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 0.35rem;
    line-height: 1;
    padding: 0.45rem 0.75rem !important;
    transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.app-navbar__link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.app-navbar__link.active {
    background-color: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    font-weight: 600;
}

.app-navbar__icon {
    align-items: center;
    color: currentColor;
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
}

.app-navbar__toggler {
    border: 0;
    padding: 0.25rem 0;
}

.app-navbar__toggler:focus {
    box-shadow: none;
}

.app-navbar__user {
    margin-left: 0.25rem;
}

.app-navbar__user-toggle {
    gap: 0;
    padding: 0.25rem !important;
}

.app-navbar__user-avatar {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 1.75rem;
    justify-content: center;
    overflow: hidden;
    width: 1.75rem;
}

.app-navbar__user-avatar-img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.app-navbar__user-avatar-initials {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.app-navbar__user-menu {
    border: 1px solid #e8eef2;
    border-radius: 0.55rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    margin-top: 0.4rem;
    min-width: 10.5rem;
    padding: 0.35rem;
}

.app-navbar__user-item {
    border-radius: 0.4rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.7rem;
}

.app-navbar__user-item:hover,
.app-navbar__user-item:focus {
    background-color: var(--primary-lighter);
    color: var(--primary);
}

.app-navbar__user-item--logout {
    color: #b42318;
}

.app-navbar__user-item--logout:hover,
.app-navbar__user-item--logout:focus {
    background-color: #fef3f2;
    color: #912018;
}

.container-custom {
    width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 991.98px) {
    .app-navbar {
        min-height: 50px;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    .app-navbar__container {
        min-height: 50px;
    }

    .app-navbar__collapse {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        margin-top: 0.45rem;
        padding: 0.5rem 0 0.75rem;
    }

    .app-navbar__nav {
        align-items: stretch;
        gap: 0.1rem;
    }

    .app-navbar__link {
        border-radius: 0.5rem;
        font-size: 0.875rem;
        padding: 0.7rem 0.85rem !important;
        width: 100%;
    }

    .app-navbar__link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff !important;
    }

    .app-navbar__link.active {
        background-color: rgba(255, 255, 255, 0.16);
        box-shadow: inset 3px 0 0 #ffffff;
        color: #ffffff !important;
        font-weight: 600;
    }

    .app-navbar__user {
        margin-left: 0;
        margin-top: 0.35rem;
    }

    .app-navbar__user-menu {
        width: 100%;
    }
}

@media (min-width: 1024px) and (max-width: 1159px) {
    .container-custom {
        max-width: 1150px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .container-custom {
        max-width: 1265px !important;
    }
}

@media (min-width: 1440px) and (max-width: 1659px) {
    .container-custom {
        max-width: 1400px !important;
    }
}

@media (min-width: 1651px) {
    .container-custom {
        max-width: 1600px !important;
    }
}

.app-footer {
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
    padding: 1rem 0 1.25rem;
}

.app-footer__text {
    color: #94a3b8;
    font-size: 0.82rem;
    text-align: center;
}

.app-footer__version {
    color: #64748b;
    font-weight: 500;
    margin-left: 0.35rem;
    text-decoration: none;
}

.app-footer__version:hover {
    color: var(--primary);
    text-decoration: underline;
}

.release-notes-page {
    max-width: 760px;
}

.release-notes-page__title {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.release-notes-page__subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

.release-note {
    border-radius: 0.75rem;
}

.release-note__version {
    background: var(--primary-light);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
}

.release-note__date {
    color: #333333;
    font-size: 0.85rem;
}

.release-note__title {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.release-note__list {
    color: #475569;
    font-size: 0.92rem;
    padding-left: 1.15rem;
}

.release-note__list li + li {
    margin-top: 0.4rem;
}
