/* Info boxes (replaces GitBook {% hint style="info" %}) */
.siwe-info-box {
    background-color: #e8f4fd;
    border-left: 4px solid #4a9eda;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
    font-size: 0.95em;
}

.siwe-info-box p {
    margin: 0.4em 0;
}

.siwe-info-box p:first-child {
    margin-top: 0;
}

.siwe-info-box p:last-child {
    margin-bottom: 0;
}

/* Success boxes (replaces GitBook {% hint style="success" %}) */
.siwe-success-box {
    background-color: #e6f9e6;
    border-left: 4px solid #2ea043;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
    font-size: 0.95em;
}

.siwe-success-box p {
    margin: 0.4em 0;
}

.siwe-success-box p:first-child {
    margin-top: 0;
}

.siwe-success-box p:last-child {
    margin-bottom: 0;
}

/* Warning boxes (replaces GitBook {% hint style="warning" %}) */
.siwe-warning-box {
    background-color: #fff8e1;
    border-left: 4px solid #f5a623;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
    font-size: 0.95em;
}

.siwe-warning-box p {
    margin: 0.4em 0;
}

.siwe-warning-box p:first-child {
    margin-top: 0;
}

.siwe-warning-box p:last-child {
    margin-bottom: 0;
}

/* Repo cards (replaces GitBook {% embed url="..." %}) */
.siwe-repo-card {
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
    transition: border-color 0.2s;
}

.siwe-repo-card:hover {
    border-color: #4a9eda;
}

.siwe-repo-card a {
    text-decoration: none;
    color: inherit;
}

.siwe-repo-card small {
    color: #6a737d;
}

/* External sidebar links */
.siwe-external-links {
    padding: 10px 20px;
}

.siwe-external-links hr {
    border: none;
    border-top: 1px solid var(--sidebar-separator);
    margin: 10px 0;
}

.siwe-external-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.siwe-external-links li {
    padding: 4px 0;
}

.siwe-external-links a {
    color: var(--sidebar-fg);
    text-decoration: none;
    font-size: 0.9em;
}

.siwe-external-links a:hover {
    color: var(--sidebar-active);
}

.siwe-external-links a::after {
    content: ' ↗';
    font-size: 0.8em;
    opacity: 0.6;
}

/* Sidebar logo */
.siwe-sidebar-logo {
    padding: 16px 20px 8px;
    text-align: center;
}

.siwe-sidebar-logo img {
    max-width: 180px;
    height: auto;
}

/* External sidebar links - reduce top spacing */
.siwe-external-links {
    margin-top: -10px;
}

/* Book title styling */
.menu-title {
    font-size: 1.2em !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* Content width */
:root {
    --content-max-width: 820px;
}
