/* ===== BASE STYLES ===== */
body {
    margin: 0;
    display: flex;
    overflow-x: hidden;
    background: #f8f9fa;
    font-size: 1rem;
}

a {
    text-decoration: none !important;
}

/* ===== LAYOUT STRUCTURE ===== */
/* Container Overrides */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
}

.full-width-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Sidebar */
.sidebar {
    width: 70px;
    height: 100vh;
    background: #011722;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    border-right: 1px solid #011722;
    z-index: 1039;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    overflow: hidden;
}

.sidebar.expanded {
    width: 250px;
}
.sidebar .bi {
    font-size: 21px;
     transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}
.sidebar.expanded .bi {
 font-size: 18px;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.sidebar:hover {
   /* width: 250px; */
}

/* Content Wrapper */
.content-wrapper,
.footer-player {
    margin-left: 70px;
    transition: margin-left 0.3s ease-in-out;
    width: calc(100% - 70px);
}

.sidebar.expanded ~ .content-wrapper {
    margin-left: 250px;
}

/* ===== COMPONENTS ===== */
/* Topbar */
.topbar {
    background-color: #fff;
    padding: 6px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-flow: nowrap;
}

.topbar .btn:focus {
    box-shadow: none;
}

/* Avatar */
.avatar {
    border-radius:25%;
    width: 32px;
    height: 32px;
}

.sidebar .avatar {
    width: 50px;
    height: 50px;
    margin: 10px auto;
    display: block;
    border: 2px solid #ffffff08;
}

/* Sidebar Links */
.sidebar a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #b3babd;
    font-size: 16px;
    transition: 0.3s;
}

.sidebar a .icon {
    font-size: 28px;
    width: 30px;
    text-align: center;
}

.sidebar .text {
    display: none;
    margin-left: 18px;
}

.sidebar.expanded .text
/*.sidebar:hover .text*/ {
    display: inline-block;
}

.sidebar a:hover {
    background: #ffffff08;
     color: #fff;
}

.sidebar .active {
    background: #ffffff08;;
    color: #0acc2d;

}
.sidebar.expanded .active  .text{
    color: #fff;

}

/* Tabs */
.tab-wrapper {
    display: flex;
    justify-content: flex-start;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-container::-webkit-scrollbar {
    display: none;
}

.tab-container .nav-item {
    flex: none;
}

.tab-container .nav-link {
    text-align: center;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    position: relative;
    border: none;
    background: none;
    transition: color 0.3s ease-in-out;
}

.tab-container .nav-link:focus,
.tab-container .nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}

.tab-container .nav-link.active {
    color: #007bff;
    font-weight: 600;
}

.nav-tabs {
    border-bottom: 0;
}

.tab-content {
    max-height: 80vh;
    overflow-y: auto;
    padding: 15px;
    background: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    border-radius: 5px;
    font-size: .85em!important;
    letter-spacing: 0.6px;
    cursor: pointer;
    border: 2px solid transparent;
    outline: none;
    padding: 5px 20px;
    transition: none;
    overflow: hidden;
    box-shadow: none !important;
}

.btn-sm {
    font-weight: 500;
    font-size: .75em;
    padding: 4px 10px!important;
}

