.picker-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

#color-picker {
    width: 120px;
    height: 120px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

#color-picker:hover {
    transform: scale(1.05);
}

#color-picker::-webkit-color-swatch {
    border-radius: 10px;
    border: 4px solid white;
}

.output-group {
    width: 100%;
}

.input-field {
    margin-bottom: 1rem;
}

.input-field label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    display: block;
    margin-bottom: 0.5rem;
}

.copy-box {
    display: flex;
    gap: 0.5rem;
}

.copy-box input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.copy-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.copy-box .btn {
    padding: 0.75rem 1rem;
    white-space: nowrap;
}

.preview-box {
    width: 100%;
    min-height: 150px;
    border-radius: 8px;
    margin-top: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    transition: background-color 0.2s ease;
}

@media (max-width: 768px) {
    .picker-wrapper {
        flex-direction: column;
    }

    #color-picker {
        width: 100px;
        height: 100px;
    }

    .copy-box {
        flex-direction: column;
    }

    .copy-box .btn {
        width: 100%;
    }
}
