/* Increase the marging around the homepage logo */
.custom-logo-image {
    margin-top: 2ex !important;
    margin-bottom: 5ex !important;
}

/* Smaller font size compared to the alternatives provided by sphinx-design */
.custom-fs-7,
.custom-fs-7>p {
    font-size: 0.85rem !important;
    line-height: unset !important;
}

/* Keep all navbar sections open */
.wy-menu-vertical li.toctree-l1.current>ul {
    display: block;
}

.wy-nav-content-wrap a {
    color: #f19653;
}

.wy-nav-content-wrap .wy-menu-vertical header {
    color: #f19653;
}

.wy-nav-content-wrap .wy-menu-vertical p.caption {
    color: #f19653;
}

.wy-nav-content .rst-content h1,
.wy-nav-content .rst-content h2,
.wy-nav-content .rst-content h3,
.wy-nav-content .rst-content h4,
.wy-nav-content .rst-content h5,
.wy-nav-content .rst-content h6 {
    color: #f19653;
}

.fa-home:before,
.icon-home:before .icon-home:before a.icon.icon-home::before {
    color: #f19653 !important;
}

/* To change the color of the home button */
.caption-text {
    color: #f19653 !important;
}

/* To change the color of the titles on the navigation bar */
.wy-menu.wy-menu-vertical .current a,
.wy-menu.wy-menu-vertical a {
    color: #000 !important;
}

/* To change the color of the home button */
.wy-side-nav-search .wy-nav-top a {
    color: #000 !important;
}

.wy-nav-side {
    background: #eeeeee !important;
}

a.icon.icon-home {
    color: #f19653;
}


.cta-container {
    text-align: center;
    margin: 30px;
}

.cta-button {
    display: inline-block;

    padding: 14px 28px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    /* Makes the button rounded */
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease 0s;
}

.cta-container {
    text-align: center;
    margin: 30px;
}

.button-container {
    display: flex;
    justify-content: space-around;
}

.cta-button {
    display: inline-block;
    background-color: #f19653;
    /* Change as desired */
    color: #fff !important;
    /* Change as desired */
    padding: 10px 20px;
    /* Smaller padding makes the button smaller */
    font-size: 14px;
    /* Smaller font size */
    border: none;
    border-radius: 50px;
    /* Makes the button rounded */
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease 0s;
    margin: 0 20px;
    /* Margin separates the buttons */
}

.cta-button:hover {
    background-color: #000;
    /* Darker version of the original color, change as desired */
}

/* ---- Admonitions: branded styles for RTD theme ---- */
:root {
    --cmp-brand: #f19653;
    --cmp-note: #2e7bb4;      /* blue */
    --cmp-tip: #2f9e44;       /* green */
    --cmp-warning: #e67700;   /* orange */
    --cmp-danger: #d64545;    /* red */
    --cmp-important: #6c4ab6; /* purple */
    --cmp-seealso: #0ea5e9;   /* sky */
}

.rst-content .admonition {
    border-left: 4px solid var(--cmp-brand);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.rst-content .admonition .admonition-title {
    margin: 0;
    padding: 10px 12px;
    font-weight: 600;
    color: #fff;
    background: var(--cmp-brand);
}

.rst-content .admonition p,
.rst-content .admonition > .admonition-content,
.rst-content .admonition > p:last-child {
    margin: 12px;
}

/* Per-type colors */
.rst-content .admonition.note { border-left-color: var(--cmp-note); }
.rst-content .admonition.note .admonition-title { background: var(--cmp-note); }

.rst-content .admonition.tip { border-left-color: var(--cmp-tip); }
.rst-content .admonition.tip .admonition-title { background: var(--cmp-tip); }

.rst-content .admonition.warning { border-left-color: var(--cmp-warning); }
.rst-content .admonition.warning .admonition-title { background: var(--cmp-warning); }

.rst-content .admonition.danger { border-left-color: var(--cmp-danger); }
.rst-content .admonition.danger .admonition-title { background: var(--cmp-danger); }

.rst-content .admonition.important { border-left-color: var(--cmp-important); }
.rst-content .admonition.important .admonition-title { background: var(--cmp-important); }

.rst-content .admonition.seealso { border-left-color: var(--cmp-seealso); }
.rst-content .admonition.seealso .admonition-title { background: var(--cmp-seealso); }

/* Optional: icons in titles */
.rst-content .admonition .admonition-title:before {
    display: inline-block;
    margin-right: 8px;
    content: "";
}
.rst-content .admonition.note .admonition-title:before { content: "\2139"; }
.rst-content .admonition.tip .admonition-title:before { content: "\2705"; }
.rst-content .admonition.warning .admonition-title:before { content: "\26A0"; }
.rst-content .admonition.danger .admonition-title:before { content: "\1F6AB"; }
.rst-content .admonition.important .admonition-title:before { content: "\2733"; }
.rst-content .admonition.seealso .admonition-title:before { content: "\279C"; }

/* Tight table helper for provider matrix */
.tight-table table.docutils {
    width: 100%;
}
.tight-table table.docutils td,
.tight-table table.docutils th {
    padding: 6px 8px;
}
.tight-table .head > tr > th {
    background: #fafafa;
}