/**
 * Advanced Color Picker Styles
 * Professional color picker interface for admin settings
 */

/* Color input wrapper */
.color-input-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* Color display box */
.color-display {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-display:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Color hex input */
.color-hex-input {
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

/* Color palette container */
.color-palette-container {
    margin-top: 15px;
}

/* Color palette */
.color-palette {
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: #f8f9fa;
}

/* Color option */
.color-option {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

/* Color preview */
.color-preview-container {
    margin-top: 15px;
}

.color-preview {
    transition: background-color 0.3s ease;
}

/* Enhanced form group for color settings */
.form-group-color {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

.form-group-color .form-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #495057;
}

/* Color setting card */
.color-setting-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-setting-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Color setting title */
.color-setting-title {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.color-setting-title i {
    margin-right: 8px;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .color-input-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .color-display {
        margin-bottom: 10px;
    }

    .color-hex-input {
        margin-left: 0 !important;
        margin-top: 10px;
        width: 100%;
    }

    .btn {
        margin-top: 10px;
        width: 100%;
    }
}
