html, body {
    height: 100%;
    margin: 0;
}

body {
    display: block;
    position: relative;
    padding-bottom: 100px; /* Height of the footer */
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    background-color: #121212;
    color: #e0e0e0;
    font-family: monospace;
}

main {
    display: block;
    width: 100%;
}

h1 {
    text-align: center;
    margin-top: 20px;
}

.navbar {
    background-color: #1f1f1f;
    padding: 10px 20px;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: larger;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar-links {
    display: flex;
    align-items: center;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.navbar-links a:hover {
    text-decoration: underline;
}

.navbar-user {
    margin-right: 20px;
}

.series-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px;
    margin: 16px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #1e1e1e;
    max-width: 150px;
    position: relative;
    box-sizing: border-box;
}


.card img {
    width: 50px;
    height: 50px;
}

.card .serie-name {
    margin-top: 8px;
    font-size: 18px;
    font-weight: bold;
}

.serie-radio {
    display: none;
}

.serie-label {
    display: block;
    cursor: pointer;
}

.serie-radio:checked + .serie-label {
    border: 2px solid #007bff;
    border-radius: 8px;
    box-sizing: border-box;
}

.form-group {
    text-align: center;
    margin-top: 16px;
}

form label {
    display: block;
    margin-bottom: 4px;
}

form input {
    width: 200px;
    padding: 8px;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
}

.submit-button {
    margin-top: 32px;
    padding: 8px 16px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    margin: 12px auto;
}

.submit-button:hover {
    background-color: #555;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #2c2c2c;
}

.table-container .card {
    width: 80%;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #1e1e1e;
    margin: 20px auto;
}

.form-container {
    max-width: 400px;
    width: 100%;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .form-container {
        width: 90%;
        padding: 10px;
    }
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #e0e0e0;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #e0e0e0;
}

.form-container input[type="text"],
.form-container input[type="password"] {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #333;
    color: #e0e0e0;
}

.form-container button[type="submit"] {
    padding: 10px;
    background-color: #333;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-family: monospace;
}

.form-container button[type="submit"]:hover {
    background-color: #555;
}

.form-container .error-message {
    color: red;
    margin-bottom: 15px;
    text-align: center;
}

.form-parent-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

form input[type="text"]{
    border-radius: 5px;
    background-color: #1e1e1e;
    color: #e0e0e0;
}

.provider-section {
    text-align: center;
    margin-bottom: 20px;
}

.provider-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.provider-label img {
    height: 50px;
    margin-left: 20px;
}

.footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #1f1f1f;
    padding: 10px 20px;
    color: #e0e0e0;
    text-align: center;
}

.footer-container {
    display: block;
    text-align: center;
    font-size: smaller;
}

.footer-links {
    display: inline-block;
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 10px;
}

@media (max-width: 600px) {
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-links {
        flex-direction: column;
        width: 100%;
    }

    .navbar-links a {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
        text-align: left;
    }

    .navbar-user {
        margin-bottom: 10px;
    }
}

.form-group{ 
    margin-bottom: 20px
}

.form-group a {
    color: inherit; /* Use the same color as the surrounding text */
    text-decoration: none; /* Remove underline */
}

.form-group a:hover {
    text-decoration: underline; /* Add underline on hover for better UX */
}

td {
    font-size: larger;
    text-align: center;
}