#distrodirect-form-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

#distrodirect-selection-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

#distrodirect-selection-form label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: block;
    margin-bottom: 0px;
    border: transparent;
}

/* Consistent styling for all form inputs */
#distrodirect-selection-form input[type="text"],
#distrodirect-selection-form input[type="number"],
#distrodirect-selection-form input[type="date"],
#distrodirect-selection-form select,
#distrodirect-selection-form textarea,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    height: auto;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Consistent focus states */
#distrodirect-selection-form input:focus,
#distrodirect-selection-form select:focus,
#distrodirect-selection-form textarea:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    outline: none;
    border-color: #1E73BE;
    box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.2);
}

/* Select2 specific adjustments to match other inputs */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 45px;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 5px 8px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    padding-left: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 8px;
}

/* Consistent placeholder styling */
#distrodirect-selection-form input::placeholder,
#distrodirect-selection-form select::placeholder,
#distrodirect-selection-form textarea::placeholder {
    color: #666;
    opacity: 0.7;
}

/* Ensure disabled fields maintain consistent appearance */
#distrodirect-selection-form input:disabled,
#distrodirect-selection-form select:disabled,
#distrodirect-selection-form textarea:disabled,
.select2-container--default.select2-container--disabled .select2-selection--single,
.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Ensure dropdown options are consistent */
#distrodirect-selection-form select option {
    background-color: #fff;
    color: #333;
    padding: 8px;
}

/* Select2 dropdown consistency */
.select2-dropdown {
    border-color: #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.select2-container--default .select2-results__option {
    padding: 8px 12px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1E73BE;
}

/* Radio button styling */
.radio-group {
    display: flex;
    gap: 20px;
    margin: 10px 0;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Radio button container */
.radio-group > div {
    display: flex;
    align-items: center;
}

/* Radio button and label styling */
#distrodirect-selection-form input[type="radio"] + label {
    display: inline-block;
    padding-left: 25px;
    position: relative;
    cursor: pointer;
    margin-right: 20px;
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }

    /* Adjust spacing for stacked radio buttons */
    #distrodirect-selection-form input[type="radio"] + label {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    /* Ensure proper alignment of radio buttons on mobile */
    .radio-group > div {
        width: 100%;
    }

    /* Add more spacing between groups on mobile */
    .songwriter-credits,
    .tiktok-preview,
    .isrc-section,
    .release-type-section {
        margin-bottom: 25px;
    }
}

/* Existing radio button styles - Only for DistroApi forms */
#distrodirect-selection-form input[type="radio"] {
    position: absolute;
    opacity: 0;
}

#distrodirect-selection-form input[type="radio"] + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #1E73BE;
    border-radius: 50%;
}

#distrodirect-selection-form input[type="radio"]:checked + label:after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #1E73BE;
    border-radius: 50%;
}

/* Section specific styling */
.songwriter-credits,
.tiktok-preview,
.isrc-section,
.release-type-section {
    margin: 20px 0;
}

/* Info link styling */
.cover-info-link,
.isrc-info-link {
    color: #1E73BE;
    text-decoration: none;
    margin-left: 5px;
}

.cover-info-link:hover,
.isrc-info-link:hover {
    text-decoration: underline;
}

/* Submit button styling */
#submit-release {
    background-color: #1E73BE;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

#submit-release:hover {
    background-color: #1E73BE;
}

/* Style adjustments for conditional fields */
#itunes-pre-release {
    margin-top: 15px;
}

#distrodirect-selection-form label {
    display: flex;
    align-items: center; /* Align items vertically centered */
    font-weight: bold;
    font-size: 16px;
}

#artwork-preview img {
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

#artwork-preview img:hover {
    opacity: 0.8;
}

#album-artwork {
    display: none;  /* Hide the actual file input */
}

/* Add these styles */
.select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 3px 5px;
    margin: 2px;
}

/* Add these styles to your existing CSS file */

.review-section {
    margin-bottom: 30px;
    padding: 20px;
    background: transparent;
    border-radius: 5px;
}

