body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
}

h1 {
    color: #333;
}

#addFactForm, #factsTable {
    margin: 20px auto;
    width: 80%;
    max-width: 600px;
}

#newFactInput, #factDate, #newFactBtn {
    margin: 10px 0;
    padding: 10px;
    width: calc(100% - 22px);
    box-sizing: border-box;
}

#signInBtn {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

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

#signOutBtn {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

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

#addFactBtn {
    position: fixed;
    bottom: 20px;
    right: 40px; /* Aligns the button to the right */
    max-width: 200px; /* Sets the maximum width */
    min-width: 200px; /* Sets the minimum width */
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

#addFactBtn:hover, #newFactBtn:hover {
    background-color: #45a049;
}

/* Custom style for the Save Fact button */
#saveFactBtn {
    background-color: #4CAF50; /* Green background color */
    border-color: #4CAF50; /* Green border color */
}

#saveFactBtn:hover {
    background-color: #45a049; /* Slightly darker green on hover */
    border-color: #45a049;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
}

th {
    background-color: #4CAF50;
    color: white;
}

tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

/* Table Styles */
.table {
    border-collapse: separate;
    border-spacing: 0 15px; /* Adds space between rows */
    width: 100%;
    margin-top: 20px; /* Adjust as needed */
}

.table thead th {
    background-color: #4CAF50; /* Primary color */
    color: #ffffff;
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid #dee2e6; /* Light gray border */
}

.table tbody tr {
    background-color: #ffffff; /* White background for rows */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for each row */
}

.table td {
    padding: 15px; /* Spacing inside cells */
    border-bottom: 1px solid #dee2e6; /* Light gray border for separation */
}