@scope (.GSAMPLE_EDITOR) {

.gsampleeditor-container {
    --primary-color: #d5a865;
    --secondary-color: #2ecc71;
    --background-color: #1e1e1e;
    --panel-color: #2a2a2a;
    --text-color: #d5a865;
    --selection-color: rgba(52, 152, 219, 0.3);
    --highlight-color: #e74c3c;
}

.gsampleeditor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.drop-zone {
    border: 3px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    background-color: var(--panel-color);
    transition: border-color 0.3s ease;
}

.drop-zone.active {
    border-color: var(--primary-color);
}

.file-input {
    display: none;
}

.browse-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.browse-button:hover {
    background-color: #2980b9;
}

.waveform-container {
    background-color: var(--panel-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
}

#waveform {
    width: 100%;
    height: 200px;
    background-color: #1e1e1e;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
}

#timeline {
    width: 100%;
    height: 30px;
    background-color: #1e1e1e;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-top: 5px;
    cursor: pointer;
}

.control-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    background-color: var(--panel-color);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.control-group {
    display: flex;
    gap: 5px;
    align-items: center;
}

.control-group:not(:last-child) {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid #876c44;
}

#SampleEditorBPM
{
    font-size  :16px;
    font-family : monospace;
}

/*
button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

button:hover {
    background-color: #2980b9;
}
*/

button:disabled {
    /*background-color: #95a5a6;*/
    color: #666;
    cursor: not-allowed;
}

button svg {
    width: 16px;
    height: 16px;
}

.zoom-controls button {
    padding: 8px 10px;
}

/*
.effect-controls button {
    background-color: var(--secondary-color);
}

.effect-controls button:hover {
    background-color: #27ae60;
}

.playback-controls button {
    background-color: var(--primary-color);
}
    */

.edit-controls button.destructive {
    background-color: var(--highlight-color);
}

.edit-controls button.destructive:hover {
    background-color: #c0392b;
}

.status-bar {
    background-color: var(--panel-color);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 18px;
    color: #7f8c8d;
}

.spinner-animation {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--highlight-color);
    border-radius: 50%;
    cursor: ew-resize;
    z-index: 10;
}

.fade-line {
    position: absolute;
    height: 100%;
    border-left: 2px dashed var(--highlight-color);
    z-index: 9;
}

.time-display {
    font-family: monospace;
    font-size: 14px;
    color: #7f8c8d;
}

.selection-info {
    font-family: monospace;
    font-size: 14px;
    color: var(--primary-color);
}

.toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hidden {
    display: none;
}

.fade-preview {
    position: absolute;
    pointer-events: none;
    z-index: 8;
}


.sample_editor_toolbarbtn
{
  /*margin-top: 10px ;
  margin-bottom: 10px ;
  */
  margin-right: 5px;
  width: 50px;
  height: 36px;
  text-align: center;
  border-radius: 10px;
}

}