body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #35424a;
    color: white;
    min-height: 70px;
    border-bottom: #e8491d 3px solid;
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header ul {
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px 0 20px;
}



header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
}

header nav {
    float: right;
    margin-top: 20px;
}

header nav ul {
    display: flex;
    align-items: center;
}

.top-auth-links {
    background: #2c3e50;
    padding: 5px 0;
    text-align: right;
}

.top-auth-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    margin-left: 15px;
    padding: 2px 8px;
    border-radius: 3px;
}

.top-auth-links a:hover {
    background: #34495e;
}

header .highlight, header .current a {
    color: #e8491d;
    font-weight: bold;
}

header a:hover {
    color: #cccccc;
    font-weight: bold;
}

h1, h2, h3 {
    color: #35424a;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    border-bottom: 2px solid #35424a;
    padding-bottom: 10px;
    margin-top: 30px;
}

h3 {
    color: #e8491d;
}

a {
    color: #e8491d;
    text-decoration: none;
}

a:hover {
    color: #35424a;
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #e8491d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.btn:hover {
    background: #35424a;
    color: white;
}

.category {
    background: white;
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.category h2 {
    margin-top: 0;
    border-bottom: 2px solid #e8491d;
    padding-bottom: 10px;
}

.category ul {
    list-style-type: none;
    padding-left: 0;
}

.category li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.category li:last-child {
    border-bottom: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #35424a;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #35424a;
    color: white;
}

form {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

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

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

form input[type="submit"] {
    background: #e8491d;
    color: white;
    border: none;
    cursor: pointer;
    width: auto;
    padding: 10px 20px;
}

form input[type="submit"]:hover {
    background: #35424a;
}

.media-highlight {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 20px auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container.large {
    max-width: 1000px;
}

.video-container iframe[src*="bilibili.com"] {
    width: 100%;
    height: 100%;
}

footer {
    background: #35424a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.contact-form {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.checkbox-label {
    font-weight: normal;
    cursor: pointer;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    background: #f4f4f4;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.auth-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.auth-form h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #35424a;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
}

.welcome-content {
    text-align: center;
    margin: 40px 0;
}

.welcome-content h1 {
    color: #35424a;
    margin-bottom: 20px;
}

.dashboard-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.dashboard-card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
}

.dashboard-card h2 {
    color: #e8491d;
    margin-top: 0;
}

@media (max-width: 768px) {
    .dashboard-sections {
        flex-direction: column;
        align-items: center;
    }
    
    .dashboard-card {
        width: 100%;
        max-width: 300px;
    }
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-header h2 {
    margin: 0;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.user-table th, 
.user-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.user-table th {
    background-color: #35424a;
    color: white;
}

.user-table tr:last-child td {
    border-bottom: none;
}

.user-table tr:hover {
    background-color: #f5f5f5;
}