/* Doku stuff
Front Color: #f2ddb1
Hover Color: #ebab21*/


/* Enhanced Link Styling */
a {
    color: #f2ddb1; /* Front Color for links */
    transition: color 0.3s ease;
}

a:hover, a:active {
    color: #ebab21; /* Hover Color for links */
}

a:focus {
    outline: 2px dashed #ebab21;
    outline-offset: 2px;
}

/* Generic Styling / Page Layout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.header-theme-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-layout-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icon-button,
.header-layout-toggle {
    border: 1px solid rgba(156, 163, 175, 0.8);
    border-radius: 8px;
    background: #111827;
    color: #f9fafb;
    cursor: pointer;
    font-weight: 600;
}

.header-icon-button {
    display: inline-flex;
    width: 2.1rem;
    height: 2.1rem;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
}

.header-layout-toggle {
    padding: 0.4rem 0.7rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

body.layout-desktop .header-icon-button {
    display: none;
}

.header-icon-button:focus,
.header-layout-toggle:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 1px;
}

.orientation-helper {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.52);
    pointer-events: none;
}

.orientation-helper[hidden] {
    display: none;
}

.orientation-helper-card {
    width: min(420px, 100%);
    border-radius: 12px;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.25);
    pointer-events: auto;
}

.orientation-helper-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: #111827;
}

.orientation-helper-card p {
    margin: 0;
    color: #374151;
}

.orientation-helper-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
}

.orientation-helper-dismiss,
.orientation-helper-desktop {
    border-radius: 8px;
    border: 1px solid #9ca3af;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

.orientation-helper-dismiss {
    background: #f3f4f6;
    color: #111827;
}

.orientation-helper-desktop {
    background: #111827;
    color: #f9fafb;
}

.header-theme-control label {
    color: #e5e7eb;
    font-size: 0.85rem;
    font-weight: 600;
}

.header-theme-control select {
    border: 1px solid #6b7280;
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    background: #111827;
    color: #f9fafb;
    font-size: 0.85rem;
}

.header-theme-control select:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 1px;
}

body.layout-mobile .header-row {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

body.layout-mobile .header-brand {
    flex: 1 1 auto;
}

body.layout-mobile .header-brand .text-xl {
    font-size: 0.95rem;
    line-height: 1.25;
}

body.layout-mobile .header-theme-control {
    margin-left: auto;
}

body.layout-mobile .header-layout-toggle {
    font-size: 0.75rem;
    padding: 0.34rem 0.58rem;
}

body.layout-mobile .container {
    padding: 0 0.65rem;
}

body.layout-mobile .container > nav {
    position: fixed;
    left: 0;
    top: 0;
    width: min(84vw, 320px);
    max-width: none;
    min-width: 0;
    height: 100vh;
    border-radius: 0;
    z-index: 1300;
    transform: translateX(-105%);
    transition: transform 220ms ease;
    padding-top: 5.2rem;
}

body.layout-mobile.mobile-nav-open .container > nav {
    transform: translateX(0);
}

body.layout-mobile .container > main {
    overflow: visible;
    padding-top: 0.5rem;
}

body.layout-mobile.mobile-nav-open .container > main {
    pointer-events: none;
    user-select: none;
}

body.layout-mobile.mobile-nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.45);
    z-index: 1200;
    pointer-events: none;
}

body.layout-desktop .container {
    min-width: 1120px;
    overflow-x: auto;
}

body.layout-desktop .container > nav {
    position: sticky;
    top: 60px;
    height: auto;
    max-height: calc(100dvh - 120px);
    transform: none;
}

body.layout-mobile.phone-landscape .container {
    padding: 0 0.5rem;
}

body.layout-mobile.phone-landscape .container > nav {
    display: none;
}

body.layout-mobile.mobile-nav-open .container > nav {
    display: block;
    transform: translateX(0);
}

body.layout-mobile.phone-landscape .container > main {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.layout-mobile.phone-landscape .book-page,
body.layout-mobile.phone-landscape .payout-page,
body.layout-mobile.phone-landscape .sales-page {
    width: 100%;
    max-width: none;
}

body.layout-mobile.phone-landscape .book-section,
body.layout-mobile.phone-landscape .payout-section,
body.layout-mobile.phone-landscape .sales-section {
    margin-left: 0;
    margin-right: 0;
}
.container {
    display: flex;
    flex: 1;
}
/* Enhanced Link Styling */
a {
    text-decoration: none; /* Remove underline */
    color: #007bff; /* Bright blue, common for links */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

a:hover, a:active {
    color: #0056b3; /* Darker shade of blue on hover/active for better visibility */
    text-decoration: underline; /* Underline on hover to indicate it's clickable */
}

a:focus {
    outline: 2px dashed #0056b3; /* Dashed outline on focus for accessibility */
    outline-offset: 2px; /* Space between outline and element border */
}
main {
    flex: 1;
    padding: 20px;
    overflow-y: visible;
}
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    position: sticky;
    bottom: 0;
    width: 100%;
}

.site-footer {
    text-align: left;
    width: min(1100px, 100%);
    margin: 0 auto;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.site-footer-brand h3,
.site-footer-links h4 {
    margin: 0 0 8px;
    color: #f2cf7c;
}

.site-footer-brand p {
    margin: 0;
    color: #f1f1f1;
    line-height: 1.55;
    max-width: 56ch;
}

.site-footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.site-footer a {
    color: #f7f3e6;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:active {
    color: #f2cf7c;
}

.site-footer-meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(242, 207, 124, 0.35);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #ececec;
    font-size: 0.93rem;
}

