/* =========================================================
   STUDIOFLOW — DESKTOP STUDIO
   Desktop layout only
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #030405;
    color: #f4f4f4;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   MAIN APP
========================================================= */

.studio-app {
    width: 100%;
    min-width: 1200px;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 48% 30%,
            rgba(255, 190, 0, 0.025),
            transparent 38%
        ),
        #030405;
}


/* =========================================================
   HEADER
========================================================= */

.studio-header {
    height: 72px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 26px;
    border-bottom: 1px solid #15191c;
    background: #030405;
}


/* =========================================================
   LOGO
========================================================= */

.studio-logo {
    width: 190px;
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.studio-logo-icon {
    width: 34px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffbf00;
    font-size: 29px;
    font-weight: bold;
}

.studio-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.studio-logo-text strong {
    font-size: 20px;
    letter-spacing: 0.5px;
    color: #f3f3f3;
}

.studio-logo-text span {
    font-size: 7px;
    letter-spacing: 0.9px;
    color: #d8d8d8;
}


/* =========================================================
   PROJECT SELECTOR
========================================================= */

.project-selector {
    height: 43px;
    width: 335px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 0 15px;
    border: 1px solid #24292d;
    border-radius: 7px;
    background: #060708;
}

.project-name {
    font-size: 15px;
    color: #f2f2f2;
    white-space: nowrap;
}

.project-status {
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(180, 130, 0, 0.18);
    color: #ffbd00;
    font-size: 12px;
    white-space: nowrap;
}

.project-dropdown {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #eee;
    font-size: 14px;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-icon {
    position: relative;
    width: 35px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #f3f3f3;
    font-size: 27px;
}

.notification-dot {
    position: absolute;
    top: 4px;
    right: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffba00;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 165px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #4d4d4d;
    background:
        radial-gradient(
            circle at 50% 35%,
            #777 0 20%,
            #202020 21% 100%
        );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.user-details strong {
    font-size: 14px;
    color: #f1f1f1;
}

.user-details span {
    font-size: 12px;
    color: #969696;
}

.user-dropdown {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #eee;
}


/* =========================================================
   BODY
========================================================= */

.studio-body {
    width: 100%;
    display: grid;
    grid-template-columns: 188px minmax(700px, 1fr) 313px;
    gap: 11px;
    padding: 0 12px 14px;
}


/* =========================================================
   LEFT SIDEBAR
========================================================= */

.studio-sidebar {
    min-height: calc(100vh - 72px);
    border-right: 1px solid #171b1e;
    padding: 0 10px 10px 0;
    display: flex;
    flex-direction: column;
}

.studio-navigation {
    padding-top: 0;
}

.nav-item {
    height: 53px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 13px;
    border-radius: 8px;
    color: #ededed;
    font-size: 14px;
    margin-bottom: 3px;
}

.nav-item:hover {
    background: #111416;
}

.nav-item.active {
    background: linear-gradient(
        90deg,
        rgba(148, 105, 0, 0.48),
        rgba(65, 48, 0, 0.25)
    );
    color: #ffc000;
}

.nav-icon {
    width: 20px;
    text-align: center;
    font-size: 21px;
    color: #ededed;
}

.nav-item.active .nav-icon {
    color: #ffc000;
}

.sidebar-divider {
    height: 1px;
    background: #181c1f;
    margin: 13px 9px;
}


/* =========================================================
   PREMIUM CARD
========================================================= */

.premium-card {
    margin: auto 10px 10px 10px;
    min-height: 191px;
    padding: 20px 12px;
    text-align: center;
    border: 1px solid #272c30;
    border-radius: 7px;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(255, 194, 0, 0.08),
            transparent 60%
        ),
        #080a0b;
}

.premium-icon {
    color: #ffc000;
    font-size: 31px;
    margin-bottom: 7px;
}

.premium-card h3 {
    color: #ffc000;
    font-size: 15px;
    margin-bottom: 8px;
}

.premium-card p {
    color: #eee;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 17px;
}

.premium-button {
    width: 100%;
    height: 35px;
    border: 0;
    border-radius: 5px;
    background: #ffbd00;
    color: #050505;
    font-size: 12px;
    font-weight: bold;
}


/* =========================================================
   DARK MODE
========================================================= */

.dark-mode-row {
    height: 55px;
    margin: 0 8px;
    border-top: 1px solid #181c1f;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #e9e9e9;
}

.dark-mode-icon {
    font-size: 23px;
}

.dark-mode-toggle {
    width: 36px;
    height: 20px;
    margin-left: auto;
    padding: 2px;
    border: 0;
    border-radius: 20px;
    background: #f5b800;
}

.dark-mode-toggle span {
    display: block;
    width: 16px;
    height: 16px;
    margin-left: auto;
    border-radius: 50%;
    background: #171717;
}


/* =========================================================
   LOGOUT
========================================================= */

.logout-button {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    margin: 0 0 4px;
    color: #f2f2f2;
}

.logout-button span:first-child {
    font-size: 22px;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.studio-main {
    min-width: 0;
    padding-top: 0;
}


/* =========================================================
   MINI DAW CARD
========================================================= */

.mini-daw-card {
    margin-top: 0;
    border: 1px solid #1b2024;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #0b0f11,
            #070a0c
        );
}


/* =========================================================
   DAW HEADER
========================================================= */

.daw-header {
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 17px;
    border-bottom: 1px solid #1c2125;
}

.daw-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.daw-title-icon {
    color: #ffc000;
    font-size: 23px;
}

.daw-title h2 {
    font-size: 17px;
    font-weight: 600;
}


/* =========================================================
   DAW CONTROLS
========================================================= */

.daw-controls {
    height: 82px;
    display: flex;
    align-items: center;
    padding: 10px 17px;
    gap: 27px;
    border-bottom: 1px solid #1a1f23;
}

.daw-controls label {
    display: block;
    margin-bottom: 7px;
    color: #f4f4f4;
    font-size: 13px;
}

.tempo-control {
    width: 177px;
}

.tempo-box {
    height: 38px;
    display: flex;
    align-items: center;
    border: 1px solid #1e2428;
    border-radius: 6px;
    overflow: hidden;
}

.tempo-box button {
    width: 35px;
    height: 100%;
    border: 0;
    border-right: 1px solid #1b2024;
    background: #080a0c;
    color: #eee;
    font-size: 21px;
}

.tempo-box button:last-child {
    border-right: 0;
    border-left: 1px solid #1b2024;
}

.tempo-box span {
    width: 61px;
    text-align: center;
    font-size: 16px;
}

.tempo-box small {
    color: #7f8589;
    font-size: 11px;
}


.metro-control,
.add-track-control {
    width: 61px;
}

.metro-button,
.add-track-button {
    width: 61px;
    height: 38px;
    border: 1px solid #1d2327;
    border-radius: 6px;
    background: #080a0c;
    color: #f2f2f2;
    font-size: 22px;
}

.add-track-button {
    font-size: 25px;
}


/* =========================================================
   PLAYBACK CONTROLS
========================================================= */

.playback-controls {
    height: 55px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 5px;
    padding-left: 18px;
    border-left: 1px solid #202529;
}

.playback-controls button {
    width: 56px;
    height: 50px;
    border: 1px solid #1e2428;
    border-radius: 6px;
    background: #080a0c;
    color: #f4f4f4;
    font-size: 21px;
}

.playback-controls .record-button {
    color: #fff;
    background: #111316;
    font-size: 25px;
}

.playback-controls .record-button::first-letter {
    color: #ff1010;
}


/* =========================================================
   EDIT TOOLS
========================================================= */

.edit-tools {
    height: 58px;
    display: flex;
    margin-left: auto;
    border-radius: 5px;
    overflow: hidden;
    background: #030405;
}

.edit-tools button {
    width: 62px;
    border: 0;
    border-right: 1px solid #1c2023;
    background: #030405;
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.edit-tools button:last-child {
    border-right: 0;
}

.edit-tools button span {
    font-size: 19px;
}

.edit-tools button small {
    font-size: 11px;
}


/* =========================================================
   TIMELINE
========================================================= */

.daw-timeline {
    position: relative;
    min-height: 365px;
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ) 0 0 / 14px 14px,
        #050708;
}

.timeline-ruler {
    height: 40px;
    margin-left: 211px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #171b1e;
    color: #e4e4e4;
    font-size: 12px;
}

.timeline-playhead {
    position: absolute;
    z-index: 10;
    top: 40px;
    bottom: 0;
    left: 49%;
    width: 2px;
    background: #ffbd00;
}

.timeline-playhead::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -6px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 11px solid #ffbd00;
}


/* =========================================================
   TRACKS
========================================================= */

.tracks-area {
    position: relative;
}

.audio-track {
    height: 79px;
    display: grid;
    grid-template-columns: 210px 1fr;
    border-bottom: 1px solid #111619;
}

.track-info {
    position: relative;
    padding: 11px 12px 5px 18px;
    background: #080b0d;
    border-right: 1px solid #181d20;
}

.track-number {
    display: inline-block;
    width: 20px;
    color: #ededed;
    font-size: 13px;
}

.track-name {
    color: #eee;
    font-size: 14px;
}

.track-controls {
    position: absolute;
    left: 18px;
    right: 12px;
    bottom: 9px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.track-controls button {
    width: 26px;
    height: 26px;
    border: 1px solid #24292c;
    border-radius: 4px;
    background: #080a0c;
    color: #eee;
    font-size: 12px;
}

.volume-control {
    width: 70px;
}

.volume-control input {
    width: 100%;
    accent-color: #ffb900;
}

.track-more {
    margin-left: auto;
}


/* =========================================================
   WAVEFORMS
========================================================= */

.waveform-container {
    position: relative;
    overflow: hidden;
    padding: 4px 10px 4px 8px;
}

.waveform {
    width: 100%;
    height: 100%;
    min-height: 67px;
    border-radius: 5px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.08) 0,
            rgba(255,255,255,0.08) 1px,
            transparent 1px,
            transparent 8px
        );
}

