#rsg-widget {
    width: 856px;
}

#rsg-body {
    background-color: #3C424B;
    width: 100%;
    height: 100%;
    padding: 16px 32px 32px 32px;
}

#rsg-product-label-container {
    width: 100%;
    border-bottom: 1px solid #4E565D;
    margin-bottom: 24px;
}

#rsg-product-label {
    font-size: 12px;
    color: #717880;
}

#rsg-body-container {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 24px;
}

#rsg-settings {
    width: 360px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

#rsg-preset-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #272B32;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23CED9DF' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 50%;
    color: #CED9DF;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 32px;
}

.rsg-preset-select-option {
    background: #272B32;
    color: #CED9DF;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    width: 100%;
    padding: 8px 10px;
}

#rsg-drywet-input {
    display: none;
}

/* #rsg-drywet-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 24px;
    background: #646B73;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    cursor: pointer;
}

#rsg-drywet-input:hover {
    opacity: 1;
}
  
#rsg-drywet-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #272B32;
    cursor: pointer;
}
  
#rsg-drywet-input::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #272B32;
    border: none;
    border-radius: 0px;
    cursor: pointer;
} */

#rsg-drywet-label {
    color: #CED9DF;
    font-size: 16px;
    width: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#rsg-drywet-label-value-full {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

#rsg-canvas-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -8px;
}

#rsg-canvas-knob {
    width: 90%;
    height: 90%;
    touch-action: none;
}

#rsg-main-compartment {
    width: 100%;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: start;
}

@media (max-width: 900px) {
    #rsg-main-compartment {
        height: fit-content;
    }
}

#rsg-error-box {
    width: 100%;
    padding: 12px 18px;
    background-color: #272B32 !important;
    border-radius: 6px;
    display: none;
}

#rsg-error-box-title {
    color: #CED9DF;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #7E8893;
}

#rsg-error-box-message {
    color: #CED9DF;
    font-size: 14px;
    margin-bottom: 12px;
}

#rsg-error-box-reload-button {
    background-color: #16181C !important;
    width: fit-content;
    color: #FFFFFF;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    line-height: 18px !important;
    padding: 10px 18px !important;
    border: none;
    border-radius: 6px;
}

#rsg-dropzone {
    width: 100%;
    height: 100%;
    background-color: #4E565D;
    border: 1px dashed #BEBEBE !important;
    display: flex;
    border-radius: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 24px;
    transition: background 0.2s;
}

.rsg-dropzone-dragover {
    background-color: #646A6F !important;
}

#rsg-dropzone-text {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 28px;
}

#rsg-file-input-button {
    background-color: #272B32;
    width: fit-content;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    line-height: 18px;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
}

#rsg-file-input-button-text-mobile {
    display: none;
}

#rsg-file-input-button-text-desktop {
    display: inline;
}

#rsg-file-input-button:hover {
    background-color: #16181C;
}

#rsg-file-input {
    display: none;
}

#rsg-dropzone-requirements {
    color: #CED9DF;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

#rsg-dropzone-requirements-alert {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 22px;
    padding-top: 8px;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

#rsg-dropzone-requirements-alert-icon {
    color: #ffca00;
    font-size: 20px;
}

/* Uploading */

#rsg-uploading-stage {
    width: 100%;
    height: 100%;
    background-color: #4E565D;
    display: none;
    border-radius: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 24px;
}

#rsg-uploading-stage-text {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 28px;
}

#rsg-uploading-stage-file-name {
    color: #CED9DF;
    font-size: 12px;
    line-height: 18px;
}

#rsg-loader {
    width: 48px;
    margin-bottom: 6px;
    aspect-ratio: 1;
    --c: no-repeat linear-gradient(#fff 0 0);
    background: 
        var(--c) 0%   50%,
        var(--c) 50%  50%,
        var(--c) 100% 50%;
    background-size: 20% 100%;
    animation: l1 1s infinite linear;
}