.footer-separator {
    color: rgba(242, 207, 124, 0.6);
}

@media (max-width: 900px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .site-footer-meta {
        gap: 6px;
    }
}

/* Modal Styling */
errors {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    min-width: 200px;
    max-width: 400px;
    background-color: rgb(255, 151, 151);
    border-radius: 15px; /* Rounded edges */
    border: 2px solid #333; /* Border */
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Login Form */
.login-form {
    background-color: #f5f5f5; /* Light gray background for contrast */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 0 auto; /* Center the form */
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    color: #333; /* Dark text color for readability */
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff; /* White background for input fields */
}

.login-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #ebab21; /* A warm gold color to match the hover color */
    color: #000; /* Black text color */
    font-size: 16px;
    cursor: pointer;
}

.login-form input[type="submit"]:hover {
    background-color: #d39e00; /* A slightly darker gold for hover state */
}

body.theme-daviyan .login-form {
    background: linear-gradient(170deg, rgba(14, 23, 36, 0.94), rgba(11, 19, 31, 0.9));
    border: 1px solid rgba(205, 167, 96, 0.4);
    box-shadow: 0 18px 40px rgba(2, 8, 16, 0.38);
}

body.theme-daviyan .login-form label {
    color: #d8c9a7;
}

body.theme-daviyan .login-form input[type="text"],
body.theme-daviyan .login-form input[type="password"] {
    background: rgba(8, 14, 24, 0.92);
    color: #eadbb9;
    border: 1px solid rgba(190, 152, 84, 0.46);
}

body.theme-daviyan .login-form input[type="text"]:focus,
body.theme-daviyan .login-form input[type="password"]:focus {
    outline: 2px solid rgba(229, 196, 128, 0.85);
    outline-offset: 1px;
    border-color: rgba(229, 196, 128, 0.85);
}

body.theme-daviyan .login-form input[type="submit"] {
    background: linear-gradient(180deg, rgba(214, 177, 102, 0.38), rgba(164, 124, 56, 0.4));
    color: #f1e2c0;
    border: 1px solid rgba(222, 188, 124, 0.5);
}

body.theme-daviyan .login-form input[type="submit"]:hover {
    background: linear-gradient(180deg, rgba(230, 195, 130, 0.5), rgba(178, 136, 64, 0.45));
}

body.theme-schattenprinz .login-form {
    background: linear-gradient(170deg, rgba(35, 10, 13, 0.94), rgba(25, 8, 10, 0.93));
    border: 1px solid rgba(225, 156, 59, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.44);
}

body.theme-schattenprinz .login-form label {
    color: #e3b679;
}

body.theme-schattenprinz .login-form input[type="text"],
body.theme-schattenprinz .login-form input[type="password"] {
    background: rgba(27, 8, 10, 0.95);
    color: #f9d9a1;
    border: 1px solid rgba(214, 143, 48, 0.5);
}

body.theme-schattenprinz .login-form input[type="text"]:focus,
body.theme-schattenprinz .login-form input[type="password"]:focus {
    outline: 2px solid rgba(255, 172, 63, 0.88);
    outline-offset: 1px;
    border-color: rgba(255, 172, 63, 0.88);
}

body.theme-schattenprinz .login-form input[type="submit"] {
    background: linear-gradient(180deg, rgba(190, 27, 27, 0.45), rgba(167, 92, 24, 0.44));
    color: #ffe0a7;
    border: 1px solid rgba(236, 165, 66, 0.55);
}

body.theme-schattenprinz .login-form input[type="submit"]:hover {
    background: linear-gradient(180deg, rgba(216, 48, 48, 0.56), rgba(199, 111, 31, 0.52));
}



/* 404 Page */
.page404 {
    text-align: center;
}
.page404 h1 {
    font-size: 6em;
    margin: 0;
    color: #ff6347;
}
.page404 p {
    font-size: 1.5em;
    margin: 20px 0;
}
.page404 a {
    color: #ff6347;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}
.page404 a:hover {
    color: #333;
}

/* Button Styling */
.button {
    display: inline-block;
    padding: 10px 20px; /* Consistent padding with navigation and login */
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #000; /* Black text color to match the navigation and login buttons */
    background-color: #f2ddb1; /* Same background color as navigation and login */
    border: none;
    border-radius: 5px; /* Rounded corners consistent with navigation and login */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for background color and text color */
}

.button:hover {
    background-color: #ebab21; /* Same hover color as navigation and login */
    color: #fff; /* White text on hover */
}

/* Secondary Button Styling */
.button-secondary {
    background-color: #6c757d; /* A neutral gray color for secondary actions */
    color: #fff; /* White text for secondary buttons */
}

.button-secondary:hover {
    background-color: #5a6268; /* Slightly darker gray on hover */
    color: #fff; /* Keep text white on hover */
}

/* Danger Button Styling */
.button-danger {
    background-color: #dc3545; /* Red color for danger actions */
    color: #fff; /* White text for danger buttons */
}

.button-danger:hover {
    background-color: #c82333; /* Darker red on hover */
    color: #fff; /* Keep text white on hover */
}


/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 12px; /* Smaller font size for more data per page */
    color: #333;
}

