/**
 * Color Combo Styles
 */

.color-combo-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.color-combo-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.35rem;
    padding: 0.375rem 0.375rem;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-combo-display:hover {
    border-color: #adb5bd;
}

.color-combo-display:focus-within {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.color-combo-square {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.color-combo-input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 0.375rem !important;
}

.color-combo-input:focus {
    outline: none;
    box-shadow: none;
}

.color-combo-toggle {
    padding: 0.375rem 0.75rem;
    flex-shrink: 0;
}

.color-combo-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.35rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0.75rem;
    z-index: 1000;
    min-width: 250px;
}

.color-combo-dropdown.d-none {
    display: none !important;
}

.color-combo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.color-combo-option {
    background: none;
    border: 2px solid transparent;
    padding: 0.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: flex-start;
}

.color-combo-option-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    flex: 1;
    text-align: left;
}

.color-combo-option:hover {
    border-color: #495057;
    background-color: #f8f9fa;
}

.color-combo-option:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.color-combo-option-square {
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    flex-shrink: 0;
}