@keyframes l1 {
    0%  {background-size: 20% 100%,20% 100%,20% 100%}
    33% {background-size: 20% 10% ,20% 100%,20% 100%}
    50% {background-size: 20% 100%,20% 10% ,20% 100%}
    66% {background-size: 20% 100%,20% 100%,20% 10% }
    100%{background-size: 20% 100%,20% 100%,20% 100%}
}


/* Completed */

#rsg-completed-stage {
    width: 100%;
    height: 100%;
    background-color: #4E565D;
    display: none;
    padding: 24px;
    border-radius: 6px;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 6px;
}

#rsg-completed-stage-text {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 28px;
}

#rsg-completed-stage-file-section {
    border-bottom: 1px solid #646A6F;
    padding-bottom: 12px;
    margin-bottom: 12px;
    width: 100%;
}

#rsg-completed-stage-file-line {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

#rsg-completed-stage-file-name {
    color: #CED9DF;
    font-size: 12px;
    line-height: 16px;
}

#rsg-ready-icon {
    color: #CED9DF;
    font-size: 20px;
}

#rsg-completed-stage-processing-buttons {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8px;
}

#rsg-reprocess-file-button {
    background-color: #D9D9D9;
    color: #1F2126;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    padding: 8px 12px;
    text-transform: none;
    border: none;
    border-radius: 6px;
}

#rsg-reprocess-file-button:hover {
    background-color: #BABABA;
    color: #18191b;
}

#rsg-reprocess-file-button:disabled {
    background-color: #646A6F;
    color: #3C424B;
}

#rsg-replace-file-button {
    background-color: #D9D9D9;
    color: #1F2126;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    padding: 8px 12px;
    text-transform: none;
    border: none;
    border-radius: 6px;
}

#rsg-replace-file-button:hover {
    background-color: #BABABA;
    color: #18191b;
}

#rsg-completed-stage-requirements-alert {
    color: #FFFFFF;
    font-size: 12px;
    line-height: 20px;
    padding-top: 8px;
    display: none;
    justify-content: start;
    align-items: center;
    gap: 12px;
}

#rsg-completed-stage-requirements-alert-icon {
    color: #ffca00;
    font-size: 20px;
}

#rsg-completed-stage-email-section {
    width: 100%;
}

#rsg-completed-stage-cta {
    color: #fff;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 12px;
}

#rsg-completed-stage-email-input-line {
    max-width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

#rsg-user-email-input {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 16px;
}

#rsg-task-id-input {
    display: none;
}

#rsg-email-button {
    background-color: #438EFF;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    padding: 8px 12px;
    text-transform: none;;
    border: none;
    border-radius: 6px;
}

#rsg-email-button:hover {
    background-color: #1975ff;
}

#rsg-email-button:disabled {
    background-color: #646A6F;
    color: #7E8893;
}

#rsg-email-hire-status {
    color: #CED9DF;
    font-size: 12px;
    line-height: 16px;
}

/* Transport */

#rsg-transport {
    background-color: #16181C;
    width: 100%;
}

#rsg-transport-mobile-container {
    display: none;
    width: 100%;
    height: 6px;
}

#rsg-transport-desktop-container {
    width: 100%;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#rsg-transport-navigation {
    width: 360px;
    height: 100%;
    display: flex;
    gap: 8px;
}

/* Transport Actions */

#rsg-transport-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.rsg-transport-action {
    color: #646A6F; 
    cursor: pointer;
}

.rsg-transport-action:hover {
    color: #BABABA
}

.rsg-transport-action-disabled {
    color: #646A6F;
    opacity: 0.7;
    cursor: default;
}

#rsg-transport-replay-10, #rsg-transport-forward-10 {
    font-size: 22px;
}

#rsg-transport-to-start, #rsg-transport-to-end {
    font-size: 32px;
}

#rsg-transport-play, #rsg-transport-pause {
    font-size: 38px;
}

#rsg-transport-pause {
    display: none;
}

/* Transport Progress */

#rsg-transport-progress {
    width: 100%;
    padding: 0px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.rsg-transport-progress-timestamp {
    color: #4E565D;
    font-size: 12px;
    line-height: 32px;
    width: 44px;
    text-align: center;
}