.review-section h3 {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.review-item {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.4;
}

.review-label {
    font-weight: bold;
    width: 180px;
    color: #666;
}

.review-value {
    flex: 1;
}

.review-artwork {
    margin-top: 20px;
    text-align: center;
}

.review-artwork img {
    max-width: 300px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.review-track-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
}

.track-number {
    font-size: 18px;
    font-weight: bold;
    margin-right: 20px;
    color: #666;
    width: 30px;
}

.track-details {
    flex: 1;
}

.track-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.track-meta {
    font-size: 0.9em;
    color: #666;
}

.track-meta span {
    margin-right: 15px;
}

.review-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.edit-btn {
    padding: 10px 20px;
    background: #666;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn {
    padding: 10px 30px;
    background: #1E73BE;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.edit-btn:hover {
    background: #555;
}

.submit-btn:hover {
    background: #1E73BE;
}

.submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Add these styles to your existing CSS */

.tracks-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.tracks-table th,
.tracks-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.tracks-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.tracks-table tr:hover {
    background-color: #f9f9f9;
}

.profile-section {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    padding: 20px;
    background: transparent;
    border: transparent;
    border-radius: 4px;
    align-items: stretch; /* Center horizontally */
    justify-content: center; /* Center vertically */

}

.profile-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.fetch-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 15px;
}

.confirm-btn {
    background: #1E73BE;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
}

.fetch-btn:hover {
    background: #357abd;
}

.confirm-btn:hover {
    background: #1E73BE;
}

/* Back button styling */
.back-btn {
    background-color: #666;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: #555;
}

/* Button container for multiple buttons */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.form-status {
    background-color: #e7f3ff;
    border: 1px solid #1E73BE;
    color: #1E73BE;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

.field-locked {
    background-color: #f5f5f5 !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.field-locked + .select2-container {
    opacity: 0.7;
}

.field-locked + .select2-container .select2-selection {
    background-color: #f5f5f5 !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
}

/* Add a small lock icon to show these fields are locked */
.field-locked {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px !important;
}

.instrumental-option {
    margin-bottom: 20px;
}

.instrumental-option .radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

#track-language-container {
    margin-top: 20px;
}

/* Add these styles for the new track list table */
.review-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0px;
}

.review-section th, 
.review-section td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.review-section th {
    background-color: transparent;
    font-weight: bold;
}

.review-section .btn-view {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    color: #949597;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.review-section .btn-view:hover {
    color: #165b96;
}

@media screen and (max-width: 600px) {
    .review-section table {
        border: 0;
    }
    
    .review-section thead {
        display: none;
    }
    
    .review-section tr {
        margin-bottom: 10px;
        display: block;
        border-bottom: 2px solid #ddd;
    }
    
    .review-section td {
        display: none; /* Hide all cells by default */
        text-align: right;
        font-size: 13px;
        border-bottom: 1px dotted #ccc;
        padding: 8px;
    }
    
    /* Only show Track Name, Artists, and Action cells */
    .review-section td:nth-of-type(2), /* Track Name */
    .review-section td:nth-of-type(4), /* Artists */
    .review-section td:last-child {    /* Action button */
        display: block;
    }
    
    .review-section td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }
    
    /* Remove label from action button */
    .review-section td:last-child {
        border-bottom: 0;
        text-align: center;
    }
    
    .review-section td:last-child:before {
        content: none;
    }
    
    .review-section .btn-view {
        display: block;
        width: 100%;
        padding: 10px 16px;
        margin-top: 10px;
        text-align: center;
    }
}

/* Add these styles for the remove button */
.btn-view.remove-track {
    background-color: #dc3545; /* Red color for remove button */
}

.btn-view.remove-track:hover {
    background-color: #c82333;
}

/* Ensure both tables share the same mobile styling */
@media screen and (max-width: 600px) {
    .tracks-table {
        border: 0;
    }
    
    .tracks-table thead {
        display: none;
    }
    
    .tracks-table tr {
        display: block;
        border-bottom: 2px solid #ddd;
    }
    
    .tracks-table td {
        display: none; /* Hide all cells by default */
        text-align: right;
        font-size: 13px;
        border-bottom: 1px dotted #ccc;
        padding: 8px;
    }
    
    /* Only show Track Name, Artists, and Action cells */
    .tracks-table td:nth-of-type(2), /* Track Name */
    .tracks-table td:nth-of-type(4), /* Artists */
    .tracks-table td:last-child {    /* Action button */
        display: block;
    }
    
    .tracks-table td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }
    
    .tracks-table td:last-child {
        border-bottom: 0;
        text-align: center;
    }
    
    .tracks-table td:last-child:before {
        content: none;
    }
}