.audio-track[data-track-type="beat"] .waveform {
    background-color: #4c0ca4;
    background-image:
        linear-gradient(
            90deg,
            transparent 0,
            rgba(255,255,255,0.15) 2%,
            transparent 4%
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.16) 0,
            rgba(255,255,255,0.16) 2px,
            transparent 2px,
            transparent 8px
        );
}

.audio-track[data-track-type="vocal"] .waveform {
    background-color: #07530c;
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.11) 0,
            rgba(255,255,255,0.11) 2px,
            transparent 2px,
            transparent 9px
        );
}

.audio-track[data-track-type="vocal-doubles"] .waveform {
    background-color: transparent;
    display: flex;
    align-items: center;
}

.audio-track[data-track-type="vocal-doubles"]
.waveform::before,
.audio-track[data-track-type="vocal-doubles"]
.waveform::after {
    content: "";
    height: 61px;
    width: 160px;
    border-radius: 5px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(40,120,255,0.8) 0,
            rgba(40,120,255,0.8) 2px,
            rgba(0,70,180,0.9) 3px,
            rgba(0,70,180,0.9) 7px
        );
}

.audio-track[data-track-type="vocal-doubles"]
.waveform::before {
    margin-left: 75px;
}

.audio-track[data-track-type="vocal-doubles"]
.waveform::after {
    margin-left: 17px;
}


