/* BigCity API Documentation Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Layout */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 0%, transparent 50%);
    color: white;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    border-right: 1px solid #4a67da;
}

.main-content {
    margin-left: 240px;
    min-height: 100vh;
    background: white;
}

/* Sidebar Styles */
.sidebar-header {
    padding: 20px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-bottom: 1px solid #4a67da;
    text-align: center;
}

.sidebar-header h2 {
    font-size: 1.4em;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sidebar-header h2 i {
    color: #f39c12;
    font-size: 1.2em;
}

.nav-menu {
    list-style: none;
    padding: 20px 0;
}

.nav-menu li a {
    display: block;
    padding: 12px 20px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: #34495e;
    border-left-color: #3498db;
    color: white;
}

.nav-menu li a i {
    margin-right: 10px;
    width: 16px;
}

.nav-menu .divider {
    height: 1px;
    background: #4a6741;
    margin: 15px 0;
}

/* New Sidebar Navigation Styles */
.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: block;
    padding: 14px 20px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
    font-weight: 400;
    border-radius: 0 8px 8px 0;
    margin: 2px 8px 2px 0;
}

.nav-item:hover {
    background: rgba(52, 73, 94, 0.8);
    border-left-color: #3498db;
    color: white;
    text-decoration: none;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(52, 73, 94, 0.8) 100%);
    border-left-color: #e74c3c;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(231, 76, 60, 0.2);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.nav-item i {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1em;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    border-top: 1px solid #4a67da;
}

.sidebar-footer p {
    font-size: 0.85em;
    color: #95a5a6;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.sidebar-footer a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-footer a:hover {
    color: #5dade2;
    text-shadow: 0 0 4px rgba(93, 173, 226, 0.3);
}

/* Sidebar Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #2c3e50;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #4a67da;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #5dade2;
}

/* Navigation hover effects */
.nav-item:hover i {
    transform: translateX(2px) scale(1.1);
    color: #5dade2;
}

.nav-item.active i {
    color: #f39c12;
    transform: scale(1.05);
}

.nav-item i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* Header Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-header h1 i {
    font-size: 0.8em;
    color: #f39c12;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.gradient-icon {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    font-weight: 300;
}

/* Content Wrapper */
.content-wrapper {
    padding: 0;
}

/* Hero Section */
.hero-section {
    padding: 40px 25px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 25px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: white;
    color: #f5576c;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #f5576c;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.api-flow {
    display: flex;
    align-items: center;
    gap: 20px;
}

