.endpoint-group {
    margin: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.api-method {
    margin: 15px 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 3px;
}

.parameter {
    margin: 5px 0;
    position: relative;
}

.parameter-tooltip {
    position: absolute;
    /* visibility: hidden; */  /* Comment this out temporarily */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 300px;
    left: 100%;
    top: 0;
    margin-left: 10px;
}

/* Comment this out temporarily for testing
.parameter:hover .parameter-tooltip {
    visibility: visible;
}
*/

.parameter-tooltip-summary {
    font-weight: bold;
    margin-bottom: 5px;
}

.parameter-tooltip-description {
    font-size: 0.9em;
    color: #666;
}

.method-name {
    font-weight: bold;
    color: #333;
}

.http-method {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 3px;
    margin-right: 10px;
}

.http-method.GET { background-color: #61affe; }
.http-method.POST { background-color: #49cc90; }
.http-method.PUT { background-color: #fca130; }
.http-method.DELETE { background-color: #f93e3e; }

.response-area {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 3px;
    white-space: pre-wrap;
}

.type-info {
    margin: 10px 0;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #eee;
}

select {
    margin: 10px;
    padding: 5px;
    font-size: 16px;
}

#api-content {
    margin-top: 20px;
}

.api-documentation {
    margin: 15px 0;
    padding: 15px;
    background-color: #f8f8f8;
    border-left: 4px solid #61affe;
}

.api-summary {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}

.api-description {
    margin-top: 10px;
    line-height: 1.4;
}

select option {
    padding: 5px;
    line-height: 1.4;
}

.login-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.login-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin: 10px 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button-group {
    margin-top: 15px;
    text-align: right;
}

.button-group button {
    margin-left: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#login-submit {
    background-color: #007bff;
    color: white;
}

#login-cancel {
    background-color: #6c757d;
    color: white;
}

#console-log {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background-color: #1e1e1e;
    color: #d4d4d4;
    font-family: monospace;
    padding: 10px;
    overflow-y: auto;
    border-top: 4px solid #666;
    white-space: pre;
    font-size: 14px;
    z-index: 900;
}

/* Add a subtle gradient effect above the console */
#console-log::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2));
    pointer-events: none;
}

/* Adjust main content area to not overlap with console */
#endpoints-container {
    margin-bottom: 320px;
}

/* Style the separators */
#console-log .separator-dash {
    color: #666;
}

#console-log .separator-equal {
    color: #888;
    margin: 10px 0;
}

.console-control {
    width: 24px;
    height: 24px;
    border: 1px solid #666;
    background-color: #1e1e1e;
    color: #d4d4d4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: monospace;
    border-radius: 3px 3px 0 0;
}

.console-control:hover {
    background-color: #333;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

#apple-signin-button {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

.apple-signin-button {
    width: 240px !important;  /* Match Google's width exactly */
    height: 40px !important;  /* Match Google's height exactly */
    padding: 1px 8px;  /* Match Google's padding */
    border: 1px solid #dadce0;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    display: inline-flex;  /* Changed to inline-flex */
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.25px;
    color: #3c4043;
    position: relative;
    outline: none;
}

.apple-button-content {
    display: inline-flex;  /* Changed to inline-flex */
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;  /* Added to ensure content fills button */
}

.apple-logo {
    fill: #000;
    flex-shrink: 0;  /* Prevent logo from shrinking */
    width: 18px;
    height: 18px;
}

.apple-button-content span {
    color: #3c4043;
    font-weight: 500;
    white-space: nowrap;  /* Prevent text wrapping */
}

.apple-signin-button:hover {
    background-color: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}
