* {
 transition: background-color 0.3s ease, color 0.1s ease;
}

body {
 font-family: Arial, sans-serif;
 text-align: center;
 margin: 50px 50px 100px;
 /* Sesuaikan nilai margin di sini */
}

button {
 transition: all 0.3s ease;
}

h1 {
 margin: 0;
 margin-left: 10px;
 font-size: 1.5em;
 color: white;
 /* color: #333; */
 /* margin-bottom: 20px; */
}

.input-container {
 position: relative;
 margin-top: 20px;
 display: flex;
 flex-direction: column;
 align-items: center;
 top: 180px;
}

.download-option {
 white-space: pre-wrap;
}

.input-field,
.select-field,
#audio-format,
.submit-btn {
 padding: 10px;
 border: 1px solid #ccc;
 border-radius: 5px;
 margin: 10px;
 width: 80%;
 box-sizing: border-box;
}

.input-field,
.select-field,
#audio-format {
 width: 100%;
}

.input-field {
 margin-top: 30px;
}

.select-field:hover,
#audio-format:hover {
 background-color: #f0f0f0;
}

body.dark-mode .select-field:hover,
body.dark-mode #audio-format:hover {
 background-color: #3f3f3f;
 color: white;
}

.select-field option.hover {
 background-color: rgb(209, 207, 207);
 color: rgb(0, 0, 0);
}

.submit-btn {
 background-color: #4CAF50;
 color: white;
 border: none;
 cursor: pointer;
}

.submit-btn:hover {
 background-color: #45a049;
}

.disabled-btn {
 background-color: red;
}

.disabled-btn:hover {
 background-color: rgb(155, 6, 6);
}

.start {
 background-color: rgb(179, 161, 7);
}

.start:hover {
 background-color: rgb(196, 186, 57);
}

.open-link-btn,
.seeDetailsVideo {
 background-color: #008CBA;
 color: white;
 border: none;
 padding: 10px;
 border-radius: 5px;
 cursor: pointer;
 margin-top: -3px;
 width: 60%;
}

.seeDetailsVideo {
 margin-top: 10px;
}

.open-link-btn:hover,
.seeDetailsVideo:hover {
 background-color: #006080;
}

.new-line {
 white-space: pre-line;
}

footer {
 background-color: #333;
 color: white;
 padding: 2px;
 position: fixed;
 bottom: 0;
 width: 100%;
 left: 0
}

.sessionCode {
 position: absolute;
 top: 0;
 /* left: 240px; */
 margin: 10px;
 margin-right: 0px;
 padding: 0;
}

@media screen and (min-width: 600px) {
 .sessionCode {
  margin-right: 0px;
 }

 .input-field,
 .select-field,
 #audio-format,
 .submit-btn {
  width: 60%;
 }

}

@media screen and (max-width: 600px) {
 .sessionCode {
  margin-top: -8px;
 }

 .input-field,
 .select-field,
 #audio-format,
 .submit-btn,
 .open-link-btn,
 .seeDetailsVideo {
  width: 90%;
 }

 .input-container {
  top: 100px;
 }
}

@media screen and (max-width: 290px) {
 .sessionCode {
  margin-right: 0px;
  margin-top: -10px;
  font-size: 14px;
 }
}

header {
 background-color: #333;
 color: white;
 padding: 10px;
 position: fixed;
 top: 0;
 right: -13px;
 width: 100%;
 display: flex;
 justify-content: space-between;
 align-items: center;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 z-index: 100;
 text-align: center;
 /* Tambahkan ini untuk membuat teks di tengah */
}

#themeToggle {
 background-color: transparent;
 color: white;
 border: none;
 cursor: pointer;
}

/* Media query untuk header responsif */
@media screen and (max-width: 600px) {
 header {
  padding: 8px;
  margin-bottom: -100px;
 }

 h1 {
  font-size: 1.2em;
 }

 .input-container {
  top: 120px;
 }
}

body.dark-mode {
 background-color: #141414;
 color: #fff;
}

body.dark-mode header * {
 color: #777777
}

body.dark-mode div select,
body.dark-mode div input {
 background-color: #000;
 color: white;
}

.disabledStyle {
 /* background-color: #494949 !important; */
 color: rgb(189, 189, 189) !important;
 cursor: not-allowed;
 border: 1px solid #d0d0d0;
 /* padding: 5px; */
}

.disabledStyle:hover {
 /* background-color: #f8f8f8 !important; */
 background-color: #a0a0a05e !important;
}

.estimatedFile {
 position: absolute;
 bottom: 0;
 left: 0;
 margin: 0;
 padding: 5px;
 color: white;
}