/* Shared styles for Response Defaults card components */

.defaults-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.defaults-card.coming-soon-card {
    border-style: dashed;
    background: #fafbfc;
}

.card-header {
    margin-bottom: 1.25rem;
}

.card-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
}

.card-description {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.coming-soon-badge {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Control groups */
.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.control-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* Radio groups */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.radio-group.vertical {
    flex-direction: column;
    gap: 0.625rem;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.radio-option:hover {
    border-color: #c7d2fe;
    background: #f1f5f9;
}

.radio-option.selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.radio-option input[type="radio"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    accent-color: #2563eb;
    cursor: pointer;
}

.radio-option input[type="radio"]:disabled {
    cursor: not-allowed;
}

.radio-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.radio-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}

.radio-description {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Checkbox groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.25rem 0;
}

.checkbox-option.standalone {
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.checkbox-option.standalone:hover {
    border-color: #c7d2fe;
    background: #f1f5f9;
}

.checkbox-option input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #2563eb;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.checkbox-option > span {
    font-size: 0.875rem;
    color: #374151;
}

.checkbox-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.checkbox-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}

.checkbox-description {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Toggle option (for MCP card) */
.toggle-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
}

.toggle-option.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.toggle-option input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #2563eb;
}

.toggle-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.toggle-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}

.toggle-hint {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Select controls */
.select-control {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    color: #1f2937;
    cursor: pointer;
    min-width: 200px;
    max-width: 100%;
}

.select-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.select-control:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

/* MCP request section */
.mcp-request-section {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.request-description {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.request-button {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.request-button:disabled {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
    opacity: 1;
}
