/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;  /* Allow the body to expand to full height */
    flex-direction: column;  /* Vertical stacking of the content */
    overflow-y: visible;  /* Ensure overflow is visible */
}

/* Container */
.container {
    width: 100%;
    max-width: 100%; /* Remove the max-width restriction */
    height: auto;  /* Allow it to take the full height */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;  /* Enable side-by-side layout for sections */
    flex-wrap: wrap;  /* Ensure sections wrap if necessary */
}

/* Form Styles */
form {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: space-between; /* Distribute the items evenly */
}

/* Input Group */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Buttons */
button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049;
}

/* Table Styles */
table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f1f1f1;
}

/* New Section for Side-by-Side Tables */
.table-container {
    display: flex;
    justify-content: space-between;  /* Makes tables align side by side */
    flex-wrap: wrap;
    gap: 20px;  /* Add space between the tables */
}

/* Ensures each table does not stretch too much */
.table-container table {
    width: 48%; /* Keeps each table at almost half the container's width */
    margin: 0;
}

    .table-container table {
        width: 100%;
    }
}

/* Email entry page styles */
.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: auto;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049;
}

#errorMessage {
    margin-top: 10px;
    font-size: 14px;
}