#rsg-transport-progress-line-container {
    width: 100%;
    height: 5px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 0.7;
    cursor: pointer;
    transition: 0.2s;
}

#rsg-transport-progress-line-container:hover {
    opacity: 1;
}

#rsg-transport-progress-line-played {
    background-color: #BABABA;
    width: 0%;
    height: 100%;
}

#rsg-transport-progress-line-unplayed {
    background-color: #4E565D;
    width: 100%;
    height: 100%;
}

#rsg-transport-progress-mobile-played {
    background-color: #BABABA;
    width: 0%;
    height: 100%;
}

/* Volume Panel */

#rsg-transport-volume-panel {
    color: #CED9DF;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

#rsg-transport-volume-no-sound {
    display: none;
}

#rsg-transport-volume-down {
    display: none;
}

#rsg-transport-volume-icon {
    opacity: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

#rsg-transport-volume-icon:hover {
    opacity: 1;
}

/* Volume Input */

#rsg-volume-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #535353;
    border-radius: 2px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    cursor: pointer;
}
  
#rsg-volume-input:hover {
    opacity: 1;
}
  
#rsg-volume-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFF;
    cursor: pointer;
    transition: background 0.2s;
}
  
#rsg-volume-input::-webkit-slider-thumb:hover {
    background: #FFF;
}
  
#rsg-volume-input::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFF;
    cursor: pointer;
    transition: background 0.2s;
}
  
#rsg-volume-input::-moz-range-thumb:hover {
    background: #FFF;
}
  
#rsg-volume-input::-ms-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFF;
    cursor: pointer;
    transition: background 0.2s;
}
  
#rsg-volume-input::-ms-track {
    width: 100%;
    height: 4px;
    background: transparent;
    border-color: transparent;
    color: transparent;
    cursor: pointer;
}
  
#rsg-volume-input::-ms-fill-lower {
    background: #535353;
    border-radius: 2px;
}
  
#rsg-volume-input::-ms-fill-upper {
    background: #535353;
    border-radius: 2px;
}

@media (max-width: 900px) {
    #rsg-widget {
        width: 100%;
    }
    #rsg-body {
        display: flex;
        flex-direction: column-reverse;
    }
    #rsg-settings {
        width: 100%;
    }
    #rsg-dropzone {
        border: none !important;
    }
    #rsg-dropzone-text {
        display: none;
    }
    #rsg-file-input-button {
        font-size: 16px;
        line-height: 18px;
        padding: 14px 24px;
    }
    #rsg-file-input-button-text-mobile {
        display: inline;
    }
    #rsg-file-input-button-text-desktop {
        display: none;
    }
    #rsg-dropzone-requirements {
        padding: 8px 18px;
        font-size: 14px;
        line-height: 22px;
    }
    #rsg-transport-desktop {
        padding-top: 48px;
        padding-bottom: 48px;
        justify-content: center;
    }
    #rsg-transport-replay-10 {
        display: none;
    }
    #rsg-transport-forward-10 {
        display: none;
    }
    #rsg-transport-progress {
        display: none;
    }
    #rsg-transport-volume-panel {
        display: none;
    }
    #rsg-transport-play {
        font-size: 72px;
    }
    #rsg-transport-pause {
        font-size: 72px;
    }
    #rsg-transport-to-start {
        font-size: 56px;
    }
    #rsg-transport-to-end {
        font-size: 56px;
    }
    #rsg-transport-mobile-container {
        display: block;
    }
    #rsg-transport-desktop-container {
        justify-content: center;
    }
    #rsg-completed-stage-processing-buttons {
        flex-wrap: wrap;
    }
    #rsg-reprocess-file-button {
        width: 100%;
    }
    #rsg-replace-file-button {
        width: 100%;
    }
    #rsg-completed-stage-email-input-line {
        flex-wrap: wrap;
    }
    #rsg-user-email-input {
        width: 100%;
    }
    #rsg-email-button {
        width: 100%;
    }
}