.flow-step {
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.flow-arrow {
    font-size: 1.5em;
    opacity: 0.7;
}

/* Section Styles */
section {
    padding: 30px 25px;
    border-bottom: 1px solid #ecf0f1;
}

section h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

section h2 i {
    margin-right: 8px;
    color: #3498db;
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.overview-card {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

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

.overview-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.overview-card h3 i {
    margin-right: 8px;
    color: #3498db;
}

/* URL Section */
.url-container {
    margin-top: 20px;
}

.url-card {
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.url-card h3 {
    margin-bottom: 10px;
    color: #3498db;
}

.base-url {
    font-size: 1.1em;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 5px;
    flex: 1;
    margin-right: 10px;
}

.copy-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Flow Diagram */
.flow-diagram {
    margin-top: 30px;
}

.flow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.flow-step-detailed {
    background: white;
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    min-width: 200px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.step-content code {
    background: #ecf0f1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    color: #e74c3c;
}

.flow-connector {
    width: 50px;
    height: 2px;
    background: #3498db;
    position: relative;
}

.flow-connector::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid #3498db;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Code Examples */
.code-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.code-example {
    background: #2c3e50;
    border-radius: 8px;
    overflow: hidden;
}

.code-example h3 {
    background: #34495e;
    color: white;
    padding: 12px 16px;
    margin: 0;
    font-size: 0.95em;
}

.code-example pre {
    margin: 0;
    padding: 20px;
    background: #2c3e50;
    overflow-x: auto;
}

.code-example code {
    color: #ecf0f1;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.feature-card {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.feature-card i {
    font-size: 2.5em;
    color: #3498db;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    color: #e74c3c;
    transform: scale(1.1);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
}

.feature-card p {
    color: #7f8c8d;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Prerequisites Grid */
.prereq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.prereq-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.prereq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-left-color: #e74c3c;
}

.prereq-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: white;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.prereq-card:hover .prereq-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    transform: scale(1.1);
}

.prereq-content h3 {
    color: #2c3e50;
    margin: 0 0 6px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.prereq-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}

.prereq-content code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #e74c3c;
    font-weight: 500;
}

/* Content Section Styling */
.content {
    padding: 30px;
    background: white;
    border-radius: 12px;
    margin: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.content section {
    margin-bottom: 40px;
}

.content section:last-child {
    margin-bottom: 0;
}

.content h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content h2 i {
    color: #3498db;
    font-size: 0.9em;
}

.content p {
    color: #6c757d;
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Overview Section */
.overview {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 30px;
}

/* Prerequisites Section */
.prerequisites {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* API Endpoint Sections */
.endpoint-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.endpoint-card {
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.endpoint-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.endpoint-method {
    background: #27ae60;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.endpoint-method.post {
    background: #e74c3c;
}

.endpoint-method.put {
    background: #f39c12;
}

.endpoint-method.delete {
    background: #e67e22;
}

.endpoint-path {
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    font-weight: 500;
    flex: 1;
}

.endpoint-description {
    padding: 20px;
}

.endpoint-description h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.endpoint-description p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.endpoint-description ul {
    color: #6c757d;
    padding-left: 20px;
    line-height: 1.6;
}

.endpoint-description li {
    margin-bottom: 8px;
}

/* Parameter and Response sections */
.param-section,
.response-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.param-section h4,
.response-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.param-section h4 i,
.response-section h4 i {
    color: #3498db;
    font-size: 0.9em;
}

.param-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.param-table th,
.param-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.param-table th {
    background: #f1f3f4;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.param-table td {
    color: #6c757d;
    font-size: 0.95em;
}

.param-table tr:last-child td {
    border-bottom: none;
}

.param-table code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #e74c3c;
    font-weight: 500;
}

/* Request and Response Examples */
.request-example,
.response-examples {
    margin-top: 25px;
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.request-example h3,
.response-examples h3 {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.request-example h3 i,
.response-examples h3 i {
    color: #f39c12;
}

.request-example pre,
.response-examples pre {
    margin: 0;
    background: #f8f9fa;
    padding: 20px;
    border: none;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.5;
    overflow-x: auto;
}

.request-example code,
.response-examples code {
    background: transparent;
    color: #2c3e50;
    padding: 0;
}

/* SKU Example */
.sku-example {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    margin: 20px 0;
}

.sku-example h4 {
    color: #27ae60;
    margin: 0 0 15px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.sku-example pre {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #d4edda;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #155724;
    overflow-x: auto;
}

/* Tab Navigation for Examples */
.example-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.example-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.example-tab:hover {
    background: #e9ecef;
    color: #495057;
}

.example-tab.active {
    background: white;
    color: #2c3e50;
    border-bottom-color: #3498db;
}

.example-content {
    padding: 20px;
    background: white;
}

.example-content.hidden {
    display: none;
}

/* Additional Styling for Rewards & Orders Pages */
.best-practices {
    background: linear-gradient(135deg, #fff5f5 0%, #fff8f8 100%);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
    margin: 30px 0;
}

.best-practices h2 {
    color: #e74c3c;
    margin-bottom: 20px;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.practice-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f8d7da;
    text-align: center;
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
}

.practice-card i {
    font-size: 2em;
    color: #e74c3c;
    margin-bottom: 15px;
}

.practice-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.practice-card p {
    color: #6c757d;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Error Handling Section */
.error-handling {
    background: linear-gradient(135deg, #fff3cd 0%, #fef9e7 100%);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin: 30px 0;
}

.error-handling h2 {
    color: #856404;
    margin-bottom: 20px;
}

.error-examples {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.error-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
}

.error-card h3 {
    color: #856404;
    margin-bottom: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-card h3 i {
    color: #ffc107;
}

.error-card pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 0.85em;
    overflow-x: auto;
}

.error-card p {
    color: #6c757d;
    margin: 10px 0 0 0;
    font-size: 0.9em;
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.status-indicator.success {
    background: #d4edda;
    color: #155724;
}

.status-indicator.warning {
    background: #fff3cd;
    color: #856404;
}

.status-indicator.error {
    background: #f8d7da;
    color: #721c24;
}

.status-indicator.info {
    background: #d1ecf1;
    color: #0c5460;
}

/* Workflow Styles */
.workflow-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.workflow-step {
    text-align: center;
    flex: 0 0 140px;
}

.workflow-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: white;
    font-size: 1.2em;
}

.workflow-content h3 {
    font-size: 0.95em;
    color: #2c3e50;
    margin-bottom: 4px;
}

.workflow-content p {
    font-size: 0.8em;
    color: #7f8c8d;
}

.workflow-arrow {
    color: #3498db;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .workflow-visual {
        flex-direction: column;
        gap: 10px;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
}

/* Status Codes */
.status-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.status-row {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid #ecf0f1;
}

.status-row:last-child {
    border-bottom: none;
}

.status-code {
    font-weight: bold;
    font-family: 'Monaco', 'Consolas', monospace;
    padding: 8px 12px;
    border-radius: 5px;
    margin-right: 20px;
    min-width: 60px;
    text-align: center;
}

.status-success .status-code {
    background: #d5f4e6;
    color: #27ae60;
}

.status-error .status-code {
    background: #ffeaa7;
    color: #e17055;
}

.status-desc {
    flex: 1;
    color: #2c3e50;
}

/* Rate Limiting */
.rate-limits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rate-limit-card {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.rate-limit-card h3 {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.rate-value {
    font-size: 1.5em;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 5px;
}

.rate-limit-info {
    margin-top: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.rate-limit-info p {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* SDK Grid */
.sdk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.sdk-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.sdk-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.sdk-icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: #3498db;
}

.sdk-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.sdk-card code {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 10px 15px;
    border-radius: 5px;
    display: block;
    font-size: 0.9em;
    word-break: break-all;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.support-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.support-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2em;
    color: #2c3e50;
}

.support-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.support-card p {
    color: #7f8c8d;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
}

/* Next Steps */
.next-steps-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.next-step-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.next-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-top-color: #3498db;
}

.next-step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 1.2em;
}

.next-step-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.next-step-card p {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Code Blocks */
pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

code {
    background: #ecf0f1;
    color: #e74c3c;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
}

pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

th {
    background: #3498db;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
}

tr:hover {
    background: #f8f9fa;
}

/* Endpoint Cards */
.endpoint-card {
    background: white;
    border-radius: 8px;
    margin: 16px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.endpoint-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.method-badge {
    background: rgba(255,255,255,0.2);
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-family: 'Monaco', 'Consolas', monospace;
}

.endpoint-content {
    padding: 20px;
}

.endpoint-content h3 {
    color: #2c3e50;
    margin: 18px 0 12px 0;
    font-size: 1.1em;
}

.endpoint-content h4 {
    color: #34495e;
    margin: 20px 0 10px 0;
    font-size: 1em;
}

/* Parameter Tables */
.param-table {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
}

.param-table th {
    background: #34495e;
}

.param-required {
    color: #e74c3c;
    font-weight: bold;
}

.param-optional {
    color: #27ae60;
    font-weight: bold;
}

/* Response Examples */
.response-container {
    margin: 20px 0;
}

.response-tabs {
    display: flex;
    background: #ecf0f1;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.response-tab {
    padding: 12px 20px;
    background: #bdc3c7;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.3s ease;
}

.response-tab.active {
    background: #3498db;
    color: white;
}

.response-content {
    background: #2c3e50;
    border-radius: 0 0 8px 8px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
}

.alert-info {
    background: #e3f2fd;
    border-left-color: #2196f3;
    color: #1565c0;
}

.alert-warning {
    background: #fff3e0;
    border-left-color: #ff9800;
    color: #e65100;
}

.alert-success {
    background: #e8f5e8;
    border-left-color: #4caf50;
    color: #2e7d32;
}

.alert-error {
    background: #ffebee;
    border-left-color: #f44336;
    color: #c62828;
}

/* Footer */
.page-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .flow-container {
        flex-direction: column;
    }
    
    .flow-connector {
        width: 2px;
        height: 30px;
        transform: rotate(90deg);
    }
    
    .code-examples {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-wrapper section {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Authentication Flow Styles */
.auth-flow-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.auth-step {
    text-align: center;
}

.auth-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.2em;
    color: white;
    margin: 0 auto 8px;
}

.auth-icon.company {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.auth-icon.token {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.auth-icon.customer {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.auth-arrow {
    font-size: 1.2em;
    opacity: 0.7;
    color: white;
}

/* Flow Diagram Large */
.flow-diagram-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.flow-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 250px;
    border-top: 4px solid;
}

.company-box {
    border-top-color: #3498db;
}

.customer-box {
    border-top-color: #e74c3c;
}

.flow-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.flow-header i {
    font-size: 1.5em;
    color: #3498db;
}

.flow-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.2em;
}

.flow-details p {
    margin: 8px 0;
    color: #7f8c8d;
    font-size: 0.9em;
}

.flow-details strong {
    color: #2c3e50;
}

.flow-arrow-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #3498db;
    font-size: 1.5em;
}

.flow-arrow-large span {
    font-size: 0.6em;
    margin-top: 5px;
    color: #7f8c8d;
}

/* Method Badge */
.method-badge {
    font-weight: bold;
    font-family: 'Monaco', 'Consolas', monospace;
}

.method-badge.post {
    background: #27ae60;
    color: white;
}

.method-badge.get {
    background: #3498db;
    color: white;
}

.method-badge.put {
    background: #f39c12;
    color: white;
}

.method-badge.delete {
    background: #e74c3c;
    color: white;
}

/* Tab Styles */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

.language-tab-container {
    margin: 20px 0;
}

.language-tabs {
    display: flex;
    background: #ecf0f1;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.lang-tab {
    padding: 12px 20px;
    background: #bdc3c7;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.3s ease;
    flex: 1;
    text-align: center;
}

.lang-tab.active {
    background: #3498db;
    color: white;
}

/* Token Management */
.token-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.token-type-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 4px solid;
}

.company-token {
    border-top-color: #3498db;
}

.customer-token {
    border-top-color: #e74c3c;
}

.token-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.3em;
    color: white;
}

.company-token .token-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.customer-token .token-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.token-details {
    margin-top: 15px;
}

.token-detail {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.token-detail strong {
    color: #2c3e50;
}

.token-detail span {
    color: #7f8c8d;
}

/* Best Practices */
.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.practice-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.practice-card i {
    font-size: 2em;
    color: #3498db;
    margin-bottom: 10px;
}

.practice-card h4 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.practice-card p {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Error Cards */
.error-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.error-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-code {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    color: white;
}

.error-400 .error-code {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.error-401 .error-code {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.error-422 .error-code {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.error-429 .error-code {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.error-content h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.error-content p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #7f8c8d;
}

/* Test Cards */
.test-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.test-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.test-card h3 {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1em;
}

.test-card pre {
    margin: 0;
    border-radius: 0;
}

/* Print Styles */
@media print {
    .sidebar, .cta-buttons, .copy-btn {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .page-header {
        background: #2c3e50 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Error Codes Page Specific Styles */
.error-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    padding: 30px;
}

.section-description {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    margin: 0 0 30px 0;
    border-left: 4px solid #4a67da;
    font-size: 1.1em;
    line-height: 1.7;
    border-radius: 8px;
}

.error-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.error-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.error-table thead {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.error-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.error-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.error-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.error-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Code Badges */
.status-code {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    min-width: 50px;
    text-align: center;
}

.status-code.success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.status-code.redirect {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.status-code.error {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
}

.status-code.server-error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

/* API Code Badges */
.api-code {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85em;
    min-width: 40px;
    text-align: center;
}

.api-code.auth-error {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: white;
}

.api-code.resource-error {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
}

.api-code.financial-error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.api-code.voucher-error {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.api-code.system-error {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.api-code.validation-error {
    background: linear-gradient(135deg, #16a085, #1abc9c);
    color: white;
}

/* Action Indicators */
.action-none {
    color: #27ae60;
    font-weight: 500;
    font-style: italic;
}

.action-update, .action-cache {
    color: #3498db;
    font-weight: 500;
}

.action-fix, .action-check {
    color: #e67e22;
    font-weight: 500;
}

.action-auth {
    color: #8e44ad;
    font-weight: 500;
}

.action-retry {
    color: #e74c3c;
    font-weight: 500;
}

/* Error Categories */
.error-categories {
    margin: 30px 0;
}

.error-category {
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #4a67da;
}

.error-category h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-category h3 i {
    color: #4a67da;
}

/* Code Examples Grid */
.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.example-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border-left: 4px solid #e74c3c;
}

.example-card h4 {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.1em;
}

.example-card .code-container {
    margin: 0;
    border-radius: 0;
}

/* Implementation Section Styles */
.implementation-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
}

.guide-tabs {
    margin-top: 25px;
}

.tab-buttons {
    display: flex;
    gap: 2px;
    margin-bottom: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #6c757d;
}

.tab-btn.active {
    background: linear-gradient(135deg, #4a67da 0%, #667eea 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(74, 103, 218, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #e9ecef;
    color: #495057;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Troubleshooting Section */
.troubleshooting-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 40px;
}

.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tip-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #4a67da;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tip-header {
    background: linear-gradient(135deg, #4a67da 0%, #667eea 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tip-header i {
    font-size: 1.3em;
}

.tip-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.tip-content {
    padding: 20px;
}

.tip-content h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1em;
}

.tip-content ul {
    margin-bottom: 15px;
}

.tip-content li {
    margin-bottom: 5px;
    color: #6c757d;
}

.solution-list li {
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-list i {
    color: #27ae60;
    font-size: 0.9em;
}

/* Diagnostic Checklist */
.diagnostic-checklist {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #17a2b8;
}

.diagnostic-checklist h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.checklist-column h4 {
    color: #17a2b8;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 2px solid #17a2b8;
    padding-bottom: 5px;
}

.diagnostic-list {
    list-style: none;
    padding: 0;
}

.diagnostic-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.diagnostic-list input[type="checkbox"] {
    accent-color: #17a2b8;
    transform: scale(1.2);
}

.diagnostic-list label {
    cursor: pointer;
    font-size: 0.95em;
    color: #495057;
    transition: all 0.3s ease;
}

/* Best Practices Section */
.best-practices-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 40px;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.practice-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #27ae60;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.practice-icon {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.5em;
}

.practice-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.practice-content p {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.practice-content ul {
    text-align: left;
    color: #495057;
}

.practice-content li {
    margin-bottom: 5px;
    font-size: 0.95em;
}

/* Row highlighting for different error types */
.success-row:hover {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%) !important;
}

.redirect-row:hover {
    background: linear-gradient(135deg, #cce7ff 0%, #b8daff 100%) !important;
}

.error-row:hover {
    background: linear-gradient(135deg, #ffe6cc 0%, #ffd6b8 100%) !important;
}

.server-error-row:hover {
    background: linear-gradient(135deg, #f8d7da 0%, #f1c6cb 100%) !important;
}