/* Button Variants */
.btn-primary {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-success {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

.btn-light {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #ddd;
}

.btn-outline-primary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline-secondary {
    background-color: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
}

.btn-outline-success {
    background-color: transparent;
    color: #28a745;
    border: 2px solid #28a745;
}

.btn-outline-danger {
    background-color: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

/* Button States */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
}

.btn-success:hover {
    background-color: #1e7e34;
    border-color: #1e7e34;
}

.btn-danger:hover {
    background-color: #bd2130;
    border-color: #bd2130;
}

.btn-light:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.btn-outline-success:hover {
    background-color: #28a745;
    color: white;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

/* Dropdowns */
.dropdown-menu {
    border-radius: 0.25rem;
    border: none;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    padding: 10px;
    min-width: 200px;
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.dropdown-item {
    padding: 8px 12px;
    font-size: 16px;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(135deg, #f0f0f0, #e6e6e6);
    color: #111;
}

.dropdown-item.active {
    background: #007bff;
    color: #fff;
}

/* Forms */
.form-control {
    font-size: .9em;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.2s, box-shadow 0.2s;
    padding: .275rem .75rem;
}

.form-control:hover {
    border-color: #007bff;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
    outline: none;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:disabled {
    background: #f1f1f1;
    color: #777;
}

.form-select {
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

.form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #aaa;
    transition: background 0.2s, border 0.2s;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

input[type="file"].form-control {
    padding: 0 !important;
}
.form-group {
    margin-bottom:.5rem;
}
form label {
    margin-bottom:.25rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

h1 {
    font-size: 1.75rem;
    color: #0d6efd;
}

h2 {
    font-size: 1.5rem;
    color: #212529;
    border-bottom: 2px solid rgba(13, 110, 253, 0.2);
    padding-bottom: 6px;
    display: inline-block;
}

h3 {
    font-size: 1.3rem;
    color: #495057;
}

h4 {
    font-size: 1.2rem;
    color: #6c757d;
}

h5 {
    font-size: 1.1rem;
    color: #adb5bd;
}

h6 {
    font-size: 1rem;
    color: #ced4da;
    text-transform: uppercase;
    font-weight: 500;
}

/* Modals */
.modal-content {
    border-radius: 5px;
    border: none;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.modal.fade .modal-dialog {
    transform: translateY(-30px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

.modal-header, .modal-footer {
    background: #f6f6f6;
    padding: 10px 15px;
    font-size: 18px;
}

.modal-title {
    font-weight: 600;
    color: #333;
    margin: auto 0;
}

.btn-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bootstrap-icons';
}

.btn-close::before {
    content: '\f62a';
    font-family: 'bootstrap-icons';
    font-size: 18px;
    display: inline-block;
}

.btn-close:hover {
    transform: scale(1.2);
    color: #333;
}

.btn-close:focus,
.btn-close:hover,
.btn-close:active,
.btn-close:focus-visible {
    box-shadow: none;
    border: none;
    outline: none;
}

.btn:focus,
.btn:hover,
.btn:active,
.btn:focus-visible {
    box-shadow: none;
}

/* Status Badges */
.status {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 0.25rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
    gap: 4px;
    min-width: auto;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    color: #111;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    text-transform: uppercase;
}



/* Status Variants */
.status-draft {
    background-color: #f3f4f6;
    color: #1f2937;
}
.status-draft a {
    color: #1f2937;
}
.status-draft a:hover {
    color: #007bff;!important;
}

.status-in-review {
    background-color: #fef3c7;
    color: #92400e;
}

.status-approved {
    background-color: #d7f9fc;
    color: #000036;
}

.status-submitted {
    background-color: #dbeafe;
    color: #1e3a8a;
}

.status-delivered {
    background-color: #e9ffdb;
    color: #006400;
}

.status-rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-taken-down {
    background-color: #e5e7eb;
    color: #374151;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: #fff !important;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #0d6efd;
}

.breadcrumb-item + .breadcrumb-item::before {
    font-family: 'Bootstrap-icons';
    content: '\f280';
    font-weight: normal;
    font-size: 0.9rem;
    color: #adb5bd;
    vertical-align: middle;
}

/* Audio Player */
.player {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
}

.player audio {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    outline: none;
}

.player audio::-webkit-media-controls-panel {
    background-color: #fff;
    border-radius: 8px;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: pulse-wave 1600ms cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
    filter: blur(1px);
}

.ripple-light {
    background: rgba(255, 255, 255, 0.4);
}

.ripple-dark {
    background: rgba(0, 0, 0, 0.3);
}

@keyframes pulse-wave {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* ===== UTILITY CLASSES ===== */
.nav-center {
    width: 33%;
}

.card-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.catalog-title {
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.track-data {
    max-width: calc(100% - 362px);
}

.track-action {
    min-width: 360px;
}

.modal-xl {
    max-width: 760px;
    max-height: 92vh;
}

 #artworkimg, #artworkimg2 {
     width: 150px;
     height: 150px;
        margin-right: auto;
         margin-left: auto;
        border-radius: 0.25rem;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
        }
.t_media:hover {
     font-weight: 600;
     color: #CC0000;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 425px) {
    body {
        font-size: .9rem !important;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 250px;
        left: -250px;
        position: fixed;
    }

    .sidebar.open {
        left: 0;
    }

    .sidebar.open .text {
        display: inline-block;
    }

    .content-wrapper,
    .footer-player {
        margin-left: 0 !important;
        width: 100%;
    }
    .sidebar .bi { font-size: 16px; }

    .footer-player {
        height: 70px !important;
        padding-bottom: 20px !important;
    }

    .sidebar.open ~ .content-wrapper {
        margin-left: 250px;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1028;
    }

    .overlay.show {
        display: block;
    }

    .nav-center {
        display: none;
    }

    .user-info {
        display: none;
    }

    .tab-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-right: 0;
    }

    #artworkimg, #artworkimg2 {
        width: 85% !important;
        height:auto!important;
        max-width: 400px;
    }

    .container {
        padding-right: 8px;
        padding-left: 8px;
    }

    .tab-content {
        max-height: 60vh;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .track-data {
        max-width: 100%;
    }

    .track-action {
        min-width: 100%;
    }
}