/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212; /* Dark background */
    color: #f1f1f1; /* Light text color */
}

/* Center the form */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Form styles */
.form-wrapper {
    background: #1f1f1f; /* Dark form background */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.form-wrapper h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #e1e1e1; /* Light heading color */
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #ddd; /* Light label color */
}

.form-group input {
    width: -webkit-fill-available;
    padding: 0.7rem;
    font-size: 1rem;
    border: 1px solid #555; /* Dark border */
    border-radius: 5px;
    outline: none;
    transition: border-color 0.2s;
    background-color: #333; /* Dark input background */
    color: #f1f1f1; /* Light text in inputs */
}

.form-group input:focus {
    border-color: #4A90E2;
}

/* Alert styles */
.alert {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.alert-error {
    background: #FFEAEA;
    color: #D8000C;
    border: 1px solid #D8000C;
}

.alert-success {
    background: #E9F9EC;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

/* General Table Styling */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 1rem;
    text-align: left;
    background-color: #1f1f1f; /* Dark table background */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.styled-table thead {
    background-color: #4A90E2; /* Bright header */
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    border: 1px solid #444; /* Dark border between cells */
}

.styled-table tbody tr:nth-child(even) {
    background-color: #333; /* Darker even rows */
}

.styled-table tbody tr:hover {
    background-color: #444; /* Hover effect for rows */
}

.no-results {
    text-align: center;
    font-size: 1rem;
    color: #bbb; /* Light gray text for no results */
    margin-top: 1rem;
}

/* Results Wrapper */
.results-wrapper {
    background: #1f1f1f; /* Dark results background */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}

.results-wrapper h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #e1e1e1; /* Light heading color */
}

/* Back Button */
.button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    width: -webkit-fill-available;
}

.button:hover {
    background: #357ABD; /* Darker blue on hover */
}
