/** PAGE FORMATTING **/

body {
    overflow-x: visible;
    padding: 0;
    margin: 0;
    color: #001534;
    font-size: 16px;
    font-weight: 400;
    font-family: Titillium Web,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

#content {
    max-width: 980px;
    padding: 75px 50px 50px 50px;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    h1 {
        font-size: 39px;
        line-height: 51px;
        font-weight: 600;
        letter-spacing: 0px;
		margin: 0 auto;
    }
}

@media only screen and (max-width: 769px) {
    h1 {
        font-size: 35px;
        line-height: 45px;
        font-weight: 600;
        letter-spacing: 0px;
        margin: 0;
    }
}

.section-wrapper {
    padding-top: 40px;
}
.middle{
    display: flex;
    justify-content: center;
    text-align: center;
}

button {
    background-color: #fc9937;
    border-radius: 50px;
    border: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: filter 0.5s;
}
button:hover {
    filter: brightness(0.85);
}

.plaintext-item {
    padding-left: 10px;
    padding-right: 10px;
}





input {
    padding: 10px;
    border: none;
    box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.02);
}
input:focus{
    border-color: aliceblue;
    background-color: aliceblue;
    border: none;
}

textarea {
    padding: 10px;
    border: none;
    box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.2);
    min-height: 35px;
}
textarea:focus {
    border-color: aliceblue;
    background-color: aliceblue;
    border: none;
}

select {
    color: slategrey;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    font-size: 15px;
    border: none;
    box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.02);
    min-height: 35px;
}
select:focus {
    border-color: aliceblue;
    background-color: aliceblue;
    border: none;
}

label {
    display: block;
    width: 100%;
}




.centered-div {
    width: 100%;
	text-align: center;
	padding: 15px 0 15px 0;
	font-size: 16px;
	font-weight: 400;
}

.select-app {
    display: flex;
    padding: 2px;
}
.select-app select {
	border-radius: 6px;
    width: 200px;
}
.select-app p {
    display: flex;
    padding: 7px;
    margin: 0;
    width: 80px;
}

.upload-token {
    padding: 25px 0 0 0;
}

.upload-token p {
    padding: 0px;
}

.upload-token-button {
    display: none;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  background-color: #fc9937;
  border-radius: 50%;
  cursor: pointer;
}

.non-selectable {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

#loading-div {
    border: 8px solid #f3f3f3; /* Light gray background */
    border-top: 8px solid #3498db; /* Blue color for the spinner */
    border-radius: 50%; /* Make it round */
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* Spin the loader */
    margin: 20px auto; /* Center the spinner */
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Config Sidebar */
#collapsible {
    margin-top: 15px;
    background-color: gainsboro;
    cursor: pointer;
    padding: 25px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    color: black;
    border-radius: 8px;
}
.active, #collapsible:hover {
    background-color: darkgrey;
}
#collapsible:after {
    content: '\002B';
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
.active:after {
    content: "\2212";
}
#collapsible-content {
    padding: 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.hidden {
    visibility: hidden;
}
.option-group {
    max-width: 800px;
    margin-top: 10px;
}
.dict-entry {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}
.dict-entry input {
    flex: 1;
    box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.2);
}
.delete-btn {
    height: 34px;
    width: 34px;
}
.secondary-btn {
    border-radius: 8px;
    background-color: gainsboro;
}


/** Pretty Checkbox **/

.checkbox-container .control {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
}
.checkbox-container .control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.checkbox-container .control__indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #e6e6e6;
}
.checkbox-container .control:hover input ~ .control__indicator,
.checkbox-container .control input:focus ~ .control__indicator {
  background: #ccc;
}
.checkbox-container .control input:checked ~ .control__indicator {
  background: #466DD6;
}
.checkbox-container .control:hover input:not([disabled]):checked ~ .control__indicator,
.checkbox-container .control input:checked:focus ~ .control__indicator {
  background: #466DD6;
}
.checkbox-container .control input:disabled ~ .control__indicator {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}
.checkbox-container .control__indicator:after {
  content: '';
  position: absolute;
  display: none;
}
.checkbox-container .control input:checked ~ .control__indicator:after {
  display: block;
}
.checkbox-container .control--checkbox .control__indicator:after {
  left: 8px;
  top: 4px;
  width: 3px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-container .control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b;
}