.table th,
.table td {
    padding: 4px 5px; /* Reduced padding for tighter spacing */
    border: 1px solid #ddd;
    text-align: left;
}

.table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.table tr:nth-child(even) {
    background-color: #f9f9f9;
}

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

.table td {
    padding: 8px 10px; /* Consistent with the reduced padding */
}


/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: Arial, sans-serif; /* Use a consistent font family */
    color: #333; /* Dark gray color for all headings */
    margin-top: 0; /* Remove top margin for tighter spacing */
    margin-bottom: 25px; /* Increased bottom margin for more spacing */
    font-weight: bold; /* Bold font weight for all headings */
    line-height: 1.2; /* Line height for readability */
}

/* Specific Styles for Each Heading Level */
h1 {
    font-size: 3em; /* Larger heading */
    margin-bottom: 30px; /* Larger margin for emphasis */
}

h2 {
    font-size: 2.5em; /* Larger font size */
    margin-bottom: 28px; /* Increased margin for spacing */
}

h3 {
    font-size: 2em; /* Larger font size */
    margin-bottom: 26px; /* Increased margin for spacing */
}

h4 {
    font-size: 1.75em; /* Larger font size */
    margin-bottom: 24px; /* Increased margin for spacing */
}

h5 {
    font-size: 1.5em; /* Larger font size */
    margin-bottom: 22px; /* Increased margin for spacing */
}

h6 {
    font-size: 1.25em; /* Larger font size */
    margin-bottom: 20px; /* Increased margin for spacing */
    color: #666; /* Slightly lighter color for less emphasis */
}


/* Logo Class */
.logo-class {
    max-width: 100px;
    height: auto;
    display: block; /* Ensure the logo is displayed as a block element */
    margin: 10px 0; /* Adjust margin as needed */
}

/* Shared dashboard layout/styles */
.book-page,
.payout-page,
.sales-page {
    width: 100%;
    max-width: none;
    flex: 1;
    min-width: 0;
}

.book-page {
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: none;
    padding: 0 1rem;
    box-sizing: border-box;
}

.container > nav {
    flex-shrink: 0;
    min-width: 180px;
    max-width: 220px;
    background: linear-gradient(180deg, #f5f5f5 0%, #e5e5e5 100%);
    border: 1px solid #d4d4d4;
    border-radius: 12px;
    padding: 0.6rem;
    box-shadow: none;
    position: sticky;
    top: 60px;
    height: auto;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
}

.container > nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.container > nav li {
    margin-bottom: 0.45rem;
}

body.mobile-nav-open {
    overflow: hidden;
}

.container > main {
    flex: 1;
    min-width: 0;
    width: 100%;
    overflow-y: visible;
}

/* Avoid nested page-like scrollbar inside sales Tabulator container */
.sales-page #sales-table .tabulator-tableholder {
    overflow-y: hidden;
}

@media (max-width: 900px) {
    body.layout-mobile .book-title,
    body.layout-mobile .payout-title,
    body.layout-mobile .sales-title {
        font-size: 1.45rem;
    }

    body.layout-mobile .book-intro,
    body.layout-mobile .payout-intro,
    body.layout-mobile .sales-intro {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }

    body.layout-mobile .book-section,
    body.layout-mobile .payout-section,
    body.layout-mobile .sales-section {
        padding: 0.72rem;
    }

    body.layout-mobile .table-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    body.layout-mobile .table-action-btn,
    body.layout-mobile .book-filter-reset,
    body.layout-mobile .sales-filter-reset {
        min-height: 2.2rem;
        padding: 0.45rem 0.65rem;
        font-size: 0.84rem;
    }

    body.layout-mobile .tabulator {
        font-size: 0.82rem;
    }

    body.layout-mobile .tabulator .tabulator-page {
        min-width: 2rem;
        min-height: 2rem;
        line-height: 2rem;
    }

    body.layout-mobile #payoutChart,
    body.layout-mobile #booktypePieChart,
    body.layout-mobile #booktypeRevenueChart,
    body.layout-mobile #salesRoyaltyChart {
        max-height: 280px;
    }

    body.layout-mobile .tabulator,
    body.layout-mobile #book-table,
    body.layout-mobile #sales-table,
    body.layout-mobile #sales-project-table,
    body.layout-mobile #payout-table,
    body.layout-mobile #sales-summary-table,
    body.layout-mobile #dashboard-table {
        overflow-x: auto;
    }

}

.container > nav a {
    display: block;
    color: #262626;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
    text-decoration: none;
}

.container > nav a:hover,
.container > nav a:focus {
    background: #d4d4d4;
    color: #111111;
    transform: translateX(2px);
    text-decoration: none;
}

.container > nav .active,
.container > nav a[aria-current="page"] {
    background: #a3a3a3;
    color: #111111;
    font-weight: 600;
}

.book-title,
.payout-title,
.sales-title {
    margin-bottom: 0.4rem;
    font-size: 1.9rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2937;
}

h2.book-title,
h2.payout-title,
h2.sales-title {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.9rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2937;
}

.book-intro,
.payout-intro,
.sales-intro {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #4b5563;
    font-size: 1rem;
}

.book-section,
.payout-section,
.sales-section {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 1rem;
    background: #ffffff;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.book-section h3,
.payout-section h3,
.sales-section h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
}

.book-section > h3,
.payout-section > h3,
.sales-section > h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
}

