body {
    display: flex;
    flex-direction: column;
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.fw-semibold {
    font-weight: 500 !important;
}
.navbar {
    width: 100%;
    max-width: 100%;
}

.navbar .container-fluid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.navbar-collapse {
    min-width: 0;
}

.navbar-nav {
    min-width: 0;
}

.navbar-nav .nav-link {
    white-space: nowrap;
}

.navbar {
    background-color: #fff !important;
}

.navbar-nav .nav-link:hover {
    border-bottom: 1px solid #063b5e;
}
.navbar-nav .nav-link:active {
    color: #063b5e  !important;
}

.nav-link {
    font-size: 13px;
}

.navbar-toggler {
    text-decoration: none;
    background-color: #ffffff;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 3px !important;
    padding-left: 3px !important;
}

.dropdown-divider {
    margin: 0px !important;
}

.h1,
.h2,
.h3,
.h4,
h1,
h2,
h3,
h4 {
    color: #063b5e !important;
}

.h3,
h3,
.h5,
h5 {
    font-size: 23px;
}

.bg-dark {
    background-color: rgb(6 59 94) !important;
}
.bi-play-btn-fill {
    color: #75cecc !important;
}
.main-content {
    flex: 1;
}
.bg-success {
    background-color: #75cfcc !important;
    padding: 3px 3px 7px 3px;
    color: #063b5e;
    font-weight: 600;
}

.btn-primary,
.btn-dark {
    background-color: #063b5e !important;
}
.bg-primary {
    background-color: #063b5e !important;
}

.bg-secondary {
    background-color: #75cfcc !important;
    color: #063b5e !important;
}
.btn-success {
    background-color: #063b5e !important;
}
.text-warning {
    color: #063b5e !important;
}

.bg-danger {
    background-color: #063b5e !important;
}
.bg-warning {
    --bs-bg-opacity: 1;
    background-color: #063b5e !important;
}
.form-check-input:checked {
    background-color: #063b5e;
    border-color: #063b5e;
}
.btn-secondary {
    background-color: #75cfcc !important;
}

.text-danger,
.text-success {
    color: #063b5e !important;
}
.text-dark {
    color: #063b5e !important;
}
.btn-danger {
    background-color: #ffffff !important;
    border-color: #063b5e !important;
    color: #063b5e !important;
}

.btn-outline-primary,
.btn-outline-danger,
.btn-outline-success {
    border-color: #063b5e;
    color: #063b5e !important;
}

.btn-outline-primary:hover,
.btn-outline-danger:hover,
.btn-outline-success:hover {
    background-color: #063b5e !important;
    color: #ffffff !important;
    border-color: #063b5e;
}

.btn-outline-secondary:hover {
    color: #ffffff !important;
    background-color: #063b5e !important;
    border-color: #063b5e !important;
}

.text-primary {
    color: #063b5e !important;
}

.perione-active-api-label {
    white-space: nowrap !important;
}

.perione-active-api-label {
    color: #063b5e !important;
}

.form-select:focus {
    border-color: #75cfcc47;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgb(117 207 204 / 0%);
}
.text-bg-primary {
    color: #fff !important;
    background-color: #063b5e !important;
}
.text-bg-success {
    color: #fff !important;
    background-color: #75cfcc !important;
}
.text-decoration-none {
    color: #063b5e !important;
    font-weight: 500;
}

.swagger-ui .opblock.opblock-get .opblock-summary-method {
    background: #063b5e !important;
}
.swagger-ui .opblock.opblock-post .opblock-summary-method {
    background: #75cfcc !important;
}
.bg-success-subtle,
.bg-danger-subtle {
    background-color: #75cfcc !important;
    border: 1px solid #75cfcc !important;
}
.navbar .nav-item.active .nav-link {
    border-bottom: 1px solid #063b5e !important;
}

.navbar .nav-item.active .nav-link i {
    color: #063b5e !important;
}

.navbar-toggler {
    padding: 3px 8px !important;
    font-size: 15px !important;
    line-height: 1 !important;
}
.dropdown-menu[data-bs-popper] {
    left: auto;
}
@media (max-width: 767px) {
    .profilebtn {
        left: -70px !important;
        right: auto !important;
    }
    .allapisbtn {
        left: 0px !important;
        right: auto !important;
    }
    .profilebgclr:focus-visible {
        background-color: unset !important;
    }
    .navbar .nav-item.active .nav-link {
        border: 0px solid #063b5e !important;
        border-radius: 0px !important;
    }
    .border-start {
        border-left: unset !important;
    }
}
.dropdown-item.active,
.dropdown-item:active {
    background-color: #f8f9fa;
    color: #063b5e;
}

.active > .page-link,
.page-link.active {
    z-index: 3;
    color: #ffffff !important;
    background-color: #063b5e !important;
    border-color: #063b5e !important;
}

.bg-opacity-10 {
    background-color: #063b5e2e !important;
}

.api-header {
    background: #e9f2ff;
    padding: 12px 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
}

.api-box {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

pre {
    background: #0b1220;
    color: #00ff9d;
    padding: 14px;
    border-radius: 6px;
    font-size: 13px;
    max-height: 300px;
    overflow: auto;
}

.input-error {
    border: 2px solid #dc3545;
}

.gradient-navbar {
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #00bfff, #4b0082, #8f00ff);
    background-size: 400% 400%;
    animation: gradientBG 8s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.swagger-ui .opblock-tag {
    font-size: 16px !important;
    padding: 3px 0px 3px 0px !important;
}

#swagger-ui {
    margin: 0px;
}
.swagger-ui .wrapper {
    padding: 3px 0px 3px 0px !important;
}
.swagger-ui .scheme-container {
    display: none;
}
.env-bar {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #ffffff;
}
.env-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 600;
    color: #1f2937;
}
.env-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #fff1f2;
    color: #1f2937;
    font-weight: 600;
}
.env-right .base-link {
    color: var(--primary-color);
    text-decoration: none;
}
.service-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.service-card .card-header {
    border-bottom: 0;
    background: linear-gradient(135deg, #0c4367 0%, #0d5f7f 100%);
    color: #fff;
}
.service-card .card-header h5 i {
    transition: 0.4s;
}

.service-card:hover .card-header h5 i {
    transform: scale(1.25) rotate(10deg);
    color: #75cfcc;
}

.service-card .card-body {
    padding: 25px;
}

.stat-label {
    color: #777;
    font-size: 14px;
}

.stat-value {
    font-weight: 700;
    font-size: 15px;
}

.badge-soft {
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(25, 135, 84, 0.2);
}

.service-card hr {
    opacity: 0.08;
}

.service-card .border.rounded-pill {
    transition: 0.3s;
    cursor: pointer;
}

.service-card .border.rounded-pill:hover {
    background: #f8f9fa;
    transform: scale(1.02);
}

.card-footer {
    padding: 20px;
}

.card-footer .btn {
    border-radius: 30px;
    padding: 5px 12px;
    transition: 0.3s;
    font-weight: 600;
}

.card-footer .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #75cfcc, #00c6ff);
    transform: scaleX(0);
    transition: 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-footer .d-flex {
    min-height: 65px;
}

@media (max-width: 768px) {
    .card-footer .btn {
        width: 100%;
    }
}

.stat-label {
    color: #667085;
    font-size: 0.875rem;
}

.stat-value {
    font-weight: 700;
    color: #0f172a;
}

.empty-value {
    color: #94a3b8;
}
.value-code {
    font-size: 12px !important;
}

.copy-btn {
    width: 20px;
    height: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.section-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: 0.4s;
    animation: fadeUp 0.6s ease;
}

.section-card .card-header {
    background: #063b5e;
    color: #ffffff;
    border-bottom: 0;
    font-weight: 700;
    padding: 12px 16px;
}

.section-card .card-body {
    background: #fff;
    padding: 20px;
}

.section-card.accent .card-header {
    background: #75cfcc;
    color: #063b5e;
}

.api-toggle {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
}

.api-toggle:focus {
    outline: none;
    box-shadow: none;
}

.env-card {
    border: 1px solid rgba(6, 59, 94, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.env-link {
    font-weight: 700;
    color: #063b5e;
    text-decoration: none;
}

.env-link:hover {
    text-decoration: underline;
}

.api-label {
    min-width: 78px;
}

pre {
    background: #0b1220;
    color: #d7fff1;
    padding: 14px;
    border-radius: 12px;
    font-size: 13px;
    max-height: 320px;
    overflow: auto;
}

.page-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
    animation: fadeUp 0.7s ease;
}

.page-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control {
    border-radius: 12px;
    border: 1px solid #0000001f;
    transition: 0.3s;
    height: 40px;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
    border-color: #063b5e;
}

.form-select {
    border-radius: 10px;
}

.table {
    border-collapse: separate;
    border-spacing: 0 12px;
}

.table thead th {
    border: none;
    font-weight: 600;
    color: #666;
    padding-bottom: 20px;
    white-space: nowrap;
}

.table tbody tr {
    background: #fff;
    transition: 0.3s;
    border-radius: 12px;
}

.table tbody td {
    padding: 5px;
    vertical-align: middle;
    border: none;
}

.table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background: #fafafa;
}

.empty-box {
    min-height: 180px;
    border: 2px dashed #ddd;
    border-radius: 14px;
    font-size: 18px;
    color: #888;
    transition: 0.3s;
}

.empty-box:hover {
    border-color: #063b5e;
    background: #f8fbff;
}

.pagination .page-link {
    border: none;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    margin: 0 4px;
    transition: 0.3s;
}

.pagination .page-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.page-item.active .page-link {
    background: #063b5e;
    color: #fff;
}

.bottom-text {
    font-weight: 500;
    color: #777;
}

.bi-search {
    transition: 0.3s;
}

.form-control:focus + .bi-search {
    color: #063b5e;
}

@media (max-width: 768px) {
    .page-card {
        padding: 20px;
    }

    .bottom-text {
        width: 100%;
        text-align: center;
    }

    .pagination {
        justify-content: center;
    }
}

.resources-section {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resource-card {
    border: none;
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
    transition: 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.resource-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.icon-box {
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    transition: 0.4s;
}

.resource-card:hover .icon-box {
    transform: scale(1.1) rotate(8deg);
    background: rgba(220, 53, 69, 0.18);
}

.icon-box img {
    width: 50px;
    transition: 0.4s;
}

.resource-card:hover img {
    transform: scale(1.1);
}

.resource-card h5 {
    margin-top: 25px;
    font-weight: 700;
}

.download-btn {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transition: 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.resource-title {
    position: relative;
    padding-left: 18px;
}

.resource-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #75cfcc;
    border-radius: 20px;
}

.summary-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.metrics-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.metrics-card .card-header {
    background: #063b5e;
    color: #fff;
    border-bottom: 0;
    font-weight: 700;
    padding: 1rem 1.25rem;
}

.metrics-card.accent .card-header {
    background: #75cfcc;
    color: #063b5e;
}

.table-wrap {
    max-height: 340px;
}

canvas {
    max-height: 360px;
}

.filter-card {
    border: 1px solid rgba(6, 59, 94, 0.12);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: #063b5e;
    color: #fff;
    padding: 22px;
}

.input-group {
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.input-group:focus-within {
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.input-group-text {
    border: none;
}

.nav-tabs {
    border: none;
    gap: 10px;
}

.nav-tabs .nav-link {
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    color: #666;
    font-weight: 600;
    transition: 0.3s;
}

.nav-tabs .nav-link:hover {
    background: #eef2ff;
    transform: translateY(-2px);
}

.nav-tabs .nav-link.active {
    background: #063b5e;
    color: white;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.alert {
    border: none;
    border-radius: 12px;
    animation: fadeIn 0.5s ease;
}

.table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table thead th {
    border: none;
    color: #666;
    font-size: 14px;
}

.table tbody tr {
    background: #fff;
    box-shadow: 0 0px 5px rgb(0 0 0 / 15%);
    border-radius: 12px;
    transition: 0.3s;
}

.table tbody tr:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.table td {
    padding: 18px;
    border: none;
    vertical-align: middle;
}

.status-active {
    background: #dcfce7;
    color: #16a34a;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.status-inactive {
    background: #fee2e2;
    color: #dc2626;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .table td,
    .table th {
        font-size: 13px;
        padding: 12px;
    }
}

.main-section {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fw-bold {
    font-weight: 500 !important;
}

.summary-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgb(15 23 42 / 65%);
}

.card-body {
    border: 0;
    border-radius: 16px;
    box-shadow: 10px 5px 30px rgb(15 23 42 / 40%);
}

.metrics-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.metrics-card .card-header {
    background: #063b5e;
    color: #fff;
    border-bottom: 0;
    font-weight: 700;
    padding: 1rem 1.25rem;
}

.metrics-card.accent .card-header {
    background: #75cfcc;
    color: #063b5e;
}

.table-wrap {
    max-height: 340px;
    overflow: auto;
}

canvas {
    max-height: 360px;
}

.filter-card {
    border: 1px solid rgba(6, 59, 94, 0.12);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.table-bordered > :not(caption) > * > * {
    border-width: 0 1px !important;
}

.dropdown-menu.show {
    padding: 0px;
}

#website-loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.9s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.favicon-loader {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoRotate 1.5s linear infinite;
}

.favicon-loader img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

@keyframes logoRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#website-loader.hide-loader {
    opacity: 0;
    pointer-events: none;
}

.main-navbar,
.main-navbar .container-fluid {
    width: 100%;
    min-width: 0;
}

.navbar-logo {
    height: 35px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.main-navbar .navbar-collapse {
    min-width: 0;
}

.main-nav-links {
    min-width: 0;
}

.main-navbar .navbar-nav .nav-link,
.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link:focus,
.main-navbar .navbar-nav .nav-link.active,
.main-navbar .dropdown-toggle,
.main-navbar .dropdown-toggle:hover,
.main-navbar .dropdown-toggle:focus {
    color: #063b5e !important;
}

.main-navbar .navbar-nav .nav-link i,
.main-navbar .navbar-nav .nav-link:hover i,
.main-navbar .navbar-nav .nav-link:focus i,
.main-navbar .dropdown-toggle i,
.main-navbar .dropdown-toggle:hover i,
.main-navbar .dropdown-toggle:focus i {
    color: #063b5e !important;
}

@media (min-width: 1200px) {
    .main-navbar .container-fluid {
        flex-wrap: nowrap;
    }

    .main-nav-links {
        flex-wrap: nowrap;
    }

    .main-nav-links .nav-link {
        font-size: 12px;
        padding-left: 3px !important;
        padding-right: 3px !important;
        white-space: nowrap;
    }
}

@media (max-width: 1199.98px) {
    .main-navbar .container-fluid {
        flex-wrap: wrap;
    }

    .main-navbar .navbar-collapse {
        width: 100%;
        flex-basis: 100%;
        order: 10;
    }

    .main-nav-links {
        width: 100%;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .main-nav-links .nav-link {
        padding: 10px 12px;
        white-space: normal;
    }

    .main-navbar .navbar-collapse::after {
        content: "";
        display: block;
        clear: both;
    }
}

@media (max-width: 575.98px) {
    .navbar-logo {
        height: 30px;
        max-width: 120px;
    }

    .main-navbar .container-fluid {
        padding-left: 6px;
        padding-right: 6px;
    }

    .main-nav-links .nav-link {
        font-size: 14px;
        padding: 9px 10px;
    }

    .allapisbtn,
    .profilebtn {
        max-width: calc(100vw - 20px);
    }
}


.navbar-nav {
     gap: 3px !important;
}

.navbar-brand.flex-shrink-0.me-1 {
    margin-right: 10px !important;
}

.navbar-brand {
    margin-right: 10px !important;
}