/* General body styling */
body {
    background-color: #0d0f24;
    color: white;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Header styling */
.header {
    background-color: white;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header img {
    width: 80px;
    height: auto;
}

.header .user-info {
    font-size: 0.85rem;
    color: #555;
}

/* Main container styling */
.container {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    gap: 20px;
}

/* Left column (chapters) styling */
.chapters {
    width: 25%;
    background-color: #1e1e2f;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chapter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chapter-list li {
    margin: 10px 0;
}

.chapter-list .btn-link {
    width: 100%;
    text-align: left;
    padding: 10px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background-color: transparent;
}

.chapter-list .btn-link:hover {
    text-decoration: underline;
}

/* Right column (editor) styling */
.editor {
    width: 75%;
    background-color: white;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Login Page Specific Styling */
.login-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #0d0f24;
}

.login-form {
    width: 100%;
    max-width: 400px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    text-align: center;
}

.login-form .form-check-label {
    margin-left: 8px;
}

/* Form Controls */
.form-control {
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    outline: none;
    border-color: #fc631d;
    box-shadow: 0 0 5px rgba(252, 99, 29, 0.5);
}

/* Buttons */
.btn-primary {
    background-color: #fc631d;
    border-color: #fc631d;
    padding: 10px 20px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #d95418;
    border-color: #d95418;
}

.btn-link {
    color: #fc631d;
    text-decoration: none;
    padding: 0;
}

.btn-link:hover {
    text-decoration: underline;

/* Footer Styling */
footer {
    text-align: center;
    color: #aaa;
    margin-top: 20px;
    font-size: 0.85rem;
}

/* Table Styling */
.table-striped {
    background-color: white;
    color: black;
    border-radius: 8px;
    overflow: hidden;
}

.table-striped thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: black;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: white;
}

.table-striped tbody tr:hover {
    background-color: #e9ecef;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .chapters, .editor {
        width: 100%;
    }
}
