.color-customization {
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a1d24, #242830);
    border: 1px solid #333;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
    margin-bottom: 30px;
    color: #e0e0e0;
}

.color-header {
    text-align: center;
    margin-bottom: 22px;
}

.color-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
}

.color-header p {
    color: #aaa;
    font-size: 14px;
    margin: 0;
}

.current-color-preview-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.current-color-preview {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    margin: 0 auto 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.6);
    border: 4px solid #ffd60a22;
    transition: all 0.4s ease;
}

.no-color-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #2a2e38, #1e2128);
    border: 3px dashed #666;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 14px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
}

.placeholder-content {
    text-align: center;
}

.placeholder-content i {
    display: block;
    margin-bottom: 8px;
    color: #888;
}

.current-color-value {
    font-size: 15px;
    color: #bbb;
    font-weight: 500;
}

.color-grid-container {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 6px;
    margin: 0 -6px;
    scrollbar-width: thin;
}

.color-grid-container::-webkit-scrollbar {
    width: 8px;
}

.color-grid-container::-webkit-scrollbar-track {
    background: #1e2128;
    border-radius: 10px;
}

.color-grid-container::-webkit-scrollbar-thumb {
    background: #ffd60a;
    border-radius: 10px;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25px, 1fr));
    gap: 14px;
    padding: 6px;
}

.color-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.color-item:hover {
    transform: scale(1.14);
    box-shadow: 0 8px 22px rgba(0,0,0,0.6);
}

.color-item.selected {
    border-color: #ffd60a;
    box-shadow: 0 0 22px rgba(255,214,10,0.5);
    transform: scale(1.09);
}

.btn-apply-color {
    width: 100%;
    max-width: 340px;
    margin: 20px auto 0;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd60a, #ffed4e);
    color: #000;
    box-shadow: 0 6px 18px rgba(255,214,10,0.4);
    transition: all 0.3s;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-apply-color:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255,214,10,0.55);
}

#toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.toast-notification {
    background: linear-gradient(135deg, #1e2128, #2c2f36);
    color: #fff;
    padding: 16px 32px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
    border: 2px solid #ffd60a;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 300px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    overflow: hidden;
}
.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}
.toast-notification i {
    font-size: 24px;
    color: #ffd60a;
}
.toast-success i { color: #4ecdc4; }
.toast-error i { color: #ff6b6b; }
.toast-notification::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #ffd60a;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    animation: progress 3s linear forwards;
    box-shadow: 0 0 10px rgba(255, 214, 10, 0.6);
}
@keyframes progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}