:root {
    --site-max-width: 1500px;
}

html, body {
    margin: 0;
    padding: 0;
}

.site-container {
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
html {
    height: 100%;
    scrollbar-gutter: stable;
}
body {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-size: 16px;
    line-height: 24px;
    background: #f8f8f8;
    color: #4b4b4b;
}

.header {
    margin: 24px;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    color: #888;
    box-shadow: 0 0 24px #f4f4f4;
    text-align: center;
}
.header svg {
    height: 48px;
}

.content {
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.content_i {
    flex-grow: 1;
    padding: 24px 5%;
}
.content a {
    color: #00617b;
}
.content a:hover {
    color: #1191b3;
}

.footer {
    border-top: 1px solid #e6e8ec;
    margin: 24px 24px 0;
    padding: 24px;
    text-align: center;
}

.footer_copyright a {
    color: #838b99;
    text-decoration: none;
}

.footer_copyright a:hover {
    color: #0b7794;
    text-decoration: underline;
}

.footer_icons {
    padding-top: 16px;
    display: flex;
    justify-content: center;
}

.footer_icons a {
    margin: 0 12px;
    text-decoration: none;
}

.footer_icons svg {
    height: 32px;
    fill: #838b99;
}

.footer_icons a:hover svg {
    fill: #0b7794;
}

.text-center {
    text-align: center;
}

/* Body wrapper - global container for page content */
.body_wrapper {
    background: #ecf0f1;
    border-radius: 5px;
    padding: 10px;
    box-shadow: #ebead1 0 1px 1px;
}

/* Video embed container */
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-controls {
    margin-bottom: -10px;
}

.sticky-button {
    padding: 8px !important;
    border-radius: 0px 0px 4px 4px !important;
    background: #343a40 !important;
    color: #fff !important;
    margin-top: -2px !important;
    border: none !important;
    text-decoration: none !important;
}

.sticky-button-download {
    background: #c0392b !important;
}

/* Flicker animation for icons */
@-webkit-keyframes flickerAnimation {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}
@-moz-keyframes flickerAnimation {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}
@-o-keyframes flickerAnimation {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes flickerAnimation {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}

.animate-flicker {
    -webkit-animation: flickerAnimation 2s infinite;
    -moz-animation: flickerAnimation 2s infinite;
    -o-animation: flickerAnimation 2s infinite;
    animation: flickerAnimation 2s infinite;
}

/* Apply flicker to callout icons */
.callout-block .icon-holder i {
    -webkit-animation: flickerAnimation 2s infinite;
    -moz-animation: flickerAnimation 2s infinite;
    -o-animation: flickerAnimation 2s infinite;
    animation: flickerAnimation 2s infinite;
}

/* Base callout block styles (for pages without prettydocs.css) */
.callout-block {
    padding: 20px;
    border-radius: 0.5rem;
    position: relative;
    margin-bottom: 15px;
}

/* Callout Design: Banner (full tinted background) */
.callout-banner {
    border: none !important;
}
.callout-banner.callout-info { background: #d9edf7 !important; }
.callout-banner.callout-warning { background: #fcf8e3 !important; }
.callout-banner.callout-success { background: #dff0d8 !important; }
.callout-banner.callout-danger { background: #f2dede !important; }
.callout-banner .icon-holder { background: transparent !important; }
.callout-banner.callout-info .icon-holder i { color: #31708f; }
.callout-banner.callout-warning .icon-holder i { color: #8a6d3b; }
.callout-banner.callout-success .icon-holder i { color: #3c763d; }
.callout-banner.callout-danger .icon-holder i { color: #a94442; }
.callout-banner .content { color: #333; }
.callout-banner .content h4 { color: inherit; }
.callout-banner.callout-info .content h4 { color: #31708f; }
.callout-banner.callout-warning .content h4 { color: #8a6d3b; }
.callout-banner.callout-success .content h4 { color: #3c763d; }
.callout-banner.callout-danger .content h4 { color: #a94442; }

/* Additional Banner Colors - Professional */
.callout-banner.callout-teal { background: #e0f2f1 !important; }
.callout-banner.callout-teal .icon-holder i { color: #009688; }
.callout-banner.callout-teal .content h4 { color: #00796b; }

.callout-banner.callout-orange { background: #fff3e0 !important; }
.callout-banner.callout-orange .icon-holder i { color: #e67e22; }
.callout-banner.callout-orange .content h4 { color: #d35400; }

.callout-banner.callout-navy { background: #ebedef !important; }
.callout-banner.callout-navy .icon-holder i { color: #2c3e50; }
.callout-banner.callout-navy .content h4 { color: #1a252f; }

.callout-banner.callout-amber { background: #fef5e7 !important; }
.callout-banner.callout-amber .icon-holder i { color: #f39c12; }
.callout-banner.callout-amber .content h4 { color: #9a7d0a; }

.callout-banner.callout-slate { background: #f0f3f4 !important; }
.callout-banner.callout-slate .icon-holder i { color: #636e72; }
.callout-banner.callout-slate .content h4 { color: #4a5459; }

.callout-banner.callout-indigo { background: #e8eaf6 !important; }
.callout-banner.callout-indigo .icon-holder i { color: #3f51b5; }
.callout-banner.callout-indigo .content h4 { color: #303f9f; }

.callout-banner.callout-cyan { background: #e0f7fa !important; }
.callout-banner.callout-cyan .icon-holder i { color: #00bcd4; }
.callout-banner.callout-cyan .content h4 { color: #0097a7; }

/* Restricted access banner */
.callout-restricted {
    background: #2c3e50;
    color: #fff;
}

/* Remove background from all callout icon holders */
.callout-block .icon-holder { background: transparent !important; }

/* Dynamic code blocks */
.dynamic-code {
    transition: opacity 0.1s ease;
}

.code-var-value {
    color: #e74c3c !important;
    font-weight: 600;
}

/* Inline dynamic text variables */
.dynamic-text {
    color: #e74c3c;
    font-weight: 600;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 84px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #343a40;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-to-top:hover {
    background: #23272b;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Video lazy loading play overlay */
.video-lazy-placeholder {
    background: #000;
}
.video-play-overlay {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    padding: 18px 20px 18px 28px;
    cursor: pointer;
}
.video-play-overlay:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: rgba(52, 58, 64, 0.7);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}
.video-play-overlay:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: rgba(52, 58, 64, 0.85);
    border-radius: 50%;
    transition: all 200ms;
}
.video-lazy-placeholder:hover .video-play-overlay:after {
    background-color: rgba(52, 58, 64, 0.95);
}
.video-play-overlay span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid #fff;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}
@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

/* Export manual button */
a.export-manual-btn,
a.export-manual-btn:link,
a.export-manual-btn:visited {
    padding: 4px 8px;
    border-radius: 4px;
    color: #c0392b !important;
    text-decoration: none;
    transition: all 0.2s ease;
}
a.export-manual-btn:hover,
a.export-manual-btn:focus {
    background: rgba(255,255,255,0.15);
    color: #e74c3c !important;
}

/* Inline copy button - small button that doesn't expand line height */
.btn-copy-inline {
    padding: 0.2em;
    font-size: 0.85em;
    line-height: 1;
    vertical-align: middle;
    border: none;
}

/* Inline badge - small badge that doesn't expand line height */
.badge-inline {
    padding: 0.15em 0.4em;
    font-size: 0.75em;
    vertical-align: middle;
}