/*!**********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/colors.css ***!
  \**********************************************************************/
:root {
    --main-button-color: #923A3A; /* Define main color */
    --main-button-hover-color: #7a302e; /* Define main color */
    --main-button-disable-color: #5b2522; /* Define main color */
    --main-button-active-color: #b04a4a;
    --main-button-active-hover-color: #994040;
    --main-progressbar: rgba(146, 58, 58, 0.7);
    --main-background-color: #222222;
    --main-background-color-secondary: #333333;
    --main-background-color-transparency: rgba(100, 100, 100, 0.6);
    --main-border: #ee951f; /* Gold color for visibility */
    --main-text: #e2e2e2;
    --main-text-placeholder : #a8a8a8;
    --main-text-info: #FFD700;
    --link-color: #388497;
    --fontfamilly: BagnardSans, Arial, sans-serif;
}
/*!*********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/pages.css ***!
  \*********************************************************************/
header {
    background-size: cover;
    padding: 20px;
    text-align: center;
    position: relative;
    color: var(--main-text);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-background-color);
    border-radius: 8px;
    padding: 20px;
}

nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--main-background-color);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

nav a {
    color:  var(--main-text);
    text-decoration: none;
    padding: 10px;
    display: block;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--fontfamilly);
    background-color: var(--main-background-color-secondary);
    color: var(--main-text);
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.top-left-controls {
    position: absolute;
    left: 10px;
    padding: 20px;
}

.logo {
    width: 100px;
    height: auto;
    vertical-align: middle;
}

.status {
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--main-text-info);
}

.center-content {
    flex-grow: 1;
    text-align: center;
}

.icon {
    position: absolute;
    top: 25%;
    right: 25%;
    width: 50%;
    height: 50%;
    z-index: 3;
    user-select: none;
    pointer-events: none;
}

.section {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    grid-auto-rows: minmax(50px, auto);
    gap: 20px;
    align-items: center;
    justify-content: center;
}

#background-music {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

#background-music .button-primary {
    display: inline-block;
    width: auto;
}

#background-music .button-primary-active {
    display: inline-block !important;
    width: auto;
}

/* Footer styling */
footer {
    background-size: cover;
    padding: 20px;
    text-align: center;
    position: relative;
    color: var(--main-text);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-background-color);
    border-radius: 8px;
    padding: 20px;
}

.footer-content a {
    margin: 0 15px;
    color:  var(--main-text);
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/*!*********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/modal.css ***!
  \*********************************************************************/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background-color: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    overflow: hidden;
}

#external-modal-body {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--main-background-color);
}

/* Modal Container */
.add-sound-modal {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    position: fixed;
    top: 0; /* Align to the top of the viewport */
    left: 0; /* Align to the left of the viewport */
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Base z-index for modals */
    padding-top: 20px; /* Optional: Add some padding at the top */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

/* Modal Content */
.add-sound-modal .modal-header {
    background: #444;
    padding: 20px;
    border-radius: 10px;
    width: 90%; /* Adjust width as needed */
    max-width: 600px; /* Maximum width for the modal content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Specific z-index for request-sound-modal-admin */
#request-sound-modal-admin {
    z-index: 1005; /* Higher than the base modal z-index */
}

/* Specific z-index for add-sound-modal */
#add-sound-modal {
    z-index: 1010; /* Highest z-index to appear over other modals */
}
/*!***************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/progressBar.css ***!
  \***************************************************************************/

#progressBar {
    flex-grow: 1;
    height: 4px;
    background-color: var(--main-progressbar);
    margin-right: 10px;
}

#sound-progress {
    height: 100%;
    background-color: var(--main-border);
    width: 0%;
}
/*!*********************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/sessionManagement.css ***!
  \*********************************************************************************/
/* Session Management Styling */
.id-management {
    background-color: var(--main-background-color);
    border: 1px solid var(--main-background-color-secondary);
    padding: 20px;
    margin: 20px;
    border-radius: 5px;
    color: var(--main-text);
}

.id-management h2 {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    color: var(--main-text);
}

.create-id, .join-id {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#status-message {
    text-align: center;
    color: var(--main-text-info);
    margin-top: 10px;
}

#your-id {
    text-align: center;
    margin-top: 10px;
    color: var(--main-text);
}

#your-id span {
    font-weight: bold;
    color: var(--main-button-active-color);
}

#connection-status {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}
/*!*****************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/sounConteiner.css ***!
  \*****************************************************************************/
.sound-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.sound-button {
    flex-basis: calc(33.333% - 10px);
    text-align: center;
}

.button {
    flex: 1 0 auto;
    text-align: center;
    text-transform: capitalize;
}

.button .volume-slider {
    display: block;
    margin-top: 15px;
    width: 100%;
}

