/* Professional Documentation Styles for Getting Started Page */

/* Geist Font Family */
.geist {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    letter-spacing: -0.011em;
}

/* Inline Code Styling - Professional & Minimal */
.code-inline {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.8125em;
    padding: 0.125rem 0.375rem;
    background-color: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 0.25rem;
    color: #24292f;
    font-weight: 400;
    white-space: nowrap;
}

/* Code Block Styling - Clean & Professional */
.code-block-wrapper {
    position: relative;
    margin: 1rem 0;
}

.code-block {
    background: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 0.375rem;
    padding: 1rem;
    padding-right: 3.5rem;
    overflow-x: auto;
    overflow-y: auto;
    margin: 0;
    box-shadow: none;
    min-height: 3.5rem;
    max-height: 400px;
}

.code-block code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.8125rem;
    line-height: 1.8;
    color: #24292f;
    white-space: pre;
    display: block;
}

/* Copy button styling */
.copy-button {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: white;
    border: 1px solid #d0d7de;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    color: #24292f;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: 500;
    z-index: 10;
}

/* Center copy button for single-line code */
.code-block-wrapper.single-line .copy-button {
    top: 50%;
    transform: translateY(-50%);
}

.copy-button:hover {
    background: #f6f8fa;
    border-color: #afb8c1;
}

.copy-button:active {
    background: #eaedef;
}

.copy-button.copied {
    color: #059669;
    border-color: #059669;
}

/* Syntax Highlighting - Minimal & Monochrome */
.hljs {
    background: transparent !important;
    padding: 0 !important;
    color: #24292f;
}

.hljs-keyword,
.hljs-selector-tag {
    color: #1f2937;
    font-weight: 500;
}

.hljs-string,
.hljs-doctag {
    color: #374151;
}

.hljs-number,
.hljs-literal {
    color: #1f2937;
}

.hljs-attr,
.hljs-attribute {
    color: #4b5563;
}

.hljs-comment,
.hljs-quote {
    color: #6b7280;
    font-style: italic;
}

.hljs-tag {
    color: #374151;
}

.hljs-name {
    color: #1f2937;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .code-block {
        padding: 0.875rem;
        border-radius: 0.375rem;
    }

    .code-block code {
        font-size: 0.75rem;
    }
}

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

/* Link hover effects - Professional */
a:not(.popup-buy-now) {
    transition: color 0.15s ease;
}

/* Button transitions - Subtle */
button {
    transition: all 0.15s ease;
}

/* Cursor pointer utility */
.pointer {
    cursor: pointer;
}

/* Custom scrollbar for code blocks - Professional */
.code-block::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.code-block::-webkit-scrollbar-track {
    background: #f6f8fa;
    border-radius: 5px;
}

.code-block::-webkit-scrollbar-thumb {
    background: #d0d7de;
    border-radius: 5px;
}

.code-block::-webkit-scrollbar-thumb:hover {
    background: #afb8c1;
}

/* Print styles */
@media print {
    body {
        background: white;
    }

    .code-block {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}

/* Professional Typography Adjustments */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

/* Professional focus states */
button:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Clean table of contents / list styling */
ul, ol {
    list-style-position: outside;
}

/* Professional card hover states */
.bg-white:hover {
    transition: border-color 0.15s ease;
}
