:root {
    --primary-color: #F3762C;
    --secondary-color: #99CA46;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif !important;
    padding-top: 70px;
    color: #4C4C4E !important;
}
.navbar {
    background-color: #4C4C4E;
    height: 80px;
}

.card-body pre i {
    display: block;
    text-align: right;
    cursor: pointer;
    font-size: 18px;
}
.card-body pre i:hover {
    color: #F3762C;
}

footer .mb-0 {
    color: #4C4C4E !important;
    margin-bottom: 0 !important;
}
footer a {
    text-decoration: none !important;
    color: #F3762C;
}

.ffText {
    padding-left: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}
.ffLogo {
    height: 50px;
    padding-left: 10px;
}
.text-muted {
    font-size: 10px;
}
th {
    background-color: #4C4C4E !important;
    color: #fff !important;
}

.table-striped {
    margin-bottom: 0px !important;
}

.quickNav {
    font-size: 15px;
    padding-bottom: 15px;
}
.quickNav a {
    text-decoration: none;
    color: #F3762C;
}
.terms p {
    font-size: 12px;
}
.terms li {
    font-size: 12px;
}

/* Sidebar styles - hidden on mobile by default */
.sidebar {
    position: fixed;
    top: 80px;
    left: -240px;
    bottom: 0;
    width: 240px;
    overflow-y: auto;
    background-color: #99CA46;
    transition: left 0.3s ease-in-out;
    z-index: 1040;
}

.sidebar.show {
    left: 0;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1039;
}

.sidebar-backdrop.show {
    display: block;
}

.sidebar .nav-link {
    color: #4C4C4E;
    padding: 8px 18px;
    border-left: 3px solid transparent;
    font-size: 14px;
}
.sidebar .nav-link i {
    width: 16px;
    text-align: center;
    padding-right: 5px;
    float: none !important;
}
.sidebar .nav-link:hover {
    background-color: #F3762C;
    color: #fff;
}
.sidebar .nav-link.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background-color: #e9ecef;
    font-weight: 600;
}

/* Content area - full width on mobile */
.content {
    margin-left: 0;
    padding: 20px 15px;
}

/* Tablet and desktop - show sidebar */
@media (min-width: 992px) {
    .sidebar {
        left: 0;
    }
    .content {
        margin-left: 220px;
        padding: 30px;
    }
    .sidebar-backdrop {
        display: none !important;
    }
    .navbar-toggler {
        display: none;
    }
}

.card-header {
    background-color: #F3762C;
}

.mb-0 {
    margin-bottom: 8px !important;
    color: #fff;
}

.endpoint-card {
    margin-bottom: 35px;
}
.badge-post {
    background-color: #99CA46;
    font-family: 'Roboto', sans-serif;;
}
.badge-get {
    background-color: #2CACEE;
    font-family: 'Roboto', sans-serif;;
}
.badge-required {
    background-color: #F3762C;
    font-family: 'Roboto', sans-serif;;
}
.badge-optional {
    background-color: #99CA46;
    font-family: 'Roboto', sans-serif;;
}
pre {
    background-color: #f2f2f2;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    font-size: 0.875rem;
    margin-bottom: 0;
}
code {
    color: #F3762C;
    word-wrap: break-word;
}

.py-4 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.mt-5 {
    margin-top: 0 !important;
}
.border-top {
    border-top: 0px !important;
}

.mt-3 {
    margin-top: 25px !important;
}

.table {
    margin-bottom: 0px;
}

.table-params {
    font-size: 0.85rem;
}

/* Responsive table wrapper */
.table-responsive {
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

h1 {
    font-size: 2rem;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}

h2 {
    color: #4C4C4E;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    font-size: 1.5rem;
    font-family: 'Lato', sans-serif;
}
h3 {
    color: #4C4C4E;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}
h5 {
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}
.lead {
    font-weight: normal;
    font-size: 14px;
}
.urlBlock {
    background-color: #f2f2f2;
    padding-top: 5px;
    padding-bottom: 0;
}
.urlBlock .badge-get {
    vertical-align: bottom !important;
}
.urlBlock .badge-post {
    vertical-align: bottom !important;
}
.urlBlock code {
    color: #4C4C4E !important;
    display: inline-block !important;
    padding-left: 10px;
    font-weight: bold;
}

/* Mobile heading adjustments */
@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.25rem;
    }
    h3 {
        font-size: 1.1rem;
    }
}

.alert-info {
    background-color: #f0fdec;
    border-color: var(--secondary-color);
    color: #1c6c09;
}

/* Mobile navbar */
.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive navbar text */
.navbar-brand {
    font-size: 1rem;
    margin: auto;
    text-align: center;
}



@media (min-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
        text-align: left;
    }
}