/* Base styles */
body {
    margin: 0;
    padding: 0;
    background: #fafafa;
}

#swagger-ui {
    max-width: 1460px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Top bar */
.swagger-ui .topbar {
    background: #1b1b1b;
    padding: 10px 0;
}

/* API Selector */
.api-selector-wrapper {
    background: #1b1b1b;
    padding: 30px 0 10px;
    margin-bottom: 30px;
}

.api-selector {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 20px;
}

.api-selector-title {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.api-selector-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 20px;
    font-family: sans-serif;
}

/* Selector Container */
.selector-container {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.selector-group {
    flex: 1;
}

.selector-group label {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
    font-size: 12px;
    font-family: sans-serif;
}

/* Input Select Container */
.api-selector .select-container {
    position: relative;
    display: flex;
    align-items: center;
}

.api-selector .select-container input {
    width: 100%;
    padding: 10px 32px 10px 12px;
    border: 1px solid #50555e;
    border-radius: 4px;
    background: #1b1b1b;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: none !important;
}

.api-selector .select-container::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
    pointer-events: none;
    z-index: 1;
}

/* Hide default datalist dropdown indicator */
input::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none;
    opacity: 0;
}

input::-webkit-list-button {
    display: none !important;
}

.api-selector .select-container input:hover {
    border-color: #89bf04;
    background-color: #222;
}

.api-selector .select-container input:focus {
    outline: none;
    border-color: #89bf04;
    box-shadow: 0 0 0 1px #89bf04;
}

/* Select Element */
.api-selector select:hover {
    border-color: #89bf04;
    background-color: #222;
}

.api-selector select:focus {
    outline: none;
    border-color: #89bf04;
    box-shadow: 0 0 0 1px #89bf04;
}

.api-selector select option {
    background: #1b1b1b;
    color: #fff;
    padding: 8px;
}

/* API Info */
.api-info {
    margin-top: 10px;
    color: rgba(255,255,255,0.7);
    font-family: sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.api-info div {
    margin: 4px 0;
}

/* Swagger UI Info */
.swagger-ui .info {
    margin: 20px 0;
}