
/* Additional styles for the test console */
.api-test-console {
    background: linear-gradient(135deg, #4b5563 0%, #1f2937 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.api-test-console:hover {
    transform: translateY(-5px);
}

.api-test-console label {
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.api-test-console input, 
.api-test-console select,
.api-test-console textarea {
    background: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
}

.api-test-console textarea {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: #1e1e2f;
    color: #50fa7b;
}

.api-test-console input:focus, 
.api-test-console select:focus,
.api-test-console textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.test-btn {
    background: white;
    color: #764ba2;
    font-weight: 700;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    width: auto;
    min-width: 180px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.test-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.response-header {
    color: white;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Success/Error message styling */
.alert-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 8px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: #4caf50;
    color: white;
}

.alert-error {
    background: #f44336;
    color: white;
}