/* =========================================================
   ADD TRACK
========================================================= */

.timeline-add-track {
    position: relative;
    z-index: 2;
    width: 160px;
    height: 41px;
    margin: 15px 0 15px 21px;
    border: 1px solid #20262a;
    border-radius: 6px;
    background: #080a0c;
    color: #eee;
    font-size: 13px;
}

.timeline-add-track span {
    margin-right: 7px;
    font-size: 18px;
}


/* =========================================================
   IMPORT AREA
========================================================= */

.audio-import-area {
    position: absolute;
    left: 228px;
    right: 20px;
    bottom: 15px;
    height: 80px;
    border: 1px dashed #333a3f;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #858b8f;
    background: rgba(255,255,255,0.01);
}

.audio-import-area input {
    display: none;
}

.import-icon {
    font-size: 25px;
    color: #858b8f;
}


/* =========================================================
   DAW FOOTER
========================================================= */

.daw-footer {
    min-height: 68px;
    display: flex;
    align-items: center;
    padding: 9px 18px;
    border-top: 1px solid #171c20;
}

.save-draft-button {
    height: 43px;
    padding: 0 25px;
    border: 1px solid #252b2f;
    border-radius: 6px;
    background: #090b0d;
    color: #eee;
}

.daw-send-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.send-producer-button,
.send-artist-button {
    height: 43px;
    min-width: 210px;
    border-radius: 6px;
    font-weight: 600;
}