.book-filter,
.sales-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1rem;
    align-items: end;
}

.profile-password-current {
    grid-column: 1 / -1;
}

.date-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
}

.book-filter-field,
.sales-filter-field,
.date-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.date-field {
    min-width: 220px;
}

.book-filter-field label,
.sales-filter-field label,
.date-field label {
    font-weight: 600;
    color: #374151;
}

.book-filter-field select,
.sales-filter-field select,
.sales-filter-field input[type="text"],
.sales-filter-field input[type="password"],
.sales-filter-field input[type="date"],
.date-field input[type="date"] {
    border: 1px solid #9ca3af;
    border-radius: 6px;
    padding: 0.5rem 0.6rem;
    background: #fff;
    color: #111827;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

.sales-filter-field select[multiple] {
    min-height: 7.5rem;
    padding: 0.35rem;
}

.date-field input[type="date"] {
    font-size: 1rem;
}

#author-filter {
    border: 1px solid #9ca3af;
    border-radius: 6px;
    padding: 0.35rem;
    background: #ffffff;
    color: #111827;
    font-size: 0.9rem;
    width: 100%;
    min-height: 7.5rem;
    box-sizing: border-box;
}

#author-filter option {
    background: #ffffff;
    color: #111827;
}

.book-filter-field select:focus,
.sales-filter-field select:focus,
.sales-filter-field input[type="text"]:focus,
.sales-filter-field input[type="password"]:focus,
.sales-filter-field input[type="date"]:focus,
.date-field input[type="date"]:focus,
#author-filter:focus {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
    border-color: #2563eb;
}

.book-filter-actions,
.sales-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.book-filter-reset,
.sales-filter-reset {
    border: 1px solid #9ca3af;
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    background: #f9fafb;
    color: #111827;
    font-weight: 600;
    cursor: pointer;
}

.book-filter-reset:hover,
.sales-filter-reset:hover {
    background: #f3f4f6;
}

.book-filter-reset:focus,
.sales-filter-reset:focus {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}

.table-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
    gap: 0.35rem;
}

.table-action-btn {
    border: 1px solid #d4d4d4;
    background: #fafafa;
    color: #525252;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.78rem;
    line-height: 1.1;
}

.profile-feedback {
    border: 1px solid #86efac;
    background: #f0fdf4;
    color: #14532d;
}

.profile-feedback-container {
    margin-bottom: 0.8rem;
}

.profile-feedback-error {
    border-color: #fca5a5;
    background: #fff1f2;
    color: #9f1239;
}

.profile-feedback h3 {
    color: #166534;
}

#book-table,
#sales-table,
#sales-project-table,
#payout-table,
#sales-summary-table,
#dashboard-table {
    width: 100%;
}

#payoutChart {
    width: 100%;
    max-height: 420px;
}

#booktypePieChart {
    width: 100%;
    max-height: 360px;
}

#booktypeRevenueChart {
    width: 100%;
    max-height: 340px;
}

#salesRoyaltyChart {
    width: 100%;
    max-height: 340px;
}

.tabulator {
    width: 100% !important;
    min-width: 0;
}

.tabulator .tabulator-footer {
    border-top: 1px solid #d1d5db;
    background: #f5f5f5;
}

.tabulator .tabulator-page {
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    color: #262626;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.tabulator .tabulator-page:hover {
    background: #e5e5e5;
    border-color: #a3a3a3;
    color: #111111;
}

.tabulator .tabulator-page.active {
    background: #a3a3a3;
    border-color: #737373;
    color: #111111;
    font-weight: 600;
}

.sales-total {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    text-align: right;
}

@media (max-width: 900px) {
    .book-filter,
    .sales-filter {
        grid-template-columns: 1fr;
    }
}

/* Daviyan theme for sales by project/booktype page */
body.theme-daviyan {
    background: rgba(7, 12, 21, 0.9);
    color: #d8cfba;
}

html.theme-daviyan,
html.theme-daviyan body {
    background: rgba(7, 12, 21, 0.9);
}

body.theme-daviyan::before {
    content: none;
}

body.theme-daviyan .container,
body.theme-daviyan header,
body.theme-daviyan footer {
    position: relative;
    z-index: 1;
}

body.theme-daviyan footer {
    background: rgba(7, 12, 21, 0.9);
    border-top: 1px solid rgba(192, 154, 86, 0.35);
}

body.theme-daviyan .site-footer-brand h3,
body.theme-daviyan .site-footer-links h4,
body.theme-daviyan .site-footer a:hover,
body.theme-daviyan .site-footer a:active {
    color: #e4c78f;
}

body.theme-daviyan .site-footer a,
body.theme-daviyan .site-footer-brand p,
body.theme-daviyan .site-footer-meta {
    color: #ded4c0;
}

body.theme-daviyan .site-footer-meta {
    border-top-color: rgba(222, 188, 124, 0.35);
}

body.theme-daviyan .footer-separator {
    color: rgba(222, 188, 124, 0.55);
}

body.theme-daviyan .header-theme-control label {
    color: #f0d9a7;
}

body.theme-daviyan .header-icon-button,
body.theme-daviyan .header-layout-toggle {
    background: rgba(9, 15, 25, 0.95);
    border: 1px solid rgba(222, 188, 124, 0.5);
    color: #f3e0b5;
}

