body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9fafb; /* Light modern background */
    color: #333; /* Dark gray text for readability */
    line-height: 1.6;
}

header {
    background: #2c3e50; /* Modern dark blue-gray */
    color: #ecf0f1; /* Light gray text */
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
    margin-top: 60px;
}

nav {
    margin: 20px 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 40px 20px;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background: #ffffff; /* White background for sections */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #34495e; /* Slightly darker blue-gray */
    font-size: 1.8rem;
    margin-bottom: 15px;
}

section p, section ul {
    font-size: 1rem;
    margin-bottom: 15px;
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

ul li strong {
    color: #e74c3c; /* Modern red for emphasis */
}

form {
    margin-top: 20px;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

form button {
    display: inline-flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    gap: 8px; /* Add spacing between the spinner and text */
    position: relative; /* Ensure proper positioning for spinner */
    background: #27ae60; /* Modern green */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #2ecc71; /* Lighter green on hover */
}

form button:disabled {
    background: #95a5a6; /* Gray background for disabled state */
    cursor: not-allowed; /* Show "not-allowed" cursor */
    opacity: 0.7; /* Slightly transparent to indicate disabled state */
    transition: none; /* Disable hover effects */
}

button {
    background: #2980b9; /* Modern blue */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #3498db; /* Lighter blue on hover */
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #2c3e50; /* Same as header */
    color: #ecf0f1;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3; /* Light gray */
    border-top: 2px solid #3498db; /* Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px; /* Add spacing between spinner and text */
}

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

.error {
    color: #e74c3c; /* Red color for error messages */
    font-weight: bold; /* Make the error message stand out */
    margin-top: 10px; /* Add some spacing above the error message */
}

.warning {
    color: #e67e22; /* Orange color for warning messages */
    font-weight: bold; /* Make the warning message stand out */
    background-color: #fcf8e3; /* Light yellow background for warnings */
    border: 1px solid #f5c6a5; /* Subtle border for emphasis */
    padding: 10px; /* Add padding for spacing */
    border-radius: 5px; /* Rounded corners for a modern look */
    margin-top: 10px; /* Add spacing above the warning */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Style the table */
table {
    width: 100%; /* Make the table take up the full width of its container */
    border-collapse: collapse; /* Remove gaps between table cells */
    margin-top: 15px; /* Add some spacing above the table */
    background-color: #ffffff; /* White background for the table */
    border: 1px solid #ddd; /* Light border around the table */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for a modern look */
}

/* Style the table header */
table th {
    background-color: #2c3e50; /* Dark blue-gray background for header */
    color: #ecf0f1; /* Light text color for header */
    text-align: left; /* Align text to the left */
    padding: 10px; /* Add padding inside header cells */
    font-size: 1rem; /* Adjust font size */
}

/* Style the table rows */
table td {
    padding: 10px; /* Add padding inside table cells */
    border: 1px solid #ddd; /* Light border between cells */
    font-size: 0.9rem; /* Slightly smaller font size for table content */
    color: #333; /* Dark gray text for readability */
}

/* Style footer links */
footer a {
    color: #ecf0f1; /* Light gray for better contrast */
    text-decoration: none; /* Remove underline */
}

footer a:hover {
    color: #3498db; /* Bright blue on hover for emphasis */
    text-decoration: underline; /* Add underline on hover */
}