/* SIT Docs Custom Styles */
* { box-sizing: border-box; }

body {
    background: #0a1628;
    color: #e8ecf1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #41B592;
    color: #0a1628;
}

/* Card hover effects */
.sit-card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sit-card:hover {
    transform: translateY(-2px);
    border-color: rgba(65, 181, 146, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Quick link hover */
.sit-quick-link {
    transition: border-color 0.2s ease, background 0.2s ease;
}
.sit-quick-link:hover {
    border-color: rgba(65, 181, 146, 0.3) !important;
}

/* Code blocks */
pre, code {
    font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace !important;
    font-size: 13px !important;
}
.sit-code-block {
    background: #0d1b2a !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 20px 24px;
    overflow-x: auto;
    line-height: 1.6;
}
.sit-code-block code {
    color: #e8ecf1;
    background: transparent !important;
}

/* Endpoint rows */
.sit-endpoint {
    transition: background 0.15s ease;
}
.sit-endpoint:hover {
    background: rgba(65, 181, 146, 0.05) !important;
}

/* Method badges */
.sit-method-get {
    background: rgba(65, 181, 146, 0.15);
    color: #41B592;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    font-family: SFMono-Regular, Consolas, monospace;
    letter-spacing: 0.5px;
}
.sit-method-post {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    font-family: SFMono-Regular, Consolas, monospace;
    letter-spacing: 0.5px;
}

/* Badge styles */
.sit-badge-easy {
    background: rgba(65, 181, 146, 0.15);
    color: #41B592;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sit-badge-medium {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sit-badge-advanced {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Integration cards grid */
.sit-integration-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.sit-integration-card:hover {
    transform: translateY(-2px);
    border-color: rgba(65, 181, 146, 0.3) !important;
}

/* Step numbers */
.sit-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(65, 181, 146, 0.15);
    color: #41B592;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0a1628; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* Responsive */
@media (max-width: 782px) {
    .wp-block-columns { flex-direction: column !important; }
    h1 { font-size: 32px !important; }
}

/* Links in cards */
.sit-card a, .sit-quick-link a {
    text-decoration: none;
}
.sit-card h3 a {
    color: #e8ecf1;
    text-decoration: none;
}
.sit-card h3 a:hover {
    color: #41B592;
}

/* Separator style override */
.wp-block-separator {
    opacity: 1;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
th, td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    font-size: 14px;
}
th {
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* WP admin bar fix */
body.admin-bar { margin-top: 0; }