body.theme-daviyan .header-theme-control select {
    background: rgba(9, 15, 25, 0.95);
    border: 1px solid rgba(222, 188, 124, 0.5);
    color: #f3e0b5;
}

body.theme-daviyan .header-brand a {
    color: #f2ddae !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

body.theme-daviyan .header-theme-control select:focus {
    outline: 2px solid rgba(229, 196, 128, 0.85);
    border-color: rgba(229, 196, 128, 0.85);
}

body.theme-daviyan .header-icon-button:focus,
body.theme-daviyan .header-layout-toggle:focus {
    outline: 2px solid rgba(229, 196, 128, 0.85);
}

body.theme-daviyan .orientation-helper-card {
    background: linear-gradient(170deg, rgba(14, 23, 36, 0.98), rgba(11, 19, 31, 0.97));
    border: 1px solid rgba(205, 167, 96, 0.45);
}

body.theme-daviyan .orientation-helper-card h2 {
    color: #f0ddb8;
}

body.theme-daviyan .orientation-helper-card p {
    color: #d8c9a7;
}

body.theme-daviyan .orientation-helper-dismiss,
body.theme-daviyan .orientation-helper-desktop {
    border: 1px solid rgba(222, 188, 124, 0.5);
    color: #f1e2c0;
}

body.theme-daviyan .orientation-helper-dismiss {
    background: linear-gradient(180deg, rgba(214, 177, 102, 0.22), rgba(164, 124, 56, 0.22));
}

body.theme-daviyan .orientation-helper-desktop {
    background: linear-gradient(180deg, rgba(230, 195, 130, 0.36), rgba(178, 136, 64, 0.32));
}

body.theme-daviyan .container > nav {
    background: linear-gradient(180deg, rgba(13, 23, 38, 0.92) 0%, rgba(10, 18, 31, 0.95) 100%);
    border: 1px solid rgba(205, 167, 96, 0.45);
    box-shadow: 0 18px 35px rgba(2, 8, 16, 0.45);
}

body.theme-daviyan .container > nav a {
    color: #d6c8a7;
    background: rgba(200, 162, 88, 0.08);
}

body.theme-daviyan .container > nav a:hover,
body.theme-daviyan .container > nav a:focus {
    background: rgba(214, 177, 104, 0.22);
    color: #f5e6bf;
}

body.theme-daviyan .container > nav .active,
body.theme-daviyan .container > nav a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(212, 172, 97, 0.4), rgba(167, 127, 58, 0.34));
    color: #fff1c9;
    box-shadow: inset 0 0 0 1px rgba(239, 211, 153, 0.42);
}

body.theme-daviyan .sales-title,
body.theme-daviyan .book-title,
body.theme-daviyan .payout-title {
    color: #f2dec0;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

body.theme-daviyan .sales-intro,
body.theme-daviyan .book-intro,
body.theme-daviyan .payout-intro {
    color: #c7b896;
}

body.theme-daviyan .sales-section,
body.theme-daviyan .book-section,
body.theme-daviyan .payout-section {
    background: linear-gradient(170deg, rgba(14, 23, 36, 0.94), rgba(11, 19, 31, 0.9));
    border: 1px solid rgba(205, 167, 96, 0.4);
    box-shadow: 0 18px 40px rgba(2, 8, 16, 0.38);
}

body.theme-daviyan .sales-section h3,
body.theme-daviyan .book-section h3,
body.theme-daviyan .payout-section h3 {
    color: #f0ddb8;
}

body.theme-daviyan .sales-filter-field label,
body.theme-daviyan .book-filter-field label,
body.theme-daviyan .date-field label {
    color: #d8c9a7;
}

body.theme-daviyan .sales-filter-field select,
body.theme-daviyan .book-filter-field select,
body.theme-daviyan .sales-filter-field input[type="text"],
body.theme-daviyan .sales-filter-field input[type="password"],
body.theme-daviyan .sales-filter-field input[type="date"],
body.theme-daviyan .date-field input[type="date"],
body.theme-daviyan #author-filter {
    background: rgba(8, 14, 24, 0.92);
    color: #eadbb9;
    border: 1px solid rgba(190, 152, 84, 0.46);
    color-scheme: dark;
}

body.theme-daviyan .sales-filter-field select option,
body.theme-daviyan .book-filter-field select option,
body.theme-daviyan #author-filter option {
    background: #101a2b;
    color: #eadbb9;
}

body.theme-daviyan .sales-filter-field select option:checked,
body.theme-daviyan .book-filter-field select option:checked,
body.theme-daviyan #author-filter option:checked {
    background: #263954;
    color: #fef7e6;
}

body.theme-daviyan .sales-filter-field select:focus,
body.theme-daviyan .book-filter-field select:focus,
body.theme-daviyan .sales-filter-field input[type="text"]:focus,
body.theme-daviyan .sales-filter-field input[type="password"]:focus,
body.theme-daviyan .sales-filter-field input[type="date"]:focus,
body.theme-daviyan .date-field input[type="date"]:focus,
body.theme-daviyan #author-filter:focus,
body.theme-daviyan .sales-filter-reset:focus,
body.theme-daviyan .book-filter-reset:focus {
    outline: 2px solid rgba(229, 196, 128, 0.85);
    border-color: rgba(229, 196, 128, 0.85);
}

