.settings-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.5);
}

.settings-content {
    background-color: white;
    border-radius: 0.5rem;
    max-width: 32rem;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.settings-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.settings-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.settings-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.settings-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.settings-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.settings-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
}

.settings-list {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item:hover {
    background-color: #f9fafb;
}

.settings-remove-button {
    color: #ef4444;
}

.settings-remove-button:hover {
    color: #dc2626;
}

.settings-save-button {
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
}

.settings-save-button:hover {
    background-color: #2563eb;
}

.settings-save-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.settings-cancel-button {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
}

.settings-cancel-button:hover {
    background-color: #f3f4f6;
}

.settings-empty {
    text-align: center;
    color: #6b7280;
    padding: 1rem;
}

@media (max-width: 640px) {
    .settings-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
}
