:root {
    --primary-color: #3498db;
    --secondary-color: #2b4769;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --sidebar-width: 280px;
    --header-height: 80px;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --sidebar-bg: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
    --content-padding: 1.5rem;
    --mobile-breakpoint: 768px;
    --tablet-breakpoint: 992px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Layout Structure */
.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: white;
    height: 100vh;
    position: fixed;
    z-index: 1000;
    transition: transform var(--transition-speed) ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.sidebar-header h3 {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.sidebar-header h3 i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.sidebar-menu {
    list-style: none;
    padding: 0 1rem;
}

.sidebar-menu li {
    margin-bottom: 0.25rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    border-left: 3px solid transparent;
    border-radius: var(--border-radius);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu a i {
    margin-right: 0.75rem;
    width: 1.25rem;
    text-align: center;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: all var(--transition-speed) ease;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.sidebar a {
    text-decoration: none;
    color: white;
    align-items: center;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-header h3 {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.sidebar-header a {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sidebar-header h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: var(--content-padding);
    transition: margin-left var(--transition-speed) ease;
    min-height: 100vh;
    width: -webkit-fill-available;
}

/* Header Styles */
.header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    font-family: 'Poppins', sans-serif;
    transition: all var(--transition-speed) ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}


/* Sidebar Toggle Button */
.menu-toggle {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1100;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--box-shadow);
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* Sidebar Behavior */
.sidebar {
    transform: translateX(0);
    transition: transform var(--transition-speed) ease;
}

/* When sidebar is hidden */
.sidebar.hidden {
    transform: translateX(-100%);
}

/* Main content adjustment */
.main-content {
    margin-left: var(--sidebar-width);
    transition: margin-left var(--transition-speed) ease;
}

.main-content.full-width {
    margin-left: 0;
}

/* Responsive behavior */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
        /* Show toggle button on mobile */
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }
}

/* Dashboard Content */
.api-dashboard,
.how-to-use,
.api-documentation,
.api-authentication,
.api-key-manager {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: var(--content-padding);
    margin-bottom: 2rem;
}

.dashboard-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

/* API Tabs */
.api-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.api-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.api-tab {
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}

.api-tab:hover {
    color: var(--primary-color);
}

.api-tab.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

/* API Endpoint Cards */
.api-endpoint {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: var(--content-padding);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.api-endpoint:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.endpoint-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.endpoint-method {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: white;
    width: fit-content;
}

.method-get {
    background: var(--success-color);
}

.method-post {
    background: var(--info-color);
}

.method-put {
    background: var(--warning-color);
}

.method-delete {
    background: var(--accent-color);
}

.endpoint-url {
    font-family: 'Courier New', Courier, monospace;
    background: #e9ecef;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    word-break: break-all;
}

.endpoint-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.endpoint-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-try:hover {
    background: #2980b9;
}

.btn-docs {
    background: #f8f9fa;
    color: var(--secondary-color);
    border: 1px solid #ddd;
}

.btn-docs:hover {
    background: #e9ecef;
}

/* JSON Viewer */
.json-viewer {
    background: #282c34;
    color: #abb2bf;
    border-radius: var(--border-radius);
    padding: 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    margin-top: 1rem;
    overflow-x: auto;
    max-height: 400px;
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(0%);
        width: 280px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .menu-toggle {
        margin-left: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header {
        margin-top: 4rem;
    }
}

@media (min-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-right {
        flex-direction: row;
        align-items: center;
    }

    .search-box {
        width: auto;
    }

    .search-box input {
        width: 250px;
    }

    .search-box input:focus {
        width: 300px;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode .main-content,
.dark-mode .api-dashboard,
.dark-mode .how-to-use,
.dark-mode .api-documentation,
.dark-mode .api-authentication,
.dark-mode .api-key-manager,
.dark-mode .api-endpoint,
.dark-mode .header {
    background-color: #000007;
    color: #e0e0e0;
}

.dark-mode .header,
.dark-mode .dashboard-header,
.dark-mode .doc-section {
    border-bottom-color: #333;
}

.dark-mode .search-box input,
.dark-mode .api-key-input,
.dark-mode .form-input {
    background-color: #333;
    color: #fff;
    border-color: #444;
}

.dark-mode .sidebar-menu a:hover,
.dark-mode .sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
}

/* Documentation Styles */
.api-documentation {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: var(--content-padding);
    margin-bottom: 2rem;
}

.doc-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.doc-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.doc-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.doc-section h3 i {
    color: var(--primary-color);
}

.doc-features ul,
.doc-note ul {
    margin-left: 1.25rem;
    margin-top: 0.75rem;
}

.doc-features li,
.doc-note li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

.doc-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1rem 0;
}

.method {
    flex: 1;
}

.method h4 {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.endpoint-table {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
}

.endpoint-table table {
    width: 100%;
    border-collapse: collapse;
}

.endpoint-table th,
.endpoint-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.endpoint-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--secondary-color);
}

.endpoint-table code {
    background: #f0f0f0;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.error-codes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.error-code {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 4px solid #ddd;
}

.status-code {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.status-400 {
    color: #e67e22;
    border-color: #e67e22;
}

.status-401 {
    color: #e74c3c;
    border-color: #e74c3c;
}

.status-404 {
    color: #9b59b6;
    border-color: #9b59b6;
}

.status-429 {
    color: #f39c12;
    border-color: #f39c12;
}

.status-500 {
    color: #c0392b;
    border-color: #c0392b;
}

/* FAQ Accordion */
.faq-accordion {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-item {
    border-bottom: 1px solid #eee;
    background: #fff;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-speed) ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question span {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.faq-question i {
    color: #7f8c8d;
    transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-question {
    background: #e3f2fd;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease, padding var(--transition-speed) ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p,
.faq-answer ul {
    margin: 0.75rem 0;
    line-height: 1.6;
    color: #555;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-answer ul {
    padding-left: 1.25rem;
}

/* Code Block */
.code-block {
    position: relative;
    background: #f5f7f9;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    overflow-x: auto;
}

/* API Key Manager */
.api-key-manager {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: var(--content-padding);
    margin-bottom: 2rem;
}

.api-key-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .api-key-form {
        flex-direction: row;
    }
}

.api-key-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.api-key-save {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all var(--transition-speed) ease;
}

.api-key-save:hover {
    background: #2980b9;
}

.api-key-status {
    color: var(--success-color);
    font-size: 0.9rem;
    display: none;
}

.requires-api-key {
    position: relative;
}

.requires-api-key::after {
    content: "Requires API Key";
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: var(--warning-color);
    color: white;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Response Status */
.response-status {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    display: inline-block;
}

.status-success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid #2ecc71;
}

.status-error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid #e74c3c;
}

/* Documentation Modal */
.endpoint-doc-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.25rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.modal-header h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h3 i {
    color: var(--primary-color);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: all var(--transition-speed) ease;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.25rem;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #eee;
}

.params-table th,
.params-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.params-table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.support-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.support-card-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.support-card-header i {
    font-size: 1.2rem;
}

.support-card-body {
    padding: 1.25rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-method i {
    color: var(--primary-color);
    width: 1.25rem;
    text-align: center;
}

/* Modern Form */
.modern-form {
    background: white;
    padding: var(--content-padding);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
    }
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group .required {
    color: var(--accent-color);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Phone Input */
.phone-input {
    display: flex;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #ddd;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0 1rem;
    border-right: 1px solid #ddd;
}

.country-selector .flag {
    font-size: 1.2em;
}

.country-selector .country-code {
    color: #666;
    font-weight: 500;
}

#supportPhone {
    border: none;
    border-radius: 0;
    flex: 1;
}

/* Priority Selector */
.priority-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.priority-option {
    position: relative;
    cursor: pointer;
}

.priority-badge {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.priority-badge.low {
    background: #e8f5e9;
    color: #2e7d32;
}

.priority-badge.medium {
    background: #fff3e0;
    color: #ef6c00;
}

.priority-badge.high {
    background: #ffebee;
    color: #c62828;
}

.priority-badge.critical {
    background: #fce4ec;
    color: #ad1457;
}

input[type="radio"]:checked+.priority-badge {
    box-shadow: 0 0 0 2px currentColor;
}

/* Submit Button */
.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #2980b9;
}

/* Form Status */
#supportFormStatus {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    display: none;
}

#supportFormStatus.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

#supportFormStatus.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Code Examples */
.language-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.language-tab {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: #f0f4f8;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
}

.language-tab.active {
    background: var(--primary-color);
    color: white;
}

.example-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

code[class*=language-],
pre[class*=language-] {
    position: relative;
    color: #ccc;
    background: 0 0;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 1em;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none
}

pre[class*=language-] {
    padding: 1em;
    margin: .5em 0;
    overflow: auto
}

:not(pre)>code[class*=language-],
pre[class*=language-] {
    background: #2d2d2d
}

:not(pre)>code[class*=language-] {
    padding: .1em;
    border-radius: .3em;
    white-space: normal
}

.token.block-comment,
.token.cdata,
.token.comment,
.token.doctype,
.token.prolog {
    color: #999
}

.token.punctuation {
    color: #ccc
}

.token.attr-name,
.token.deleted,
.token.namespace,
.token.tag {
    color: #e2777a
}

.token.function-name {
    color: #6196cc
}

.token.boolean,
.token.function,
.token.number {
    color: #f08d49
}

.token.class-name,
.token.constant,
.token.property,
.token.symbol {
    color: #f8c555
}

.token.atrule,
.token.builtin,
.token.important,
.token.keyword,
.token.selector {
    color: #cc99cd
}

.token.attr-value,
.token.char,
.token.regex,
.token.string,
.token.variable {
    color: #7ec699
}

.token.entity,
.token.operator,
.token.url {
    color: #67cdcc
}

.token.bold,
.token.important {
    font-weight: 700
}

.token.italic {
    font-style: italic
}

.token.entity {
    cursor: help
}

.token.inserted {
    color: green
}

.copy-code {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-size: 0.85rem;
}

.copy-code:hover {
    background: #2980b9;
}

.code-block pre {
    margin: 0;
    padding: 1.25rem;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Syntax Highlighting */
.token.comment {
    color: #7d8b99;
}

.token.keyword {
    color: #c678dd;
}

.token.string {
    color: #98c379;
}

.token.function {
    color: #61afef;
}

.token.number {
    color: #d19a66;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.partner-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease;
}

.partner-card:hover {
    transform: translateY(-3px);
}

.partner-logo {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.partner-info {
    flex: 1;
}

.partner-role {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.partner-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #444;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Dark Mode Overrides */
.dark-mode .api-documentation,
.dark-mode .api-authentication,
.dark-mode .api-key-manager,
.dark-mode .modern-form,
.dark-mode .support-card,
.dark-mode .example-card,
.dark-mode .partner-card,
.dark-mode .faq-item,
.dark-mode .faq-question,
.dark-mode .faq-answer {
    background-color: #000009;
    color: #e0e0e0;
}

.dark-mode .doc-section,
.dark-mode .auth-section {
    border-bottom-color: #333;
}

.dark-mode .endpoint-table,
.dark-mode .params-table {
    border-color: #333;
}

.dark-mode .endpoint-table th,
.dark-mode .params-table th {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

.dark-mode .endpoint-table td,
.dark-mode .params-table td {
    border-bottom-color: #333;
    color: #e0e0e0;
}

.dark-mode .endpoint-table code,
.dark-mode .params-table code {
    background-color: #333;
    color: #e0e0e0;
}

.dark-mode .error-code {
    background-color: #2d2d2d;
    border-left-color: #444;
}

.dark-mode .faq-question {
    background-color: #2d2d2d;
}

.dark-mode .faq-item.active .faq-question {
    background-color: #252f3d;
}

.dark-mode .faq-answer {
    background-color: #1e1e1e;
}

.dark-mode .code-block {
    background-color: #252525;
    border-left-color: #444;
}

.dark-mode .support-card-header {
    background-color: #2980b9;
}

.dark-mode .partner-card {
    background-color: #2d2d2d;
}

.dark-mode .partner-role,
.dark-mode .contact-item {
    color: #bbb;
}

/* Dark mode syntax highlighting */
.dark-mode .token.comment,
.dark-mode .token.prolog,
.dark-mode .token.doctype,
.dark-mode .token.cdata {
    color: #6a9955;
}

.dark-mode .token.punctuation {
    color: #d4d4d4;
}

.dark-mode .token.property,
.dark-mode .token.tag,
.dark-mode .token.boolean,
.dark-mode .token.number,
.dark-mode .token.constant,
.dark-mode .token.symbol,
.dark-mode .token.deleted {
    color: #b5cea8;
}

.dark-mode .token.selector,
.dark-mode .token.attr-name,
.dark-mode .token.string,
.dark-mode .token.char,
.dark-mode .token.builtin,
.dark-mode .token.inserted {
    color: #ce9178;
}

.dark-mode .token.operator,
.dark-mode .token.entity,
.dark-mode .token.url,
.dark-mode .language-css .token.string,
.dark-mode .style .token.string {
    color: #d4d4d4;
}

.dark-mode .token.atrule,
.dark-mode .token.attr-value,
.dark-mode .token.keyword {
    color: #569cd6;
}

.dark-mode .token.function,
.dark-mode .token.class-name {
    color: #dcdcaa;
}

.dark-mode .token.regex,
.dark-mode .token.important,
.dark-mode .token.variable {
    color: #d16969;
}

/* Small screen adjustments */
@media (max-width: 576px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .user-profile span {
        font-size: 0.9rem;
    }

    .sidebar {
        width: 260px;
    }

    .api-tabs {
        gap: 0.25rem;
    }

    .api-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .endpoint-actions {
        flex-direction: column;
    }

    .endpoint-btn {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        max-height: 85vh;
    }

    .footer {
        padding: 1.5rem;
    }

    .footer-links {
        gap: 1rem;
    }
}

/* Animation Enhancements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.api-content {
    animation: fadeIn 0.3s ease;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 5px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.text-danger {
    color: var(--accent-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-success {
    color: var(--success-color);
}

.text-info {
    color: var(--info-color);
}

.hidden {
    display: none !important;
}