﻿.dialog-main-content {
    background-color: #f0f2f5;
    padding: 20px;
    height: 100%;
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.left-panel {
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.right-panel {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.left-panel,
.right-panel {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card {
    width: 100%;
    border: none;
    background-color: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eef0f2;
    font-weight: 600;
    flex-shrink: 0;
}

.left-panel .card-body {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 10px;
}

.right-panel .card-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid #eef0f2;
    background-color: transparent;
    flex-shrink: 0;
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-card {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #eef0f2;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
}

    .action-card:hover {
        border-color: #cdd8e6;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

    .action-card.selected {
        border-color: #007bff;
        background-color: #e7f3ff;
    }

.action-item-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}

.action-icon {
    color: #007bff;
}

.action-card .fa-grip-vertical {
    color: #b0b0b0;
}

.action-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.action-card:hover .action-controls {
    opacity: 1;
}

.move-btn,
.delete-btn {
    background: none;
    border: 1px solid transparent;
    color: #6c757d;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .move-btn:hover:not(:disabled) {
        background-color: #e9ecef;
        color: #212529;
    }

    .delete-btn:hover {
        background-color: #f8d7da;
        color: #dc3545;
    }

    .move-btn:disabled {
        color: #ced4da;
        cursor: not-allowed;
    }

.mapping-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 6px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.mapping-label {
    font-weight: 500;
    color: #343a40;
    flex-basis: 40%;
}

.empty-list-text {
    color: #868e96;
    text-align: center;
    padding: 20px;
}

/* --- DİYALOG HEADER STİLLERİ --- */

.dialog-header-custom {
    padding: 1rem 1.5rem; /* Dikey ve yatay boşluğu artırıyoruz */
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon-font {
    font-size: 1.5rem; /* İkonu biraz büyütüyoruz */
    color: #007bff;
}

/* SfTextBox'ın içindeki asıl input'u hedefliyoruz */
.header-textbox .e-input {
    font-size: 1rem;
    font-weight: 500;
    height: auto; /* Yüksekliğin padding'e göre ayarlanması için */
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.function-list-item-icon {
    color: #007bff;
    font-size: 0.9rem;
}
/* Quick-add ComboBox'un AÇILAN LİSTESİNİ yukarı zorla */
.quick-add-bar .e-popup.e-combobox {
    top: auto !important;
    bottom: 100% !important;
    transform: translateY(-4px);
}