body {
    font-family: 'Roboto', sans-serif;
    color: #454545;
}

.GET {
    background-color: #1596f8;
    color: white;
    width: 3.5em;
}

.POST {
    background-color: #29bb3d;
    color: white;
    width: 3.5em;
}

.PUT,
.PATCH {
    background-color: #c0c036;
    color: white;
    width: 3.5em;
}

.DELETE {
    background-color: #ff0000;
    color: white;
    width: 3.5em;
}

.bg-code {
    background-color: #1a1a1a;
    color: #fc7e35;
    border: none;
    outline: none;
    overflow: hidden;
    padding: 6px;
}

.pretty > div {
    background-color: #1a1a1a;
    padding: 5px 10px;
}

.theme-toggle {
    width: 60px;
    height: 33px;
    background: #555;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px;
}

/* Toggle Slider */
.toggle-slider {
    width: 30px;
    height: 30px;
    background: #1f1f1f;
    border-radius: 15%;
    position: absolute;
    top: 3px;
    left: 5px;
    transition: transform 0.3s ease-in-out;
}

/* Move slider when in light mode */
.toggle-slider.light {
    transform: translateX(26px);
}

/* SVG Icon Styling */
.icon {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: opacity 0.3s ease-in-out;
}

.sun {
    top: 5px;
    left: 5px;
    color: yellow;
    opacity: 1;
}

.moon {
    top: 4px;
    right: 5px;
    color: white;
    opacity: 0;
}

/* Show correct icon based on mode */
.light .sun {
    opacity: 0;
}

.light .moon {
    opacity: 1;
}

/* Light Mode Background */
.light-mode {
    background-color: #d0d0d0;
    color: #333;
}

/* Code Block Styling */
.light-mode .bg-code {
    background-color: #9b9b9b;
    color: #000000;
}

.light-mode .text-token {
    color: rgba(37, 140, 199, 0.95);
}

.light-mode strong {
    color: rgba(37, 140, 199, 0.95);
}


.light-mode .pretty > div {
    background-color: #000;
}

.expand-icon {
    width: 35px;
    height: 35px;
}

.chevron-icon {
    width: 35px;
    height: 35px;
}

.light-mode .light-mode-method-expanded {
    background: #4d4d4d;
    color: #ffffff;
}

.light-mode .light-mode-try-expanded {
    background: #808080;
    color: #ffffff;
}

.light-mode .light-mode-method:hover {
    background: #4d4d4d;
    color: #ffffff;
}

.light-mode .light-mode-search {
    color: #000;
}

.floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
}

.controls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav-btn {
    width: 100px;
    height: 40px;
    text-align: center;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .controls {
        flex-direction: column;
        align-content: space-between;
        align-items: center;
        height: 6em;
        width: 7em;
    }

    .truncate {
        overflow-x: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

