
.content {
    width: 80%;
    padding: 20px;
    box-sizing: border-box;
}


.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.content-container h1 {
    text-align: center;
}

.content h1 {
    text-align: center;
}


.search-bar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-bar input[type="text"] {
    width: 300px;              
    padding: 10px 15px;     
    font-size: 1.1em;       
    border: 2px solid #ccc; 
    border-radius: 6px;     
    transition: border-color 0.3s;
}

.search-bar input[type="text"]:focus {
    border-color: rgb(0, 73, 141); 
    outline: none;
}

.search-bar button, .button, .form button {
    padding: 10px 20px;     
    font-size: 1em;         
    border-radius: 6px;     
    border: none;           
    background-color: rgb(0, 73, 141); 
    color: white;           
    cursor: pointer;        
    transition: background-color 0.3s;
}

.checkbox-wrap {
    display: block;
    width: auto;
    margin-right: 10px;
    transform: scale(1.2);
}

.checkbox-wrap label {
    font-size: 1em;
    vertical-align: middle;
}


.search-bar button:hover {
    background-color: #006ad1; 
}

.table-container {
    flex-grow: 1;
    min-height: 0;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
}

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

.table-container thead th {
    position: sticky;
    top: 0;
    background-color: #003366;
    color: white;
    z-index: 2;
    padding: 12px;
    text-align: center;
    border-bottom: 2px solid #777777;
}

.table-container td {
    padding: 20px;
    border-bottom: 2px solid #777777;
    text-align: center;
    white-space: nowrap; 
}

.table-container tbody tr:hover {
    background-color: #f2f7ff;
}

.table-container a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 500;
}

.table-container a:hover {
    text-decoration: underline;
}

.table-container button {
    padding: 6px;
    display: inline-block;
    margin: 6px;
    font-size: 0.9em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filters {
    padding: 20px;
    background: #c5c5c5;
    border: 1px solid #d4dce6;
    border-radius: 10px;
    display: none;
}

.filters h3 {
    margin-bottom: 8px;
    color: #003366;
}

.filter-type,
.filter-genre {
    margin-bottom: 18px;
}

.filter-type label,
.filter-genre label {
    margin-right: 15px;
}

.filters button {
    padding: 10px 20px;
    background-color: rgb(0, 73, 141);
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.filters button:hover {
    background-color: #006ad1;
}

.button-edit {
    background-color: #ffd900;
}
.button-edit a {
    color: black !important;
}

.button-edit:hover {
    background-color: #ffff6c;
}
.button-delete, .button-cancel {
    background-color: #dc3545;
    color: white !important
}

.button-delete:hover, .button-cancel:hover {
    background-color: #a71d2a;
}

.form button {
    margin: 2px 0;
}

.button-create {
    background-color: #28a745;
}

.button-create:hover {
    background-color: #218838;
}

.button a, .button {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-weight: normal;
    display: block;
    margin: 2px;
}

.errormessage {
    background-color: #dc3545;
    
}

.successmessage {
    background-color: #28a745;
}

.message {
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
    color: white;
}

.form input, .form select, .form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
}

.form label {
    font-weight: bold;
}

.form button[type="submit"] {
    background-color: #28a745;
}

.checkbox-wrap {
    display: block;
    margin-left: 80px;
    margin-bottom: 15px;
}

.checkbox-wrap input {
   width: auto;
   margin-right: 10px;
}


.card {
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  margin: 0 auto;
  width: auto;
  background-color: rgba(224, 224, 224, 1);
  padding: 40px;
  border-top: 5px solid #00172D; 
}
