/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* ===== ANDROID/EDGE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* ===== HEADER STYLES ===== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.menu-container {
    position: relative;
}

.menu-icon {
    font-size: 1.25rem;
    color: #666;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-icon:active {
    background-color: #f0f0f0;
    transform: scale(0.95);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu-item:active {
    background-color: #f8f9fa;
    transform: scale(0.98);
}

.menu-item i {
    color: #667eea;
    width: 16px;
}

/* ===== SEARCH STYLES ===== */
.search-container {
    padding: 1.5rem;
    background: transparent;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.search-clear:active {
    background-color: #f0f0f0;
}

/* ===== MAIN CONTENT STYLES ===== */
main {
    padding: 0 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== CATEGORY STYLES ===== */
.api-category {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
}

.category-count {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== API ITEM STYLES ===== */
.api-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.api-item:active {
    transform: scale(0.995);
}

.api-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    user-select: none;
}

.api-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.api-method {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.api-method.get {
    background: #e7f4e4;
    color: #2e7d32;
}

.api-method.post {
    background: #e3f2fd;
    color: #1565c0;
}

.api-title {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.api-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.api-status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.api-status-badge.online {
    background: #e7f4e4;
    color: #2e7d32;
}

.api-status-badge.offline {
    background: #ffebee;
    color: #c62828;
}

.api-status-badge.checking {
    background: #fff3e0;
    color: #ef6c00;
}

.toggle-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:active {
    background-color: #f0f0f0;
    transform: scale(0.95);
}

/* ===== API DESCRIPTION STYLES ===== */
.api-description {
    display: none;
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.api-description.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.api-description > p {
    color: #666;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.api-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
}

.api-endpoint {
    background: #2d3748;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.api-endpoint code {
    background: none;
    padding: 0;
    color: #e2e8f0;
}

.param {
    color: #63b3ed;
    font-style: italic;
}

.api-params {
    margin-bottom: 1.25rem;
}

.api-params h4 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.api-params ul {
    list-style: none;
    padding-left: 0;
}

.api-params li {
    padding: 0.375rem 0;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.api-params li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
}

.api-params code {
    background: #e2e8f0;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #2d3748;
    font-family: 'Courier New', monospace;
}

/* ===== RESPONSE STYLES ===== */
.api-response {
    margin-bottom: 1.25rem;
}

.response-container {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #4a5568;
}

.refresh-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.refresh-btn:active {
    background: #5a6fd8;
    transform: scale(0.95);
}

.response-content {
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #1a202c;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    border-radius: 0 0 8px 8px;
}

.response-content pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.loading-spinner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #a0aec0;
    font-style: italic;
}

.loading-spinner .fa-spin {
    color: #667eea;
}

.error-message {
    color: #fc8181;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== ACTION BUTTONS ===== */
.api-actions-footer {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.action-btn:active {
    transform: scale(0.95);
}

.try-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.try-btn:active {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

.copy-btn {
    background: #e2e8f0;
    color: #4a5568;
}

.copy-btn:active {
    background: #cbd5e0;
}

/* ===== FORM STYLES ===== */
.api-format-section {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
}

.api-format-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.api-format-section input,
.api-format-section select {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
}

.api-format-section input:focus,
.api-format-section select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===== SEARCH HIGHLIGHT ===== */
.search-highlight {
    background-color: #fff3cd;
    padding: 0.125rem 0.25rem;
    border-radius: 3px;
    font-weight: 600;
}

/* ===== NO RESULTS STYLES ===== */
.no-results {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #666;
}

.no-results.hidden {
    display: none;
}

.no-results-content i {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.no-results-content h3 {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #333;
    font-size: 1.2rem;
}

.footer-logo i {
    color: #667eea;
}

.footer-info p {
    color: #666;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f7fafc;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.social-icon:active {
    transform: scale(0.9);
    background: #e2e8f0;
}

.social-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.copyright {
    color: #a0aec0;
    font-size: 0.875rem;
}

/* ===== TOAST STYLES ===== */
#toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2d3748;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 0 0 50px 50px;
    animation: toastProgress 3s linear;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ===== DARK THEME STYLES ===== */
body.dark-theme {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #e2e8f0;
}

body.dark-theme .site-header {
    background: rgba(45, 55, 72, 0.95);
    color: #e2e8f0;
}

body.dark-theme .logo-text {
    color: #e2e8f0;
}

body.dark-theme .api-category,
body.dark-theme .api-item {
    background: rgba(45, 55, 72, 0.95);
    color: #e2e8f0;
    border-color: #4a5568;
}

body.dark-theme .api-title {
    color: #e2e8f0;
}

body.dark-theme .api-description > p {
    color: #a0aec0;
}

body.dark-theme .api-details {
    background: #2d3748;
}

body.dark-theme .api-params h4 {
    color: #e2e8f0;
}

body.dark-theme .api-params li {
    color: #a0aec0;
}

body.dark-theme .search-input {
    background: rgba(45, 55, 72, 0.95);
    border-color: #4a5568;
    color: #e2e8f0;
}

body.dark-theme .search-input:focus {
    background: #2d3748;
    border-color: #667eea;
}

body.dark-theme .site-footer {
    background: rgba(45, 55, 72, 0.95);
}

body.dark-theme .footer-logo {
    color: #e2e8f0;
}

body.dark-theme .footer-info p {
    color: #a0aec0;
}

body.dark-theme .social-icon {
    background: #4a5568;
}

body.dark-theme .copyright {
    color: #718096;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }
    
    .search-container {
        padding: 1rem;
    }
    
    main {
        padding: 0 1rem 1rem;
    }
    
    .api-category {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .api-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .api-title-wrapper {
        width: 100%;
    }
    
    .api-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .api-description {
        padding: 0 1rem 1rem;
    }
    
    .api-details {
        padding: 1rem;
    }
    
    .api-actions-footer {
        flex-direction: column;
    }
    
    .action-btn {
        flex: none;
        width: 100%;
    }
    
    .response-content {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .category-header h2 {
        font-size: 1.25rem;
    }
    
    .api-title {
        font-size: 1rem;
    }
    
    .api-endpoint {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
}

/* ===== TOUCH OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .menu-item:hover,
    .action-btn:hover,
    .toggle-btn:hover,
    .refresh-btn:hover {
        transform: none;
    }
    
    .menu-item:active,
    .action-btn:active,
    .toggle-btn:active,
    .refresh-btn:active {
        transform: scale(0.95);
    }
}

/* ===== EDGE SPECIFIC FIXES ===== */
@supports (-ms-ime-align: auto) {
    .search-input {
        background: white;
    }
    
    body.dark-theme .search-input {
        background: #2d3748;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .api-method.get {
        background: #004400;
        color: #00ff00;
    }
    
    .api-method.post {
        background: #000044;
        color: #0088ff;
    }
}
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 2rem 0;
    border-top: 3px solid #00d4ff;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00d4ff;
}

.footer-logo i {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

.footer-info p {
    color: #cccccc;
    margin: 0;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: #00d4ff;
    transform: translateY(-3px);
    border-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.1);
}

.copyright {
    color: #888;
    font-size: 0.8rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        padding: 0 15px;
        gap: 1rem;
    }
    
    .footer-logo {
        font-size: 1.2rem;
    }
    
    .footer-logo i {
        font-size: 1.5rem;
    }
    
    .social-icons {
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon img {
        width: 18px;
        height: 18px;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
}
/* API Count Display */
#apiCountDisplay {
    font-weight: bold;              /* Bold text */
    font-size: 18px;                /* Slightly larger font */
    color: #333;                    /* Dark text color */
    margin-bottom: 15px;            /* Space below the count */
    padding: 8px 12px;              /* Padding around the text */
    background-color: #f5f5f5;      /* Light gray background */
    border-radius: 6px;             /* Rounded corners */
    display: inline-block;          /* Only as wide as content */
}

/* Optional: Dark theme support */
body.dark-theme #apiCountDisplay {
    background-color: #2c2c2c;      /* Dark background */
    color: #f1f1f1;                 /* Light text */
}

/* Small responsive tweak */
@media (max-width: 600px) {
    #apiCountDisplay {
        font-size: 16px;
        padding: 6px 10px;
    }
}
/* API Test Inputs Styling */
.api-test-inputs {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.api-test-inputs .input-group {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.api-test-inputs .input-group:last-child {
    margin-bottom: 0;
}

.api-test-inputs label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
    font-size: 14px;
}

.api-test-inputs .url-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.api-test-inputs .url-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.api-test-inputs .file-input {
    flex: 1;
    padding: 8px 0;
    font-size: 14px;
}

.api-test-inputs .test-url-btn,
.api-test-inputs .test-file-btn {
    padding: 8px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.api-test-inputs .test-url-btn:hover,
.api-test-inputs .test-file-btn:hover {
    background: #0056b3;
}

.api-test-inputs .test-url-btn:disabled,
.api-test-inputs .test-file-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* File input custom styling */
.api-test-inputs input[type="file"]::file-selector-button {
    padding: 6px 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

.api-test-inputs input[type="file"]::file-selector-button:hover {
    background: #545b62;
}

/* Responsive design */
@media (max-width: 768px) {
    .api-test-inputs .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .api-test-inputs label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .api-test-inputs .test-url-btn,
    .api-test-inputs .test-file-btn {
        align-self: flex-start;
    }
}