.track-list-container {
    margin: 20px 0;
    width: 100%;
}

.track-list-container .tracks-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.track-list-container .tracks-table th,
.track-list-container .tracks-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.track-list-container .tracks-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.track-list-container .tracks-table tr:hover {
    background-color: #f9f9f9;
}

/* Update the table styles for better spacing and alignment */
.tracks-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.tracks-table th,
.tracks-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

/* Specific column widths and spacing */
.tracks-table td:nth-child(2), /* Track Name */
.tracks-table th:nth-child(2) {
    width: 25%;
    padding-right: 20px;
}

.tracks-table td:nth-child(4), /* Artists */
.tracks-table th:nth-child(4) {
    width: 20%;
    padding-right: 20px;
}

/* Center the action button column */
.tracks-table td:last-child {
    text-align: center;
}

/* Style for the action buttons */
.tracks-table .btn-view {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1E73BE;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    min-width: 100px;
    text-align: center;
}

.tracks-table .btn-view.remove-track {
    background-color: #dc3545;
}

.tracks-table .btn-view:hover {
    opacity: 0.9;
}

/* Mobile responsive styles */
@media screen and (max-width: 600px) {
    .tracks-table td {
        padding: 12px 15px;
    }
    
    .tracks-table td[data-label="Track Name"],
    .tracks-table td[data-label="Artists"] {
        text-align: left;
        padding-left: 50%;
        position: relative;
    }
    
    .tracks-table td[data-label="Track Name"]:before,
    .tracks-table td[data-label="Artists"]:before {
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        text-align: left;
    }
    
    .tracks-table td:last-child {
        padding: 15px;
        text-align: center;
    }
    
    .tracks-table .btn-view {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Common table styles for both page 2 and 3 */
.tracks-table,
.review-section table {
    width: 100%;
    border-collapse: collapse;
}

.tracks-table th, 
.tracks-table td,
.review-section th, 
.review-section td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.tracks-table th,
.review-section th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Button styles */
.tracks-table .btn-view,
.review-section .btn-view {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.tracks-table .btn-view.remove-track {
    background-color: #dc3545;
}

.tracks-table .btn-view:hover,
.review-section .btn-view:hover {
    background-color: #165b96;
}

/* Mobile responsive styles for both tables */
@media screen and (max-width: 600px) {
    .tracks-table,
    .review-section table {
        border: 0;
    }
    
    .tracks-table thead,
    .review-section thead {
        display: none;
    }
    
    .tracks-table tr,
    .review-section tr {
        display: block;
        border-bottom: 2px solid #ddd;
    }
    
    .tracks-table td,
    .review-section td {
        display: none;
        border-bottom: 1px dotted #ccc;
        padding: 12px;
        text-align: right; /* Right align the content */
    }
    
    /* Only show Track Name, Artists, and Action cells */
    .tracks-table td:nth-of-type(2),
    .tracks-table td:nth-of-type(4),
    .tracks-table td:last-child,
    .review-section td:nth-of-type(2),
    .review-section td:nth-of-type(4),
    .review-section td:last-child {
        display: block;
        width: 100%;
    }
    
    .tracks-table td:before,
    .review-section td:before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        display: block;
        float: left; /* Ensure label stays left */
        margin-bottom: 0; /* Remove margin to align with content */
    }
    
    /* Button container styling */
    .tracks-table td:last-child,
    .review-section td:last-child {
        border-bottom: 0;
        text-align: center;
        padding: 12px;
    }
    
    /* Make buttons full width */
    .tracks-table .btn-view,
    .review-section .btn-view {
        display: block;
        width: 100%;
        padding: 10px 16px;
        margin-top: 10px;
        text-align: right;
        box-sizing: border-box; /* Ensure padding is included in width */
    }
}

/* Explicit lyrics checkbox styling */
.explicit-lyrics-container {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

/* Optional: Custom checkbox styling */
.checkbox-label input[type="checkbox"] {
    accent-color: #1E73BE;
}

/* Add these styles to hide the Actions header text */
.tracks-table th.actions-header,
.review-tracks-table th.actions-header {
    color: transparent;
    font-size: 0;
}

/* Ensure the column width is maintained */
.tracks-table th.actions-header,
.review-tracks-table th.actions-header {
    width: 150px;
    padding: 12px;
    background-color: #f2f2f2;
}

/* Maintain mobile responsiveness */
@media screen and (max-width: 600px) {
    .tracks-table th.actions-header,
    .review-tracks-table th.actions-header {
        display: none;
    }
}

/* Hide the Actions header text in both tables */
.tracks-table th:last-child,
#review-tracklist .tracks-table th:last-child {
    color: transparent;
    font-size: 0;
}

/* Ensure the column width is maintained */
.tracks-table th:last-child,
#review-tracklist .tracks-table th:last-child {
    width: 100px;
    padding: 12px;
    background-color: #f2f2f2;
}

/* Maintain mobile responsiveness */
@media screen and (max-width: 600px) {
    .tracks-table th:last-child,
    #review-tracklist .tracks-table th:last-child {
        display: none;
    }
}