/*!**********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/preset.css ***!
  \**********************************************************************/
/* Preset controls */
#preset-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#input-button-container {
    display: flex;
    align-items: center;
}

/*!***********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/credits.css ***!
  \***********************************************************************/
#background-music-Credit {
    text-align: center;
    margin: 10px 0;
}

#background-music-Credit a {
    color: var(--link-color);
    margin-bottom: 0;
}

#background-music-Credit a:hover {
    text-decoration: underline;
}

.credit-modal-template,
.all-credits-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    overflow-y: auto;
}

.credit-modal-template {
    top: 10px;
    right: 10px;
    background-color: var(--main-background-color-transparency);
    color: var(--main-text);
    padding: 10px;
    border-radius: 5px;
}

.credit-content {
    text-align: left;
}

.close-btn {
    float: right;
    font-size: 40px;
    cursor: pointer;
}

.all-credits-modal {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: var(--main-background-color);
}

/*!***********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/buttons.css ***!
  \***********************************************************************/
@font-face {
    font-family: 'BagnardSans';
    src: url(/fonts/BagnardSans.8bcba173d4755e5855f6.otf) format('opentype'); 
    font-weight: normal;
    font-style: normal;
}

button {
    font-family: var(--fontfamilly);
    background-color: var(--main-background-color);
    border: none;
    color: var(--main-text);
    padding: 10px 20px;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.button-primary {
    background-color: var(--main-button-color);
    display: block;
}

.button-primary:hover {
    background-color: var(--main-button-hover-color);
}

.button-primary:disabled {
    background-color: var(--main-button-disable-color);
    cursor: not-allowed;
}

.button-primary-active{
    background-color: var(--main-button-active-color);
    display: block;
}

.button-primary-active:hover{
    background-color: var(--main-button-active-hover-color);
    display: block;
}

.update-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color:  var(--main-button-active-color);
    color: var(--main-text);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.update-button:hover {
    background-color: var(--main-button-active-color-hover);
}

.text-input{
    font-family: var(--fontfamilly);
    padding: 10px;
    width: 200px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid var(--main-background-color);
    background-color: var(--main-background-color-secondary);
    color: var(--main-text);
}

.text-input::placeholder {
    color: var(--main-text-placeholder);
}

/* Style the select element */
.selector-primary {
    font-family: var(--fontfamilly); /* Match your site's font */
    background-color: var(--main-button-color);
    color:  var(--main-text); /* Text color */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 15px; /* Padding for the dropdown */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s, box-shadow 0.3s; /* Add a hover effect */
}

/* Hover state */
.selector-primary:hover {
    background-color: var(--main-button-hover-color);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* Add a shadow */
}

/* Style the dropdown options */
.selector-primary option {
    background-color: var(--main-background-color); /* Match the background color of the select */
    color:  var(--main-text);
    font-family:var(--fontfamilly); /* Font family */
}

.close-button {
    color:  var(--main-button-color);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-button:hover,
.close-button:focus {
    color:  var(--main-button-hover-color);
    text-decoration: none;
    cursor: pointer;
}

/* Music Mode Styles */
.music-mode-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-background-color-secondary);
    border: 2px solid var(--main-border);
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.music-mode-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-mode-label {
    font-family: var(--fontfamilly);
    font-size: 16px;
    color: var(--main-text);
    font-weight: bold;
}

.music-mode-display {
    font-family: var(--fontfamilly);
    font-size: 18px;
    color: var(--main-button-active-color);
    font-weight: bold;
    padding: 5px 12px;
    background-color: var(--main-background-color);
    border: 2px solid var(--main-button-active-color);
    border-radius: 6px;
    min-width: 120px;
    text-align: center;
}

.music-mode-toggle {
    min-width: 180px;
    font-size: 14px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.music-mode-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/*!****************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/dropDownMenu.css ***!
  \****************************************************************************/
.menu-dropdown {
    position: relative;
}

.menu-button {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-content {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background: var(--main-background-color-secondary);
    padding: 10px;
    z-index: 10;
    transition: all 0.3s;
}

/*!**************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/editSounds.css ***!
  \**************************************************************************/
.edit-sound-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-background-color);
    z-index: 1000;
    overflow-y: auto;
}

.edit-sound-modal .modal-header {
    background-color: var(--main-background-color);
    color: var(--main-text);
    padding: 10px;
    text-align: center;
}

.edit-sound-modal .modal-body {
    padding: 20px;
    background-color: var(--main-background-color);
    color: var(--main-text);
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.sound-item {
    flex: 1;
    margin: 10px;
    border: 1px solid  var(--main-text);
    padding: 10px;
    border-radius: 5px;
    background-color: var(--main-background-color);
}
/*!********************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/ambianceControls.css ***!
  \********************************************************************************/
.progress-bar-volume {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    opacity: 0;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: var(--main-background-color-transparency);
}
.progress-bar-volume:hover,
.progress-bar-volume.touch-hover {
    opacity: 1;
    transition: opacity 300ms;
}

.progress-bar-volume.plus {
    left: 50%;
    right: 0;
}
.progress-bar-volume.minus {
    left: 0;
    right: 50%;
}

.progress-bar-volume.minus:before {
    content: "";
    display: block;
    background-color: var(--main-text);
    height: 2px;
    width: 20px;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
}

.progress-bar-volume.plus:before {
    content: "";
    display: block;
    background-color: var(--main-text);
    height: 2px;
    width: 20px;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
}
.progress-bar-volume.plus:after {
    content: "";
    display: block;
    background-color: var(--main-text);
    height: 2px;
    width: 20px;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
}

.progress-bar-container {
    position: relative;
    width: 100%;
    height: 100px;
    background-color: var(--main-background-color);
    overflow: hidden;
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    border: 2px solid var(--main-border);
}

.ambiance-volume-bar {
    background-color: var(--main-progressbar);
    width: 0%;
    height: 100%;
    transition: width 0.3s ease;
}

.progress-and-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 50%;
    margin: 0 auto;
}

.sound-bar-text,
.sound-bar-licence {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    text-align: center;
    padding: 5px 10px;
    color: black;
    background-color: var(--main-background-color-transparency);
    user-select: none;
    pointer-events: none;
}

.sound-bar-text {
    top: 10px;
    width: 80%;
}

.sound-bar-licence {
    bottom: 10px;
    width: 40%;
    height: 15px;
    font-size: 10px;
    padding: 1px;
}
/*!**********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/styles.css ***!
  \**********************************************************************/
/*src/css/styles.css*/

/* Basic reset for styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'BagnardSans';
    src: url(/fonts/BagnardSans.8bcba173d4755e5855f6.otf) format('opentype'); 
    font-weight: normal;
    font-style: normal;
}
/*!***********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/spotify.css ***!
  \***********************************************************************/
/* src/css/spotify.css */

.spotify-container {
    background: var(--main-background-color-secondary);
    border: none;
    border-radius: 6px;
    margin: 10px 0;
    padding: 12px;
    display: none; /* Hidden by default */
}

.spotify-container h3 {
    color: var(--main-text);
    margin: 0 0 8px 0;
    font-size: 1.1em;
    font-weight: 600;
    border-bottom: 2px solid var(--main-border);
    padding-bottom: 3px;
}

/* Login Section */
.spotify-login-section {
    text-align: center;
    padding: 15px;
    background: var(--main-background-color);
    border: 1px solid var(--main-border);
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.spotify-login-btn {
    background: var(--main-button-color) !important;
    border: 1px solid var(--main-button-color) !important;
    color: white !important;
    font-weight: 500;
    padding: 8px 16px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.spotify-login-btn:hover {
    background: var(--main-button-hover-color) !important;
    border-color: var(--main-button-hover-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(146, 58, 58, 0.3);
}

.spotify-login-btn.button-primary-active {
    background: var(--main-button-active-color) !important;
    border-color: var(--main-button-active-color) !important;
}

.spotify-login-btn.button-primary-active:hover {
    background: var(--main-button-active-hover-color) !important;
    border-color: var(--main-button-active-hover-color) !important;
}

.spotify-status {
    color: var(--main-text);
    margin: 8px 0 0 0;
    font-size: 0.85em;
    opacity: 0.8;
}

/* Music Source Toggle Button */
.spotify-music-toggle-btn {
    background: var(--main-button-color) !important;
    border: 1px solid var(--main-button-color) !important;
    color: white !important;
    font-weight: 500;
    padding: 8px 16px;
    font-size: 0.9em;
    margin-top: 10px;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.spotify-music-toggle-btn:hover {
    background: var(--main-button-hover-color) !important;
    border-color: var(--main-button-hover-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(146, 58, 58, 0.3);
}

/* Now Playing Section */
.spotify-now-playing {
    background: var(--main-background-color);
    border: 1px solid var(--main-border);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

.now-playing-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.album-art {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.track-details {
    flex: 1;
}

.track-name {
    font-weight: 600;
    font-size: 1.1em;
    margin: 0 0 5px 0;
    color: var(--main-text);
}

.track-artist {
    font-size: 0.9em;
    margin: 0 0 3px 0;
    color: var(--main-text-placeholder);
}

.track-album {
    font-size: 0.8em;
    margin: 0;
    color: var(--main-text-placeholder);
    font-style: italic;
}

/* Controls Section */
.spotify-controls {
    background: var(--main-background-color-secondary);
    border: 1px solid var(--main-border);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

.controls-content {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.spotify-control-btn {
    background: var(--main-button-color) !important;
    border: 2px solid var(--main-button-color) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.spotify-control-btn:hover {
    background: var(--main-button-hover-color) !important;
    border-color: var(--main-button-hover-color) !important;
    transform: scale(1.1);
}

.spotify-control-btn:active {
    transform: scale(0.95);
}


/* Volume Control removed - using main Background Music volume slider instead */

/* Search and Playlist Section */
.spotify-search-playlist-container {
    background: var(--main-background-color-secondary);
    border: 1px solid var(--main-border);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spotify-search-playlist-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.spotify-search-playlist-row .spotify-search-input {
    flex: 1;
    width: auto !important;
    margin-bottom: 0;
}

.spotify-search-playlist-row .selector-primary {
    min-width: 200px;
    margin-bottom: 0;
}


.spotify-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--main-border);
    border-radius: 4px;
    font-size: 14px;
    background: var(--main-background-color-secondary);
    color: var(--main-text);
    box-sizing: border-box;
}

.spotify-search-input:focus {
    outline: none;
    border-color: var(--main-button-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.spotify-search-results {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid var(--main-border);
    border-radius: 4px;
    background: var(--main-background-color-secondary);
}

.search-section {
    padding: 8px;
    border-bottom: 1px solid var(--main-border);
}

.search-section:last-child {
    border-bottom: none;
}

.search-section h4 {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--main-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.search-item:hover {
    background-color: var(--main-background-color-transparency);
}

.search-item-art {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    margin-right: 8px;
    object-fit: cover;
}

.search-item-info {
    flex: 1;
    min-width: 0;
}

.search-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--main-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-artist {
    font-size: 11px;
    color: var(--main-text-placeholder);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-error, .no-results {
    padding: 10px;
    text-align: center;
    color: var(--main-text-placeholder);
    font-size: 13px;
}

.search-error {
    color: var(--main-button-color);
}

/* Search Item Actions */
.search-item-actions {
    display: flex;
    gap: 5px;
    margin-left: auto;
}

.search-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.search-action-btn.play-btn {
    background-color: var(--main-button-color);
    color: white;
}

.search-action-btn.play-btn:hover {
    background-color: var(--main-button-hover-color);
    transform: scale(1.1);
}

.search-action-btn.add-btn {
    background-color: var(--main-button-color);
    color: white;
}

.search-action-btn.add-btn:hover {
    background-color: var(--main-button-hover-color);
    transform: scale(1.1);
}

/* Playlist Dialog */
.playlist-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.playlist-dialog-content {
    background: var(--main-background-color-secondary);
    border-radius: 8px;
    padding: 20px;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.playlist-dialog-content h3 {
    margin: 0 0 15px 0;
    color: var(--main-text);
    font-size: 1.2em;
}

.playlist-dialog-content .playlist-selector {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--main-border);
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    background: var(--main-background-color-secondary);
    color: var(--main-text);
}

.playlist-dialog-content .playlist-selector:focus {
    outline: none;
    border-color: var(--main-button-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.playlist-dialog-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.button-secondary {
    background-color: var(--main-text-placeholder);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.button-secondary:hover {
    background-color: var(--main-text);
}

/* Volume label removed - using main Background Music volume slider instead */

/* Error Messages */
.spotify-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #c62828;
    margin: 15px 0;
    font-size: 0.9em;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .spotify-container {
        margin: 15px 0;
        padding: 15px;
    }
    
    .controls-content {
        gap: 10px;
    }
    
    .spotify-control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1em;
    }
    
    .track-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .album-art {
        width: 80px;
        height: 80px;
    }
}

/* Loading States */
.spotify-container.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spotify-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--main-button-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Focus States */
.spotify-container:focus-within {
    border-color: var(--main-button-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Music Source Toggle Button */
#music-source-toggle {
    transition: all 0.3s ease;
    border-radius: 20px;
    font-weight: 600;
    margin: 0 10px;
}

#music-source-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#music-source-toggle.button-primary-active {
    background: var(--main-button-active-color) !important;
    border-color: var(--main-button-active-color) !important;
}

#music-source-toggle.button-primary-active:hover {
    background: var(--main-button-active-hover-color) !important;
    border-color: var(--main-button-active-hover-color) !important;
}



/* Responsive adjustments for the music source toggle */
@media (max-width: 768px) {
    #music-source-toggle {
        padding: 6px 12px !important;
        font-size: 0.8em !important;
    }
    
}


/*# sourceMappingURL=main.108a56b6b421d3d27d2b.css.map*/