body.theme-daviyan .sales-filter-reset,
body.theme-daviyan .book-filter-reset,
body.theme-daviyan .table-action-btn {
    background: linear-gradient(180deg, rgba(214, 177, 102, 0.22), rgba(164, 124, 56, 0.22));
    color: #f1e2c0;
    border: 1px solid rgba(222, 188, 124, 0.5);
}

body.theme-daviyan .profile-feedback {
    border-color: rgba(205, 167, 96, 0.45);
    background: linear-gradient(160deg, rgba(13, 24, 39, 0.95), rgba(9, 18, 29, 0.94));
    color: #e6dabf;
}

body.theme-daviyan .profile-feedback h3 {
    color: #f0ddb8;
}

body.theme-daviyan .profile-feedback-error {
    border-color: rgba(201, 109, 109, 0.55);
    background: linear-gradient(160deg, rgba(41, 18, 25, 0.95), rgba(24, 13, 19, 0.94));
    color: #f1c4c4;
}

body.theme-daviyan .sales-filter-reset:hover,
body.theme-daviyan .book-filter-reset:hover,
body.theme-daviyan .table-action-btn:hover {
    background: linear-gradient(180deg, rgba(230, 195, 130, 0.36), rgba(178, 136, 64, 0.32));
}

body.theme-daviyan .sales-total {
    color: #f2e4c3;
}

body.theme-daviyan .tabulator {
    border: 1px solid rgba(192, 154, 86, 0.42);
    background: rgba(7, 12, 21, 0.9);
}

body.theme-daviyan .tabulator .tabulator-header {
    background: rgba(18, 28, 43, 0.97);
    border-bottom: 1px solid rgba(206, 169, 98, 0.5);
}

body.theme-daviyan .tabulator .tabulator-col {
    background: rgba(18, 28, 43, 0.97);
    color: #f2ddae;
    border-right: 1px solid rgba(194, 156, 88, 0.35);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

body.theme-daviyan .tabulator .tabulator-col:hover,
body.theme-daviyan .tabulator .tabulator-col.tabulator-sortable:hover {
    background: linear-gradient(180deg, rgba(232, 199, 135, 0.92), rgba(188, 147, 76, 0.92));
    color: #15100a;
}

body.theme-daviyan .tabulator .tabulator-col:hover .tabulator-col-title,
body.theme-daviyan .tabulator .tabulator-col.tabulator-sortable:hover .tabulator-col-title {
    color: #15100a;
    text-shadow: none;
}

body.theme-daviyan .tabulator-row {
    background: rgba(10, 18, 30, 0.88);
    color: #d9c9a8;
}

body.theme-daviyan .tabulator-row:nth-child(even) {
    background: rgba(12, 21, 34, 0.9);
}

body.theme-daviyan .tabulator-row:hover {
    background: rgba(38, 57, 84, 0.92);
    color: #fef7e6;
}

body.theme-daviyan .tabulator-row:hover .tabulator-cell {
    color: #fef7e6;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

body.theme-daviyan .tabulator-cell {
    border-right: 1px solid rgba(177, 142, 79, 0.17);
}

body.theme-daviyan .tabulator .tabulator-footer {
    background: rgba(13, 22, 35, 0.96);
    border-top: 1px solid rgba(179, 142, 78, 0.35);
}

body.theme-daviyan .tabulator .tabulator-page {
    border: 1px solid rgba(171, 132, 62, 0.5);
    background: rgba(20, 31, 48, 0.85);
    color: #ddccab;
}

body.theme-daviyan .tabulator .tabulator-page:hover {
    background: rgba(86, 67, 33, 0.5);
    color: #f3e5c5;
}

body.theme-daviyan .tabulator .tabulator-page.active {
    background: linear-gradient(180deg, rgba(218, 183, 112, 0.38), rgba(163, 124, 55, 0.4));
    color: #fff2cf;
    border-color: rgba(230, 198, 138, 0.7);
}

/* Schattenprinz theme */
body.theme-schattenprinz {
    background: #16090c;
    color: #e7c28a;
}

html.theme-schattenprinz,
html.theme-schattenprinz body {
    background: #16090c;
}

body.theme-schattenprinz::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 24%, rgba(243, 166, 55, 0.18), rgba(243, 166, 55, 0) 33%),
        radial-gradient(circle at 86% 18%, rgba(190, 34, 34, 0.2), rgba(190, 34, 34, 0) 38%),
        radial-gradient(circle at 80% 74%, rgba(238, 146, 38, 0.16), rgba(238, 146, 38, 0) 36%),
        linear-gradient(155deg, rgba(13, 4, 6, 0.95) 0%, rgba(24, 9, 11, 0.92) 42%, rgba(46, 14, 18, 0.9) 100%);
    opacity: 1;
    z-index: 0;
}

body.theme-schattenprinz .container,
body.theme-schattenprinz header,
body.theme-schattenprinz footer {
    position: relative;
    z-index: 1;
}

body.theme-schattenprinz footer {
    background: rgba(22, 9, 12, 0.96);
    border-top: 1px solid rgba(214, 143, 50, 0.35);
}

body.theme-schattenprinz .site-footer-brand h3,
body.theme-schattenprinz .site-footer-links h4,
body.theme-schattenprinz .site-footer a:hover,
body.theme-schattenprinz .site-footer a:active {
    color: #ffcc87;
}

body.theme-schattenprinz .site-footer a,
body.theme-schattenprinz .site-footer-brand p,
body.theme-schattenprinz .site-footer-meta {
    color: #f3d7b0;
}

