/* Default light theme */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: var(--bg-color, #f4f4f4);
    color: var(--text-color, #000);
}

.container {
    text-align: center;
    background-color: var(--container-bg-color, #fff);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Add margin between input fields and buttons */
input[type="text"],
textarea {
    width: 100%;
    max-width: 400px;
    padding: 5px;
    margin: 10px 0;
    font-size: 14px;  /* Reduced font size */
    border: 2px solid #ddd;
    border-radius: 4px;
    text-align: left; /* Align text to the left */
}

textarea {
    height: 100px;
    resize: none;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px; /* Add spacing between input and button */
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

/* Region Buttons Styling */
.region-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
}

.regionBtn {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.regionBtn:hover {
    background-color: #218838;
}

/* Add flexbox for aligning buttons */
div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.logo {
    max-width: 150px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
}

/* Dark mode styling */
body.dark {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --container-bg-color: #333;
}

/* Styling for the round toggle switch */
.mode-switch {
    position: absolute;
    top: 20px;
    right: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

/* Hide the checkbox (default toggle) */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider styling for the round toggle */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 2.5px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

/* When checked, move the slider */
input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(25px);
}
