/* Custom styles for Web Scraper API */

/* Code blocks formatting */
pre {
    background-color: #1e1e1e;
    color: #d4d4d4;
    border-radius: 5px;
    padding: 15px;
    overflow-x: auto;
}

/* Result containers */
.result-pre {
    max-height: 500px;
    overflow-y: auto;
}

/* Sticky footer */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px; /* Margin bottom by footer height */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
}

/* Custom accordion styling */
.accordion-button {
    background-color: #2c2c2c !important;
}

.accordion-button:not(.collapsed) {
    background-color: #3c3c3c !important;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Custom spinner colors */
.spinner-border {
    color: #17a2b8 !important;
}

/* Custom button styling */
.btn-primary {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-primary:hover {
    background-color: #138496;
    border-color: #117a8b;
}

/* Icons in buttons and headers */
[data-feather] {
    vertical-align: text-bottom;
    margin-right: 0.25rem;
}

/* Custom card styling */
.card {
    border-color: #444;
}

.card-header {
    background-color: #2c2c2c;
    border-bottom-color: #444;
}
