/**
 * Juvo D2C API - Interactive Documentation Styles
 * 
 * Modern, professional design system following Juvo's visual identity
 * 
 * Features:
 * - Official Juvo colors and branding
 * - Inter font for better readability
 * - Responsive design for all devices
 * - Glassmorphism effects
 * - Smooth animations and micro-interactions
 * - Accessibility support
 * - Performance optimized
 * 
 * Colors:
 * - Primary: #DD3E84 (Primary Pink)
 * - Secondary: #00B7B6 (Secondary Teal)
 * - Accent: #00B7B6 (Accent Teal)
 * - Warning: #F9CF32 (Warning Yellow)
 * - Error: #D0021B (Error Red)
 * 
 * @author Juvo Development Team
 * @version 3.3.0
 * @updated Added Get Loan Charging endpoint with complete documentation and i18n support
 */

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1A1A1A;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Header */
.header {
    background: linear-gradient(135deg, #DD3E84 0%, #b8316a 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(221, 62, 132, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-left: 1rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector,
.environment-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.language-selector label {
    font-size: 1.125rem;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.environment-selector label {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.language-selector select,
.environment-selector select {
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #DD3E84;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.language-selector select:hover,
.environment-selector select:hover {
    border-color: #00B7B6;
    box-shadow: 0 4px 20px rgba(0, 183, 182, 0.3);
}

.language-selector select:focus,
.environment-selector select:focus {
    outline: none;
    border-color: #00B7B6;
    box-shadow: 0 0 0 3px rgba(0, 183, 182, 0.2);
}

/* Container principal */
.container {
    display: flex;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
    gap: 1.5rem;
    padding: 1rem;
}

/* Sidebar */
.sidebar {
    width: 290px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 90px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.nav-content {
    padding: 1rem 0;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: calc(100vh - 100px);
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #DD3E84 #f1f1f1;
}

/* Custom scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.nav-content::-webkit-scrollbar {
    width: 8px;
}

.nav-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.nav-content::-webkit-scrollbar-thumb {
    background: #DD3E84;
    border-radius: 4px;
}

.nav-content::-webkit-scrollbar-thumb:hover {
    background: #b8316a;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #DD3E84;
    margin-bottom: 0.75rem;
    padding: 0 1.5rem;
    position: relative;
}

.nav-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 1.5rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #DD3E84, #00B7B6);
    border-radius: 2px;
}

.nav-list {
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #666666;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
}

.nav-link:hover {
    background: linear-gradient(90deg, rgba(221, 62, 132, 0.05), rgba(0, 183, 182, 0.05));
    color: #DD3E84;
    border-left-color: #00B7B6;
    transform: translateX(4px);
}

.nav-link.active {
    background: linear-gradient(90deg, rgba(221, 62, 132, 0.1), rgba(0, 183, 182, 0.1));
    color: #DD3E84;
    border-left-color: #DD3E84;
    font-weight: 600;
    transform: translateX(4px);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #DD3E84;
    border-radius: 50%;
}

/* Content Area */
.content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

.endpoint-section {
    display: none;
}

.endpoint-section.active {
    display: block;
}

.endpoint-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E5E7EB;
    position: relative;
}

.endpoint-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #DD3E84, #00B7B6);
}

.endpoint-header h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #1A1A1A;
    margin: 0;
}

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

.tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tag.auth {
    background: linear-gradient(135deg, #F9CF32, #e6b800);
    color: white;
    box-shadow: 0 4px 15px rgba(249, 207, 50, 0.3);
}

.tag.method {
    color: white;
    font-weight: 700;
}

.tag.post {
    background: linear-gradient(135deg, #DD3E84, #b8316a);
    box-shadow: 0 4px 15px rgba(221, 62, 132, 0.3);
}

.tag.put {
    background: linear-gradient(135deg, #00B7B6, #009a99);
    box-shadow: 0 4px 15px rgba(0, 183, 182, 0.3);
}

.tag.get {
    background: linear-gradient(135deg, #00B7B6, #009a99);
    box-shadow: 0 4px 15px rgba(0, 183, 182, 0.3);
}

.tag.delete {
    background: linear-gradient(135deg, #D0021B, #b00017);
    box-shadow: 0 4px 15px rgba(208, 2, 27, 0.3);
}

.description {
    font-size: 1.125rem;
    color: #666666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.endpoint-details h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1A1A1A;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E5E7EB;
    position: relative;
}

.endpoint-details h3::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, #DD3E84, #00B7B6);
}

/* Code blocks */
.code-block {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DD3E84, #00B7B6, #00B7B6);
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #1A1A1A;
}

.code-block code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Parameters table */
.parameters-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.parameters-table th {
    background: linear-gradient(135deg, #DD3E84, #b8316a);
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: white;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.parameters-table td {
    padding: 1rem;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.875rem;
    color: #1A1A1A;
}

.parameters-table tr:nth-child(even) {
    background: rgba(221, 62, 132, 0.02);
}

.parameters-table tr:hover {
    background: rgba(221, 62, 132, 0.05);
    transform: scale(1.005);
    transition: all 0.3s ease;
}

.required {
    background: linear-gradient(135deg, #D0021B, #b00017);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(208, 2, 27, 0.3);
}

.optional {
    background: linear-gradient(135deg, #666666, #555555);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(102, 102, 102, 0.3);
}

/* Playground */
.playground {
    width: 720px;
    background: linear-gradient(135deg, #1A1A1A 0%, #2c2c2c 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-y: auto;
    position: sticky;
    top: 90px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
}

.playground-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #333333;
    position: relative;
}

.playground-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #DD3E84, #00B7B6);
}

.playground-header h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.endpoint-path {
    font-size: 0.875rem;
    color: #00B7B6;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-weight: 600;
    background: rgba(0, 183, 182, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 183, 182, 0.2);
}

.playground-section {
    margin-bottom: 1.5rem;
}

.playground-section h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #E5E7EB;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Auth section */
.auth-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-section label {
    font-size: 0.875rem;
    color: #E5E7EB;
    font-weight: 600;
}

.auth-section textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem;
    border: 2px solid #333333;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.875rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.auth-section textarea:focus {
    outline: none;
    border-color: #DD3E84;
    box-shadow: 0 0 0 3px rgba(221, 62, 132, 0.2);
}

.auth-section textarea::placeholder {
    color: #666666;
}

/* JSON Editor */
.json-editor {
    width: 100%;
    min-height: 180px;
    padding: 0.75rem;
    border: 2px solid #333333;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.875rem;
    resize: vertical;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.json-editor:focus {
    outline: none;
    border-color: #DD3E84;
    box-shadow: 0 0 0 3px rgba(221, 62, 132, 0.2);
}

.json-editor::placeholder {
    color: #666666;
}

/* Buttons */
.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #333333, #444444);
    color: white;
    border: 2px solid #555555;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #444444, #555555);
    border-color: #666666;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.send-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #DD3E84, #b8316a);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(221, 62, 132, 0.3);
}

.send-button:hover {
    background: linear-gradient(135deg, #00B7B6, #009a99);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 183, 182, 0.4);
}

.send-button:disabled {
    background: linear-gradient(135deg, #666666, #555555);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading spinner */
.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* cURL preview */
.curl-preview {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.curl-preview::before {
    content: 'cURL';
    position: absolute;
    top: -10px;
    left: 1rem;
    background: #DD3E84;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.curl-preview pre {
    color: #E5E7EB;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.875rem;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.6;
}

/* Response area */
.response-area {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
}

.response-area::before {
    content: 'Response';
    position: absolute;
    top: -10px;
    left: 1rem;
    background: #00B7B6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.response-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #333333;
    font-size: 0.875rem;
    color: #E5E7EB;
}

#status-code {
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#status-code.success {
    background: linear-gradient(135deg, #DD3E84, #b8316a);
    color: white;
}

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

#response-body {
    color: #E5E7EB;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.875rem;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 350px;
    overflow-y: auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1700px) and (min-width: 1501px) {
    .sidebar {
        width: 270px;
    }
    
    .playground {
        width: 620px;
    }
}

@media (max-width: 1500px) and (min-width: 1401px) {
    .sidebar {
        width: 260px;
    }
    
    .playground {
        width: 580px;
    }
}

@media (max-width: 1400px) {
    .container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        max-height: 70vh;
        position: static;
        order: 1;
    }
    
    .playground {
        width: 100%;
        height: auto;
        position: static;
        order: 3;
        padding: 1rem;
    }
    
    .content {
        order: 2;
        padding: 1.5rem;
    }
    
    .nav-content {
        padding: 1rem;
        max-height: 70vh;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .logo {
        justify-content: center;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .endpoint-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .endpoint-tags {
        justify-content: flex-start;
    }
    
    .playground {
        padding: 1rem;
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #DD3E84, #00B7B6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b8316a, #009a99);
}

/* Dark theme for playground scrollbar */
.playground::-webkit-scrollbar-track {
    background: #333333;
}

.playground::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #DD3E84, #00B7B6);
}

.playground::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b8316a, #009a99);
}

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

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.endpoint-section {
    animation: fadeIn 0.5s ease-out;
}

.nav-link {
    animation: slideIn 0.3s ease-out;
}

/* Hover effects */
.parameters-table tr {
    transition: all 0.3s ease;
}

.code-block {
    transition: all 0.3s ease;
}

.code-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Focus states */
*:focus {
    outline: 2px solid #DD3E84;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success states */
.success {
    border-color: #DD3E84 !important;
    background: rgba(221, 62, 132, 0.05) !important;
}

/* Error states */
.error {
    border-color: #D0021B !important;
    background: rgba(208, 2, 27, 0.05) !important;
}

/* Additional micro-interactions */
.nav-link:hover::after {
    content: '→';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #DD3E84;
    font-weight: 700;
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.send-button:active {
    transform: translateY(-1px);
}

/* Pulsing animation for active states */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.nav-link.active::before {
    animation: pulse 2s infinite;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Glass morphism effects */
.sidebar,
.content,
.playground {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Better mobile experience */
@media (max-width: 480px) {
    .header {
        padding: 1rem 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo img {
        height: 32px;
    }
    
    .endpoint-header h1 {
        font-size: 1.5rem;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .playground {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    .header,
    .sidebar,
    .playground {
        display: none !important;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .content {
        margin: 0;
        padding: 0;
        box-shadow: none;
        border: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link:hover {
        background: #DD3E84;
        color: white;
    }
    
    .tag {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Introduction Page Styles */
.introduction-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(221, 62, 132, 0.1), rgba(0, 183, 182, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(221, 62, 132, 0.2);
}

.introduction-header h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #DD3E84;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #DD3E84, #00B7B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.introduction-subtitle {
    font-size: 1.25rem;
    color: #666666;
    margin: 0;
    font-weight: 500;
}

.introduction-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.intro-card h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1A1A1A;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.intro-card p {
    color: #666666;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.intro-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-list li {
    padding: 0.5rem 0;
    color: #666666;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.intro-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #DD3E84;
    font-weight: 700;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #DD3E84, #00B7B6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1A1A1A;
    margin: 0 0 0.5rem 0;
}

.step-content p {
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

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

.env-card {
    background: linear-gradient(135deg, rgba(221, 62, 132, 0.05), rgba(0, 183, 182, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(221, 62, 132, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.env-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(221, 62, 132, 0.15);
}

.env-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #DD3E84;
    margin: 0 0 0.5rem 0;
}

.env-card p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

.env-card code {
    background: rgba(221, 62, 132, 0.1);
    color: #DD3E84;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.next-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(221, 62, 132, 0.03), rgba(0, 183, 182, 0.03));
    border-radius: 12px;
    border: 1px solid rgba(221, 62, 132, 0.1);
    transition: all 0.3s ease;
}

.next-step:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(221, 62, 132, 0.1);
}

.step-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.next-step h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1A1A1A;
    margin: 0 0 0.5rem 0;
}

.next-step p {
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for introduction */
@media (max-width: 768px) {
    .introduction-header h1 {
        font-size: 2rem;
    }
    
    .introduction-subtitle {
        font-size: 1.1rem;
    }
    
    .intro-card {
        padding: 1.5rem;
    }
    
    .environments-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps {
        gap: 1rem;
    }
    
    .step-number {
        width: 2rem;
        height: 2rem;
                 font-size: 1rem;
     }
 }

/* Playground Introduction Styles */
.intro-playground {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 1.5rem;
}

.intro-info {
    color: #E5E7EB;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.intro-info p {
    margin: 0 0 1rem 0;
}

.intro-info strong {
    color: #DD3E84;
}

.intro-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-info li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.intro-info li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00B7B6;
    font-weight: 700;
}

/* Instructions Page Specific Styles */
.response-properties {
    margin-top: 1rem;
}

.property-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.property-item h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.property-type {
    color: #00B7B6;
    font-weight: 500;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.property-item p {
    margin: 0.5rem 0;
    color: #666666;
    line-height: 1.6;
}

.property-item ul {
    margin: 0.5rem 0 0 1rem;
    color: #666666;
}

.property-item ul li {
    margin-bottom: 0.3rem;
}

.best-practices {
    margin-top: 1rem;
}

.practice-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.practice-item h3 {
    margin: 0 0 1rem 0;
    color: #DD3E84;
    font-size: 1.1rem;
    font-weight: 600;
}

.practice-item p {
    margin: 0.5rem 0;
    color: #666666;
    line-height: 1.6;
}

.practice-item .code-block {
    margin-top: 1rem;
}

/* Use Cases and Security Considerations Lists */
.use-cases-list,
.security-considerations {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #E5E7EB;
    border-top: 3px solid #00B7B6;
    border-radius: 12px;
    margin: 1.5rem 0;
    padding: 1.5rem;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.use-cases-list ol,
.use-cases-list ul,
.security-considerations ul {
    list-style: none;
    padding: 0;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    counter-reset: item;
}

.use-cases-list ol {
    list-style: none;
    counter-reset: item;
}

.use-cases-list ol li {
    counter-increment: item;
    padding-left: 2rem;
}

.use-cases-list ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: #00B7B6;
    font-weight: bold;
    font-size: 1rem;
}

.use-cases-list li,
.security-considerations li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #1A1A1A;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.security-considerations li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00B7B6;
    font-weight: bold;
    font-size: 1.2rem;
}

.use-cases-list li strong,
.security-considerations li strong {
    color: #DD3E84;
    font-weight: 600;
}

.security-considerations p {
    margin: 0 0 1rem 0;
    font-weight: 600;
    color: #1A1A1A;
}

.security-considerations p strong {
    color: #DD3E84;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .use-cases-list,
    .security-considerations {
        padding: 1rem;
    }
    
    .use-cases-list li,
    .security-considerations li {
        padding-left: 1.25rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }
}  