.send-producer-button {
    border: 1px solid #ffb900;
    background: transparent;
    color: #ffbd00;
}

.send-artist-button {
    border: 0;
    background: #ffb900;
    color: #090909;
}


/* =========================================================
   PAYMENT CARD
========================================================= */

.payment-card {
    margin-top: 11px;
    border: 1px solid #1b2024;
    border-radius: 8px;
    background: #080b0d;
    overflow: hidden;
}

.payment-header {
    height: 51px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 17px;
    border-bottom: 1px solid #1b2024;
}

.payment-header-icon {
    color: #ffc000;
    font-size: 22px;
}

.payment-header h2 {
    font-size: 17px;
    font-weight: 600;
}


/* =========================================================
   PAYMENT CONTENT
========================================================= */

.payment-content {
    min-height: 210px;
    display: grid;
    grid-template-columns: 175px 1fr;
    gap: 15px;
    padding: 14px;
}

.payment-summary {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.price-card,
.secure-payment-card {
    border: 1px solid #22282c;
    border-radius: 6px;
    background: #050708;
}

.price-card {
    min-height: 80px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-card span {
    color: #e9e9e9;
    font-size: 12px;
}

.price-card strong {
    color: #ffc000;
    font-size: 22px;
    font-weight: 500;
}

.secure-payment-card {
    padding: 12px 10px;
    min-height: 113px;
}

.secure-payment-card strong {
    color: #ffc000;
    font-size: 11px;
}

.secure-payment-card p {
    color: #bfc2c4;
    font-size: 10px;
    line-height: 1.5;
    margin: 9px 0 4px;
}

.secure-payment-card a {
    color: #72bd47;
    font-size: 10px;
    text-decoration: underline;
}


/* =========================================================
   APPROVAL PROGRESS
========================================================= */

.approval-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 3px;
}

.approval-progress::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(
        90deg,
        #18a93a 0%,
        #18a93a 52%,
        #dca900 52%,
        #dca900 76%,
        #454a4e 76%
    );
}

.approval-step {
    position: relative;
    z-index: 2;
    padding: 0 13px;
    text-align: center;
    border-right: 1px solid #1c2125;
}

.approval-step:last-child {
    border-right: 0;
}

.step-marker {
    width: 30px;
    height: 30px;
    margin: 0 auto 11px;
    border: 2px solid #555b60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080b0d;
    color: #eee;
    font-size: 14px;
}

.approval-step.completed .step-marker {
    background: #25a63c;
    border-color: #25a63c;
    color: white;
}

.approval-step.current .s