body.theme-schattenprinz .site-footer-meta {
    border-top-color: rgba(234, 169, 69, 0.35);
}

body.theme-schattenprinz .footer-separator {
    color: rgba(234, 169, 69, 0.6);
}

body.theme-schattenprinz .header-theme-control label {
    color: #f1c780;
}

body.theme-schattenprinz .header-theme-control select {
    background: rgba(35, 10, 13, 0.95);
    border: 1px solid rgba(234, 169, 69, 0.55);
    color: #ffd9a0;
}

body.theme-schattenprinz .header-icon-button,
body.theme-schattenprinz .header-layout-toggle {
    background: rgba(35, 10, 13, 0.95);
    border: 1px solid rgba(234, 169, 69, 0.55);
    color: #ffd9a0;
}

body.theme-schattenprinz .header-theme-control select:focus {
    outline: 2px solid rgba(255, 179, 77, 0.9);
    border-color: rgba(255, 179, 77, 0.9);
}

body.theme-schattenprinz .header-icon-button:focus,
body.theme-schattenprinz .header-layout-toggle:focus {
    outline: 2px solid rgba(255, 179, 77, 0.9);
}

body.theme-schattenprinz .orientation-helper-card {
    background: linear-gradient(170deg, rgba(35, 10, 13, 0.98), rgba(25, 8, 10, 0.97));
    border: 1px solid rgba(225, 156, 59, 0.5);
}

body.theme-schattenprinz .orientation-helper-card h2 {
    color: #f7cc8a;
}

body.theme-schattenprinz .orientation-helper-card p {
    color: #e3b679;
}

body.theme-schattenprinz .orientation-helper-dismiss,
body.theme-schattenprinz .orientation-helper-desktop {
    border: 1px solid rgba(236, 165, 66, 0.55);
    color: #ffe0a7;
}

body.theme-schattenprinz .orientation-helper-dismiss {
    background: linear-gradient(180deg, rgba(190, 27, 27, 0.35), rgba(167, 92, 24, 0.34));
}

body.theme-schattenprinz .orientation-helper-desktop {
    background: linear-gradient(180deg, rgba(216, 48, 48, 0.44), rgba(199, 111, 31, 0.4));
}

body.theme-schattenprinz .header-brand a {
    color: #ffcf8d !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

body.theme-schattenprinz .container > nav {
    background: linear-gradient(180deg, rgba(29, 8, 11, 0.95) 0%, rgba(20, 6, 8, 0.96) 100%);
    border: 1px solid rgba(227, 157, 57, 0.5);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.48);
}

body.theme-schattenprinz .container > nav a {
    color: #efc88f;
    background: rgba(202, 52, 52, 0.09);
}

body.theme-schattenprinz .container > nav a:hover,
body.theme-schattenprinz .container > nav a:focus {
    background: rgba(188, 33, 33, 0.35);
    color: #ffe0a8;
}

body.theme-schattenprinz .container > nav .active,
body.theme-schattenprinz .container > nav a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(181, 28, 28, 0.44), rgba(227, 149, 48, 0.36));
    color: #fff1cf;
    box-shadow: inset 0 0 0 1px rgba(247, 188, 98, 0.5);
}

body.theme-schattenprinz .sales-title,
body.theme-schattenprinz .book-title,
body.theme-schattenprinz .payout-title {
    color: #ffd698;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

body.theme-schattenprinz .sales-intro,
body.theme-schattenprinz .book-intro,
body.theme-schattenprinz .payout-intro {
    color: #d7ab73;
}

body.theme-schattenprinz .sales-section,
body.theme-schattenprinz .book-section,
body.theme-schattenprinz .payout-section {
    background: linear-gradient(170deg, rgba(35, 10, 13, 0.94), rgba(25, 8, 10, 0.93));
    border: 1px solid rgba(225, 156, 59, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.44);
}

body.theme-schattenprinz .sales-section h3,
body.theme-schattenprinz .book-section h3,
body.theme-schattenprinz .payout-section h3 {
    color: #f7cc8a;
}

body.theme-schattenprinz .sales-filter-field label,
body.theme-schattenprinz .book-filter-field label,
body.theme-schattenprinz .date-field label {
    color: #e3b679;
}

body.theme-schattenprinz .sales-filter-field select,
body.theme-schattenprinz .book-filter-field select,
body.theme-schattenprinz .sales-filter-field input[type="text"],
body.theme-schattenprinz .sales-filter-field input[type="password"],
body.theme-schattenprinz .sales-filter-field input[type="date"],
body.theme-schattenprinz .date-field input[type="date"],
body.theme-schattenprinz #author-filter {
    background: rgba(27, 8, 10, 0.95);
    color: #f9d9a1;
    border: 1px solid rgba(214, 143, 48, 0.5);
    color-scheme: dark;
}

body.theme-schattenprinz .sales-filter-field select option,
body.theme-schattenprinz .book-filter-field select option,
body.theme-schattenprinz #author-filter option {
    background: #2a0d12;
    color: #f9d9a1;
}

body.theme-schattenprinz .sales-filter-field select option:checked,
body.theme-schattenprinz .book-filter-field select option:checked,
body.theme-schattenprinz #author-filter option:checked {
    background: #5f1a24;
    color: #fff2d4;
}

