.container-fluid {
    width: 100vw; 
    padding: 0;
    margin: 0;
  }
html {
  height: 100%;
  width: 100%;
}

body {
    font-family: "Times New Roman", Times, serif;
    background-color: hsl(0, 0%, 86%);
    width: 100%;
    height: 100%;
}



/* Navbar auth */
.nav-auth {
  margin-left: auto;
  margin-right: 20px;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-btn {
  background: none;
  border: 1px solid antiquewhite;
  color: antiquewhite;
  padding: 4px 12px;
  cursor: pointer;
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
}

.nav-btn:hover {
  background-color: #575757;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  min-width: 160px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.dropdown-item {
  padding: 8px 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: "Times New Roman", Times, serif;
  text-decoration: none;
  color: black;
}

.dropdown-item:hover {
  background-color: #f2f2f2;
}

.dropdown-divider {
  margin: 4px 0;
  border: none;
  border-top: 1px solid #ccc;
}

/* Auth Modal */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-box {
  background: white;
  padding: 30px;
  width: 340px;
  position: relative;
  font-family: "Times New Roman", Times, serif;
}

.auth-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #575757;
}

.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.auth-tab {
  flex: 1;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: "Times New Roman", Times, serif;
  color: #575757;
}

.auth-tab.active {
  border-bottom: 2px solid #575757;
  color: black;
  margin-bottom: -1px;
}

.auth-input {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  font-size: 14px;
  font-family: "Times New Roman", Times, serif;
  box-sizing: border-box;
}

.auth-submit {
  width: 100%;
  padding: 10px;
  background-color: #575757;
  color: antiquewhite;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: "Times New Roman", Times, serif;
}

.auth-submit:hover {
  background-color: #444;
}

.auth-error {
  color: red;
  font-size: 12px;
  margin-bottom: 8px;
}



.auth-overlay:not(.hidden) {
  display: flex !important;
}




#second-navbar {
    width: 100%;
}

.navbar-two {
    display: flex;
    width: 100%;
}

.navbar-two .nav-item {

}

.navbar-two .nav-link {
    color: rgb(212, 208, 208);
    font-size: 18px;
    text-decoration: none;
}

.navbar-two .nav-link:hover {
    background-color: #575757;
}

.header {
    display: flex;
    width: 100%;
    margin-left: 50px;
    margin-top: 100px;
}


.row {
  display: flex;
  flex-wrap: nowrap;   
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.row > * {
  flex: 1 1 auto;       
  min-width: 0;         
  text-align: center;
  font-size: 13px;
  overflow: hidden;
  box-sizing: border-box;
}

.buttonDescription{
    color: antiquewhite;
    background-color: #575757;
    text-align: center; 
    width: 100%;
}

.output-container {
  height: 70vh; 
  display: flex;
  flex-direction: column;
  padding-left: 50px;
}

#output {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;     
  min-height: 0;        
}


button.active {
  background-color: #a8a8a8;
}


.voiceContainer.active{
  background-color: hsl(0, 3%, 94%) !important;
}


.noteDurationButton {
  width: 48px;
  height: 24px;
  font-size: 24px;      
  line-height: 16px;      
  text-align: center;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.toggleDotButton{
    font-size: 24px;  
    height: 24px;
    line-height: 16px;
}

.playButton{
    font-size: 18px;  
    height: 24px;
    line-height: 16px;
}
.voiceContainer {
  position: relative;
  overflow-x: auto;   
  overflow-y: hidden; 
  width: 500px;       
  height: 300px;
  background: white;
}

.voiceContainer svg {
  display: block;
}


.voiceWrapper{
  width: 85vw
}

#upperVoiceContainer, #middleVoiceContainer, #lowerVoiceContainer, #voice4Container {
  height: 300px;
  width: 95%;  
  overflow-x: auto;    
  overflow-y: visible; 
  white-space: nowrap;  
  padding-left: 30px;
  background-color: white;
}

#harmonyVoiceContainer {
  flex: 0 0 auto; 
  width: 100% !important;   
  min-width: 100% !important;
  max-width: 100%;
  height: 300px;
  padding-left: 30px;
  background-color: white;
  box-sizing: border-box;
}


#bpmDisplay {
  display: inline-block;
  min-width: 30px; 
}
#bpmSlider {
  width: 270px;
  height: 6px;
  margin-left: 15px;
  background: #575757;
  appearance: none; 
}

#bpmSlider::-webkit-slider-runnable-track {
  background: #575757;
  height: 6px;
  border-radius: 1px;
}

#bpmSlider::-webkit-slider-thumb {
  appearance: none;
  width: 13px;
  height: 13px;
  background: #575757;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -3.5px; 
}

.voiceWrapper {
  display: flex;
  align-items: flex-start; 
}

.voiceSettings {
  height: 300px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  width: 160px;
}

.voiceSettings button {
  font-size: 12px;
  padding: 4px 6px;
  cursor: pointer;
}

#rootSelect {
  width: 60px;  
}

#minRhythm, #maxRhythm {
  height: 30px;
  font-size: 24px;    
  line-height: 1.4; 
}


.output-container, .voiceSettings, .row {
    overflow: visible !important;
}

#reflectSelect{
     text-align: center;       
    text-align-last: center;  
    font-size: 20px;
}

#transposeDropdown {
    text-align: center;       
    text-align-last: center;
    font-size: 20px;
}



#shiftSelect {
    text-align: center;       
    text-align-last: center;  
    font-size: 30px;
}


#shiftSelect option:hover,
#reflectSelect option:hover,
#transposeDropdown option:hover {
    background-color: #d3d3d3;
}



.menu {
    flex: 0 0 auto; 
    width: 300px;   
}



.tabs {
  display: flex;
  width: 100%;
}

.tab-btn {
  flex: 1;
  padding: 8px;
  cursor: pointer;
  border: none;
  background: #eee;
  text-align: center;
}

.tab-btn.active {
  background: #ccc;
}

.tab-content {
  flex: 1 1 100%;  
  width: 100%;     
  min-width: 100%;  
  box-sizing: border-box;
}




.input-menu,
.settings-menu {
  display: block;
  width: 100%;      
  min-width: 100%; 
  box-sizing: border-box;
  padding-top: 30px;
}

.hidden {
  display: none !important;
}