.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
}

input[type="file"] {
    display: block;
    margin-bottom: 10px;
}

button {
    display: block;
    margin: 0 auto;
}

.success {
    color: green;
}

.error {
    color: red;
}

.button-loader-wrapper {
    display: inline-flex;
    align-items: center;
  }
  
  .loader {
    border: 4px solid #f3f3f3; /* Adjust border size to reduce overall diameter */
    border-top: 4px solid #3498db; /* Same adjustment here */
    border-radius: 50%;
    width: 22px; /* Adjust width (diameter) to match the button's height */
    height: 22px; /* Adjust height (diameter) to match the button's height */
    animation: spin 2s linear infinite;
    margin-left: 10px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(18px); /* Reduced the translate value here */
}

/* Rounded sliders */
.slider.round {
    border-radius: 20px; /* Same as the height of the .switch */
}

.slider.round:before {
    border-radius: 50%;
}

.flex-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.flex-container p {
    margin-right: 10px;
}

#status {
    margin-top: 20px; /* Adjust this value to create the space you need */
}