.c-field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: 120px; }
.c-label { font-size: 11px; font-weight: 500; color: var(--gray-600); }
.c-input {
    padding: 8px 10px; font-size: 13px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--gray-900);
    outline: none; width: 100%;
    transition: border-color 0.15s;
    font-family: 'DM Sans', sans-serif;
}
.c-input:focus { border-color: var(--red-main); }

.c-error {
    font-size: 12px;
    color: var(--red-main);
    min-height: 18px;
    margin-top: 2px;
    font-family: 'DM Sans', sans-serif;
}

select.c-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;

    background-position: right 14px center;

    background-size: 16px;
    padding-right: 40px;

    cursor: pointer;
}

.assign-section {
    padding: 14px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
}

.assign-section:hover {
    background: var(--gray-100);
    border-color: var(--red-main);
}

.assign-section-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    font-family: 'Sora', sans-serif;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.assign-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.assign-placeholder {
    color: var(--gray-400);
    font-size: 13px;
    font-style: italic;
    padding: 8px 0;
}

.assign-selected-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    font-size: 13px;
    color: var(--gray-900);
}

.assign-remove-btn {
    background: none;
    border: none;
    color: var(--red-main);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.15s;
}

.assign-remove-btn:hover {
    background: var(--red-pale);
}

/* Responsive untuk tablet dan mobile */
@media (max-width: 768px) {
    .c-field {
        flex: 1 1 calc(50% - 5px);
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .c-field {
        flex: 1 1 100%;
        min-width: auto;
    }
}