body.theme-schattenprinz .sales-filter-field select:focus,
body.theme-schattenprinz .book-filter-field select:focus,
body.theme-schattenprinz .sales-filter-field input[type="text"]:focus,
body.theme-schattenprinz .sales-filter-field input[type="password"]:focus,
body.theme-schattenprinz .sales-filter-field input[type="date"]:focus,
body.theme-schattenprinz .date-field input[type="date"]:focus,
body.theme-schattenprinz #author-filter:focus,
body.theme-schattenprinz .sales-filter-reset:focus,
body.theme-schattenprinz .book-filter-reset:focus {
    outline: 2px solid rgba(255, 172, 63, 0.88);
    border-color: rgba(255, 172, 63, 0.88);
}

body.theme-schattenprinz .sales-filter-reset,
body.theme-schattenprinz .book-filter-reset,
body.theme-schattenprinz .table-action-btn {
    background: linear-gradient(180deg, rgba(190, 27, 27, 0.35), rgba(167, 92, 24, 0.34));
    color: #ffe0a7;
    border: 1px solid rgba(236, 165, 66, 0.55);
}

body.theme-schattenprinz .profile-feedback {
    border-color: rgba(236, 165, 66, 0.55);
    background: linear-gradient(160deg, rgba(36, 10, 13, 0.96), rgba(24, 8, 10, 0.95));
    color: #f2d1a3;
}

body.theme-schattenprinz .profile-feedback h3 {
    color: #ffd39a;
}

body.theme-schattenprinz .profile-feedback-error {
    border-color: rgba(236, 127, 127, 0.55);
    background: linear-gradient(160deg, rgba(47, 9, 12, 0.96), rgba(31, 8, 10, 0.95));
    color: #ffb8b8;
}

body.theme-schattenprinz .sales-filter-reset:hover,
body.theme-schattenprinz .book-filter-reset:hover,
body.theme-schattenprinz .table-action-btn:hover {
    background: linear-gradient(180deg, rgba(216, 48, 48, 0.44), rgba(199, 111, 31, 0.4));
}

body.theme-schattenprinz .sales-total {
    color: #ffdba0;
}

body.theme-schattenprinz .tabulator {
    border: 1px solid rgba(214, 143, 50, 0.45);
    background: rgba(24, 8, 10, 0.93);
}

body.theme-schattenprinz .tabulator .tabulator-header {
    background: rgba(40, 12, 16, 0.98);
    border-bottom: 1px solid rgba(228, 158, 63, 0.5);
}

body.theme-schattenprinz .tabulator .tabulator-col {
    background: rgba(40, 12, 16, 0.98);
    color: #ffd99f;
    border-right: 1px solid rgba(208, 135, 42, 0.35);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

body.theme-schattenprinz .tabulator .tabulator-col:hover,
body.theme-schattenprinz .tabulator .tabulator-col.tabulator-sortable:hover {
    background: linear-gradient(180deg, rgba(238, 168, 83, 0.95), rgba(199, 119, 41, 0.95));
    color: #1a0b0c;
}

body.theme-schattenprinz .tabulator .tabulator-col:hover .tabulator-col-title,
body.theme-schattenprinz .tabulator .tabulator-col.tabulator-sortable:hover .tabulator-col-title {
    color: #1a0b0c;
    text-shadow: none;
}

body.theme-schattenprinz .tabulator-row {
    background: rgba(30, 10, 13, 0.9);
    color: #f0c98f;
}

body.theme-schattenprinz .tabulator-row:nth-child(even) {
    background: rgba(36, 12, 16, 0.92);
}

body.theme-schattenprinz .tabulator-row:hover {
    background: rgba(95, 26, 36, 0.94);
    color: #fff2d4;
}

body.theme-schattenprinz .tabulator-row:hover .tabulator-cell {
    color: #fff2d4;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

body.theme-schattenprinz .tabulator-cell {
    border-right: 1px solid rgba(200, 129, 39, 0.2);
}

body.theme-schattenprinz .tabulator .tabulator-footer {
    background: rgba(35, 11, 14, 0.97);
    border-top: 1px solid rgba(206, 134, 45, 0.35);
}

body.theme-schattenprinz .tabulator .tabulator-page {
    border: 1px solid rgba(199, 126, 38, 0.5);
    background: rgba(53, 16, 21, 0.9);
    color: #f0cb94;
}

body.theme-schattenprinz .tabulator .tabulator-page:hover {
    background: rgba(108, 30, 40, 0.86);
    color: #ffebc4;
}

body.theme-schattenprinz .tabulator .tabulator-page.active {
    background: linear-gradient(180deg, rgba(214, 55, 44, 0.45), rgba(205, 128, 39, 0.4));
    color: #fff4d6;
    border-color: rgba(246, 173, 75, 0.75);
}


.impersonate-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    box-sizing: border-box;
    padding: 0.65rem 1rem;
    background: #8a1c1c;
    color: #fff;
    font-weight: 600;
}

body:has(.impersonate-banner) {
    padding-top: 3rem;
}

.impersonate-banner form {
    display: inline;
    margin: 0;
}

.impersonate-banner button {
    font: inherit;
    font-weight: 700;
    color: #8a1c1c;
    background: #fff;
    border: 0;
    border-radius: 4px;
    padding: 0.15rem 0.6rem;
    cursor: pointer;
    text-decoration: underline;
}

.author-picker-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
}

.author-picker-table th,
.author-picker-table td {
    text-align: left;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.author-picker-table form {
    margin: 0;
}
