* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1.1rem;
}

.roboto {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

body {
    font-family: "Roboto", Arial, sans-serif;
    background: #fff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 8px;
}

h1 {
    font-size: 2.6rem; 
    margin-bottom: 10px; 
    font-weight: 700;
}

h2 {
    font-size: 1.6rem; 
    margin-bottom: 10px; 
    font-weight: 300;
}

.article-header-h1 {
    font-size: 1.1rem; 
    color: #555;
    margin-bottom: 50px; 
    
}

p {
    font-weight: 150
}

.select-container {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    gap: 10px; 
    margin-bottom: 20px;
}

.select-group {
    flex: 1; 
    min-width: 200px; 
}

select {
    width: 100%; 
    padding-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid lightgrey;
    border-radius: 24px;
    font-size: 0.9rem;
    color: #333;
    -webkit-appearance: none; 
    -moz-appearance: none;    
    appearance: none;
    height: 40px; 
}

textarea {
    width: 100%;
    height: 300px;
    padding: 10px;
    font-size: 0.8rem;
    border: 1px solid lightgrey;
    border-radius: 3.5px;
    resize: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 450;
}

button {
    border: 1px solid green;
    background-color: green;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.1rem;
    color: white;
    font-weight: 250;
}

button:hover {
    background-color: rgb(0, 108, 0);
    color: white;
}

button:active {
    border: 1px solid rgb(0, 84, 0);
    background-color: rgb(0, 84, 0);
    color: white;
}

.custom-file-upload, #copyBtn {
    display: inline-block;
    padding:  0.5rem 1rem;
    margin: 10px 0;
    border: 1px solid #333;
    background-color: #fff;
    border-radius: 24px;
    cursor: pointer;
    font-size: 1.0rem;
    color: green;
    font-weight: 250 !important;
}

#copyBtn {
    font-family: "Roboto", sans-serif; 
    font-weight: 250;
}

.custom-file-upload:hover, #copyBtn:hover {
    background-color: rgba(0, 141, 0, 0.146);
    border-color: rgba(0, 141, 0, 0.146);
}

.response {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    padding: 10px;
    font-size: 0.9rem;
    background: #f8f8f8;
    border-radius: 3.5px;
    border: 1px solid #ccc;
    overflow-y: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.separator {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #fff;
}

.top-bar,
.article-header {
    text-align: center; 
    margin-bottom: 20px; 
}

.upload-container {
    margin-bottom: 40px; 
  }
  
  .file-instructions {
    font-size: 0.7rem; 
    color: #555; 
    margin-bottom: 10px; 
  }
  
#sendBtn {
    display: block;
    margin-bottom: 10px;
}

.spinner {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

#loadingIndicator {
    display: none;
    text-align: center;
}

footer, footer * {
    font-size: 0.7rem !important;
    color: grey !important;
}

.tooltip {
    position: relative;
    cursor: pointer;
    font-size: 0.7em;
    color: grey;
}

label, .tooltip {
    display: inline;
  }

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

select {
    background-color: white !important;
}

/* Voor iOS-specifieke styling */
select::-webkit-select-placeholder {
    background-color: white;
}

select:focus {
    background-color: white !important;
}

/* Verwijdert de standaard blauwe highlight op sommige mobiele apparaten */
select:active {
    background-color: white !important;
}

#upload-feedback {
    display: none;
    color: green;
    font-weight: 400;
    font-size: 0.8rem;
  }
  