﻿div.scheme-container {
    display: none;
}

/* OAuth Section Styling */
.oauth-section {
    margin: 20px auto; 
    padding: 20px; 
    border: 1px solid #e3e3e3; 
    border-radius: 8px; 
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.oauth-section h3 {
    margin-top: 0;
    color: #333;
    font-weight: 600;
}

.oauth-section p {
    margin-bottom: 15px;
    color: #666;
}

.oauth-section .btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    margin: 4px 8px;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.oauth-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.oauth-section .btn:active {
    transform: translateY(0);
}

.oauth-section #oauth-access-token {
    width: 100%; 
    height: 100px; 
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; 
    font-size: 12px; 
    padding: 12px; 
    border: 1px solid #d1d5db; 
    border-radius: 6px;
    background-color: #f9fafb;
    resize: vertical;
}

.oauth-section select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    margin: 4px 8px;
    display: inline-block;
}

.oauth-section select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#oauth-status {
    margin-top: 12px; 
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 500;
}

.oauth-status-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.oauth-status-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.oauth-status-warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.oauth-status-error {
    background-color: #fecaca;
    color: #991b1b;
    border: 1px solid #f87171;
}

#oauth-token-section, #multi-instance-section {
    margin-top: 16px;
    padding: 16px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-align: left;
}

#oauth-token-section h4, #multi-instance-section h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #374151;
    font-size: 16px;
}

#multi-instance-section p {
    margin-bottom: 12px;
    color: #6b7280;
}

/* Center align button containers */
.oauth-section .oauth-buttons {
    text-align: center;
    margin: 16px 0;
}

/* Center align dropdown containers */
.oauth-section .dropdown-container {
    text-align: center;
    margin: 12px 0;
}

/* Center align the help section */
.oauth-section .oauth-help {
    text-align: center;
}

/* Ensure OAuth section container is properly centered */
#oauth-login-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 20px 0;
}

/* Additional container-level centering for Swagger UI */
.swagger-ui #oauth-login-section {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    margin: 20px auto !important;
    text-align: center;
}
