body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}
form {
    display: flex;
    flex-direction: column;
}
input[type="number"],
input[type="date"],
input[type="time"],
select {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: calc(100% - 22px);
}
input[type="submit"] {
    background-color: #5cb85c;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
input[type="submit"]:hover {
    background-color: #4cae4c;
}
.result {
    margin-top: 15px;
    background: #e7f4e7;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #d4edda;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    padding-top: 100px;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.export-controls {
  margin-top: 20px;
}

/* make the buttons line up in one row */
.export-controls .button-row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* give the email field its own line, centered or right-aligned */
.export-controls .email-row {
  margin-top: 10px;
  display: flex;
  justify-content: center; /* or center, if you prefer */
}

.export-email {
  width: 250px;      /* adjust as needed */
  padding: 8px;
  font-size: 14px;
}

/* button basics */
.btn {
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* primary vs. secondary style */
.btn.primary {
  background-color: #4CAF50;
  color: white;
}

.btn.secondary {
  background-color: #ccc;
  color: #333;
}

/* ---------------------------------------------
   Confirmation / Error “message‐box” styles
   (moved from inline <style> in export.php)
   --------------------------------------------- */

.message-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
}

.message-box h1 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333333;
}

.message-box p {
    font-size: 1rem;
    color: #555555;
    margin: 15px 0;
}

.message-box .success {
    color: #007a00; /* donkergroen voor succes */
}

.message-box .error {
    color: #cc0000; /* donkerrood voor fouten */
}

.message-box a.button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    text-decoration: none;
    background-color: #007BFF;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
}

.message-box a.button:hover {
    background-color: #0056b3;
}