/* Update artwork preview styling */
#artwork-preview {
    width: 512px;
    height: 512px;
    max-width: 100%; /* Ensures responsiveness on mobile */
    margin: 10px 0; /* Changed from margin: 10px auto to margin: 10px 0 */
    overflow: hidden; /* Prevents image overflow */
}

#artwork-preview img {
    width: 512px;
    height: 512px;
    max-width: 100%; /* Ensures responsiveness on mobile */
    object-fit: contain; /* Maintains aspect ratio without stretching */
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

/* Profile Slider Styles */
.profile-slider-container {
    position: relative;
    width: 90%;
    max-width: 90%;
    padding: 0 20px;
    margin: 20px auto;
    box-sizing: border-box;
}

.profile-slider {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
}

.slider-container {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.profile-selector {
    flex: 0 0 100%;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
}

.profile-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    width: 100%;
    align-items: center;
}

.profile-item:hover {
    background-color: #f7f9fc;
}

/* Completely hide radio button
.profile-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
} */

.profile-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    gap: 20px;
    padding: 5px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.profile-label:hover {
    background-color: #f7f9fc;
}

.profile-image {
    width: 60px;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid #e1e4e8;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.profile-radio:checked + .profile-label .profile-image {
    border-color: #1E73BE;
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.3);
}

.profile-info {
    flex-grow: 1;
    min-width: 0; /* Prevent text overflow */
    padding-left: 20px;
    padding-right: 20px;
}

.profile-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-link {
    color: #1E73BE;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.profile-link:hover {
    color: #1e49be;
}

.profile-genre {
    font-size: 0.9em;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #ccc !important;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7) !important;
    transform: translateY(-50%) scale(1.1);
    color: #666;
}

.slider-arrow.prev {
    left: 0;
    color: #aaa;
    background-color: transparent !important;

}

.slider-arrow.next {
    right: 0;
    color: #aaa;
    background-color: transparent !important;

}

.slider-arrow:disabled {
    background-color: transparent !important;
    color: transparent !important;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .profile-slider-container {
        padding: 0 15px;
    }

    .profile-selector {
        padding: 5px;
    }

    .profile-image {
        width: 50px;
        height: 50px;
    }

    .profile-info {
        font-size: 0.9em;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .profile-label {
        gap: 10px;
    }
}

/* Ensure proper box sizing throughout */
*, *:before, *:after {
    box-sizing: border-box;
}

/* Remove the custom radio button appearance */
.profile-radio + .profile-label:before,
.profile-radio + .profile-label:after {
    display: none !important;
    content: none !important;
}

/* Keep the selection indicator on the image instead */
.profile-radio:checked + .profile-label .profile-image {
    border-color: #1E73BE;
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.3);
}

/* New Apple Music Profile Styles */
.profile-card {
    position: relative;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
}

.profile-card:hover {
    background-color: #f5f5f5;
}

/* Radio Input Styles */
.profile-radio {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/*
.profile-radio:checked + .profile-label {
    background-color: #e3f2fd;
    border-color: #2196F3;
}
*/

/* Label Styles */
.profile-label {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 15px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Profile Image Container */
.profile-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 50%;
}

.profile-image i {
    font-size: 24px;
    color: #666;
}

/* Profile Info Styles */
.profile-info {
    flex: 1;
}

.profile-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 500;
}

.profile-info .genre {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 14px;
}

.profile-info .platform-link {
    color: #2196F3;
    text-decoration: none;
    font-size: 14px;
}

