/* Read the Docs Theme Customizations */
.wy-side-nav-search {
    background-color: #17a37d;
}

.wy-nav-side {
    background-color: #2757a3;
}

.wy-side-nav-search a,
.wy-side-nav-search a:visited,
.wy-side-nav-search a:hover {
    opacity: 1;
    color: transparent;
    background-image: url('logo.svg');
    background-position: center center;
    background-size: 96% auto;
    background-repeat: no-repeat;
    display: block;
    height: 48px;
    padding: 4px;
    border-radius: 4px;
}

a {
    color: #2757a3;
}

a:visited {
    color: #17a37d;
}

.wy-table-responsive table {
    width: 100%;
}

.wy-table-responsive table td,
.wy-table-responsive table th {
    white-space: normal;
}

.wy-menu a {
    color: #fff;
    position: relative;
}

.wy-menu a.current::after {
    content: ">";
    position: absolute;
    right: 8px;
}

.wy-menu ul ul {
    background-color: rgba(255, 255, 255, 0.15);
}

.wy-menu ul ul ul {
    background-color: rgba(255, 255, 255, 0.2);
}

.wy-menu li.current,
.wy-menu li.current a {
    background: none !important;
}

.wy-menu li a,
.wy-menu li.current li a {
    color: #fff;
}

.wy-menu li a:hover,
.wy-menu li.current li a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.wy-menu li.current>a {
    color: #2757a3 !important;
    background-color: #fff !important;
}

.wy-menu li.current li.current>a {
    color: #2757a3 !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
}

.wy-menu li.toctree-l2 span.toctree-expand,
.wy-menu li.toctree-l3 span.toctree-expand,
.wy-menu li.toctree-l4 span.toctree-expand {
    color: #fff !important;
}

.wy-menu li.toctree-l2.current span.toctree-expand,
.wy-menu li.toctree-l3.current span.toctree-expand,
.wy-menu li.toctree-l4.current span.toctree-expand {
    color: #2757a3 !important;
}

.version::before {
    content: 'API Version: ';
}

.highlight .nt {
    color: #17a37d;
}

.highlight .s2 {
    color: #2757a3;
}

.highlight .kc {
    color: #8A5427;
}

/* Compliance Button Styles */
.compliance-links {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.compliance-links .button {
    padding: 10px 15px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.compliance-links .button.iso {
    background-color: #27ae60;
    /* Green */
}

.compliance-links .button.pci {
    background-color: #e74c3c;
    /* Red */
}

.compliance-links .button.soc {
    background-color: #9b59b6;
    /* Purple */
}

.compliance-links .button.pentest {
    background-color: #f37c12;
    /* Orange */
}

.compliance-links .button.dr {
    background-color: #1abc9c;
    /* Teal */
}

/* Hover Animations */
.compliance-links .button:hover {
    transform: scale(1.05);
    background-color: #34495e;
    /* Darker background on hover */
}