.profile-info .platform-link:hover {
    text-decoration: underline;
}

/* Profile styling */
.profile-item {
    margin-bottom: 8px;
    position: relative;
}

.profile-select {
    position: absolute;
    opacity: 0;
}

.profile-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.profile-select:checked + .profile-details {
    background-color: #f0f7ff;
    border-color: #2196F3;
}

.artist-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.artist-name {
    font-weight: 500;
    font-size: 14px;
}

.artist-genre {
    color: #666;
    font-size: 12px;
}

.platform-link a {
    color: #2196F3;
    text-decoration: none;
    font-size: 12px;
}

.platform-link a:hover {
    text-decoration: underline;
}

.profile-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.profile-radio {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.profile-label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.artist-label, .genre-label {
    font-weight: bold;
    margin-right: 5px;
}

.genre-label {
    margin-left: 15px;
}

/* Style for the confirm button */
.confirm-btn {
    width: 100%;
    padding: 12px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 16px;
}

.confirm-btn:hover {
    background-color: #3367d6;
}

/* Add styles for when the radio is checked */
.profile-radio:checked + .profile-label {
    background-color: #f0f7ff; /* Light blue background */
    border-color: #1E73BE; /* Blue border */
    box-shadow: 0 2px 4px rgba(30, 115, 190, 0.1); /* Subtle shadow */
}

/* Update hover state */
.profile-label:hover {
    background-color: #f7f9fc;
}

/* Ensure the checked state maintains its style even on hover */
.profile-radio:checked + .profile-label:hover {
    background-color: #e6f0fa; /* Slightly darker than the normal selected state */
}

/* Update the profile info colors for better contrast when selected */
.profile-radio:checked + .profile-label .profile-name {
    color: #1E73BE; /* Darker blue for text */
}

.profile-radio:checked + .profile-label .profile-genre {
    color: #4a4a4a; /* Darker gray for better readability */
}

.profile-separator {
    border: none;
    border-top: 2px solid #ddd;
    margin: 30px 0;
    width: 100%;
}

/* Add loader styles */
.profile-loader {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1E73BE;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

/* Style for disabled buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Confirmation Page Styles */
.confirmation-page {
    text-align: center;
    padding: 40px 20px;
}

.confirmation-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 64px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.confirmation-page h2 {
    color: #333;
    margin-bottom: 20px;
}

.next-steps {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.next-steps h3 {
    margin-bottom: 15px;
}

.next-steps ol {
    margin: 0;
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 10px;
    color: #666;
}

.confirmation-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    background: #1E73BE;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-secondary {
    background: #666;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background: #165b96;
}

.btn-secondary:hover {
    background: #555;
}

@media screen and (max-width: 768px) {
    .confirmation-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
/* Add this to your existing CSS file */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* Style for required field asterisks
#distrodirect-selection-form label:has(+ [required])::after,
#distrodirect-selection-form label:has(+ .select2-container [required])::after {
    content: ' *';
    color: #ff0000;
    margin-left: 4px;
}

/* For radio button groups that are required
.radio-group:has(input[required]) > label::after {
    content: ' *';
    color: #ff0000;
    margin-left: 4px;
}
*/

/* Update the track list table styling for page 2 */
.track-list-container {
    margin-top: 40px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E8E9EC;
    overflow: hidden;
}

.track-list-container .tracks-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.track-list-container .tracks-table th {
    font-size: 12px;
    color: #939597;
    font-weight: 500;
    text-transform: uppercase;
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #E8E9EC;
}

.track-list-container .tracks-table td {
    padding: 16px;
    border-bottom: 1px solid #E8E9EC;
    color: #122b46;
    font-size: 14px;
}

/* Style for the delete button */
.track-list-container .btn-view.remove-track {
    background: none !important;
    border: none !important;
    padding: 8px !important;
    color: #939597 !important;
    transition: none !important;
    box-shadow: none !important;
    cursor: pointer;
    justify-content: right !important;
}

.track-list-container .btn-view.remove-track:hover {
    color: #dc3545 !important;
}

/* Hide text, show only icon */
.track-list-container .btn-view.remove-track span {
    display: none;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    .track-list-container .tracks-table thead {
        display: none;
    }

    .track-list-container .tracks-table tr {
        display: block;
        padding: 16px;
        padding-bottom: 64px;
        border-bottom: 1px solid #E8E9EC;
    }

    /* Style the first row (track number) to include the trash icon */
    .track-list-container .tracks-table td[data-label="#"] {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 16px !important;
        margin-bottom: 16px;
        position: relative !important;
        border-color: #ffffff00;
    }

    /* Hide the actions column completely on mobile */
    .track-list-container .tracks-table td:last-child,
    .track-list-container .tracks-table th:last-child {
        display: none !important;
    }

    /* Move the trash button into the first row */
    .track-list-container .tracks-table td[data-label="#"] .mobile-actions {
        display: flex !important;
        align-items: center !important;
        margin-left: auto !important;
    }

    /* Other data cells styling */
    .track-list-container .tracks-table td:not([data-label="#"]):not(:last-child) {
        display: flex !important;
        padding: 4px 8px 4px 120px !important;
        position: relative;
        min-height: 30px;
        border: none;
        width: 100% !important;
        box-sizing: border-box;
    }

    .track-list-container .tracks-table td:not([data-label="#"]):not(:last-child)::before {
        content: attr(data-label);
        position: absolute;
        left: 8px;
        width: 100px;
        font-weight: 500;
        font-size: 13px;
        color: #939597;
        white-space: nowrap;
    }
}

/* Desktop-only elements */
.desktop-only {
    display: block;
}

/* Mobile-only elements */
.mobile-actions {
    display: none;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    /* Hide desktop elements */
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile elements */
    .mobile-actions {
        display: flex !important;
    }

    .track-list-container .tracks-table thead {
        display: none;
    }

    /* Rest of the mobile styles remain the same... */
}

/* Dropdown menu fixes - simplified */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: transparent !important;
    border: none !important;
    padding: 0.5rem;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-toggle:hover {
    background-color: transparent !important;
}

.dropdown-toggle:focus {
    outline: none;
    box-shadow: none !important;
}

.dropdown-menu {
    position: absolute;
    right: 0 !important;  /* Force right alignment */
    left: auto !important; /* Prevent left alignment */
    top: 100%;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.9rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
    box-shadow: none !important; /* Remove box shadow completely */
}

.dropdown.show .dropdown-menu {
    display: block !important;
}

.dropdown-item {
    display: flex !important;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent !important;
    border: 0;
    cursor: pointer;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: #16181b;
    text-decoration: none;
    background-color: transparent !important;
}

.dropdown-item i {
    margin-right: 0.5rem;
}

/* Mobile-specific dropdown styles */
@media (max-width: 767.98px) {
    .mobile-only .dropdown-menu {
        position: absolute;
        right: 0 !important;
        left: auto !important;
        top: 100%;
        width: auto;
        min-width: 10rem;
    }
    
    .mobile-only .dropdown-toggle {
        padding: 0.35rem;
    }
    
    td[data-label="#"] .dropdown {
        position: relative;
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }
    
    td[data-label="#"] .dropdown-menu {
        position: absolute;
        right: 0 !important;
        left: auto !important;
        top: 100%;
    }
}

/* Track list specific styles */
.track-listing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.track-listing-table th,
.track-listing-table td {
    padding: 0.75rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

.track-listing-table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    background-color: transparent !important;
}

.track-listing-table tbody tr:hover {
    background-color: transparent !important;
}

.track-listing-table .actions-cell {
    text-align: right;
    width: 50px;
}

/* Track list container */
.track-list-container {
    margin: 2rem 0;
}

.track-list-container h3 {
    margin-bottom: 1rem;
}

/* Mobile styles for track listing */
@media (max-width: 767.98px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .track-listing-table thead {
        display: none;
    }
    
    .track-listing-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 4px;
    }
    
    .track-listing-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        border-bottom: 1px solid #dee2e6;
        padding: 0.5rem 0.75rem;
    }
    
    .track-listing-table tbody td:last-child {
        border-bottom: none;
    }
    
    .track-listing-table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 1rem;
    }
    
    .track-listing-table tbody td[data-label="#"] {
        background-color: transparent !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .track-listing-table tbody td[data-label="#"] .dropdown {
        margin-left: auto;
    }
    
    .track-listing-table .dropdown-menu {
        min-width: 150px;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
    
    td.desktop-only {
        display: table-cell;
    }
    
    span.desktop-only {
        display: inline;
    }
}
