/* styles.css */

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    /* background: url('img/LSnighttime.png') no-repeat center center fixed; */
    background-size: cover;
    color: #f2f2f2;
    margin: 0;
    padding: 0;
    position: relative;
    /* Ensure the pseudo-element is positioned relative to the body */
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    /* Semi-transparent black overlay */
    z-index: -1;
    /* Place the overlay behind the content */
}

header {
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Shadow effect */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-top {
    display: flex;
    align-items: left;
    width: 80%;
    justify-content: left;
    /* margin-left: 50px; */
    border-bottom: #0067a734 1px solid;
}

a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s;
}

footer {
    background-color: #3333337b;
    color: #fff;
    text-align: center;
    /* padding: 10px 0; */
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
}

footer p {
    color: #ffffff50;
    margin: 0;
    font-size: 0.9em;
}

#backToTopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed position */
    bottom: 20px;
    /* Place the button 20px from the bottom */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: #0067a7a4;
    /* Set background color */
    color: white;
    /* Set text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    width: 50px;
    /* Set width */
    height: 50px;
    /* Set height */
    padding: 0;
    /* Remove padding */
    border-radius: 50%;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Add shadow */
    text-align: center;
    /* Center the text */
    line-height: 50px;
    /* Center the text vertically */
}

#backToTopBtn:hover {
    background-color: #555555b9;
}

.logo-container {
    margin-right: 20px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.logo {
    height: 120px;
    /* Adjust the height as needed */
    border-radius: 50%;
    /* Make sure the logo remains circular */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
        /* Outer glow */
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    /* Inner glow for reflective feel */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 70%);
    /* Reflective light effect */
    transition: box-shadow 0.3s ease-in-out, filter 0.3s ease-in-out;
    /* Smooth transition */
}

.logo:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.7),
        /* Stronger outer glow on hover */
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    /* Stronger inner glow on hover */
    filter: brightness(1.3);
    /* More reflective on hover */
}

/* Position the icon on the side of the browser */
.icon-container {
    position: fixed;
    top: 30%;
    left: 0;
    transform: translateY(-50%);
    background-color: #333;
    padding: 10px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.icon-container i {
    color: #fff;
    font-size: 24px;
}

/* The hidden content (initially hidden) */
.hidden-content {
    display: none;
    position: fixed;
    top: 30%;
    left: 50px;
    transform: translateY(-50%);
    background-color: #fbfbfb00;
    padding: 15px;
    border: 1px solid #cccccc00;
    border-radius: 5px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.5);
}

/* The close button */
.close-content {
    background-color: #f44336;
    color: white;
    padding: 1px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    bottom: -2px;
    left: 2px;
    font-size: 10px;
}


header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #ffffff;
    /* White color for better readability */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* Text shadow for better readability */
}

nav {
    margin-left: 120px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Full viewport height to center vertically */
}

.hamburger {
    display: none;
    font-size: 2em;
    cursor: pointer;
    color: #ffffff;
    padding: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center the items horizontally */
}

nav ul.main-menu {
    margin-bottom: 10px;
    /* Add some space between the main menu and the police menu */
}

nav ul li {
    margin-right: 10px;
    margin-top: 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    /* font-size: 1.2em; */
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: background 0.3s, backdrop-filter 0.3s;
}

nav ul li a:hover {
    text-decoration: none;
    background: rgba(230, 230, 230, 0.15);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 8px rgba(123, 123, 123, 0.3);
}

nav ul.police-menu {
    margin-top: -10px;
    /* Add some space between the main menu and the police menu */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center the items horizontally */
}

nav ul.police-menu li {
    margin-right: 10px;
    margin-top: 15px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        /* width: 100%; */
        background-color: rgba(0, 0, 0, 0.8);
        /* position: absolute; */
        top: 60px;
        /* Adjust this value to align the dropdown menu with the nav bar */
        /* left: 0; */
        z-index: 1000;
        /* Ensure the dropdown menu is on top */
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        height: 40px;
        text-align: center;
    }

    .nav-links li a {
        height: 20px;
        /* padding: 20px; */
        /* Increase padding for better touch targets */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li a:hover {
        background: rgba(230, 230, 230, 0.15);
        backdrop-filter: blur(5px);
        /* box-shadow: 0 4px 8px rgba(123, 123, 123, 0.3); */
    }

    .nav-links .menu-separator {
        display: block;
        height: 1px;
        margin: 10px 0;
        background-color: #ccc;
        /* Optional: Add a line separator */
    }

    .nav-links .police-menu-item {
        display: block;
        margin-top: 10px;
        /* Ensure items appear on a new line */
    }
}

/* Sub-navigation styles */
.sub-nav {
    position: absolute;
    top: 10px;
    right: 10px;
}

.sub-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.sub-nav ul li {
    margin: 0 5px;
}

.sub-nav-button {
    text-decoration: none;
    color: #ffffff;
    padding: 5px 10px;
    /* Smaller padding */
    background-color: #007bff;
    /* Blue color */
    border-radius: 5px;
    font-size: 14px;
    /* Smaller font size */
    transition: background-color 0.3s ease;
}

.sub-nav-button:hover {
    background-color: #0056b3;
    /* add glow to hover */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Darker blue on hover */
}

main {
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background for readability */
    border-radius: 10px;
    margin: 20px;
}

button {
    background-color: #ffcc00;
    border: none;
    color: #333;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin: 10px 2px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #e6b800;
}

/* Rules */
.rules-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #ffffff;
    text-align: left;
}

/* General styling for headings */
.rules-container h1,
.rules-container h2 {
    margin-bottom: 20px;
    color: #ffcc00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    text-align: center;
}

/* Specific styling for ordered lists */
.rules-container ol {
    counter-reset: section;
    list-style-type: none;
    padding-left: 0;
}

.rules-container ol>li {
    counter-increment: section;
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.5;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.rules-container ol>li:before {
    content: counters(section, ".") ". ";
    font-weight: bold;
}

.rules-container ol ol {
    list-style-type: none;
    counter-reset: subsection;
    padding-left: 20px;
}

.rules-container ol ol>li {
    counter-increment: subsection;
}

.rules-container ol ol>li:before {
    content: counters(section, ".") "." counters(subsection, ".") ". ";
    font-weight: bold;
}

.rules-container ol ol ol {
    list-style-type: none;
    counter-reset: subsubsection;
    padding-left: 20px;
}

.rules-container ol ol ol>li {
    counter-increment: subsubsection;
}

.rules-container ol ol ol>li:before {
    content: counters(section, ".") "." counters(subsection, ".") "." counters(subsubsection, ".") ". ";
    font-weight: bold;
}




/* Specific Styles for SteamID Display */
.steam-id {
    font-size: 1.2em;
    margin-top: 20px;
    color: #ffcc00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* index.php */
.server-info {
    /* background-color: rgba(0, 0, 0, 0.3); */
    /* Semi-transparent background */
    padding: 20px;
    border-radius: 10px;
    color: #ffffff;
    /* White text color */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
    /* Shadow effect */
    text-align: left;
    /* Ensure text is left-aligned */
}

.server-info h2,
.server-info h3 {
    color: #ffcc00;
    /* Gold color for headings */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    /* Text shadow for better readability */
}

.server-info ul {
    list-style-type: disc;
    list-style-position: inside;
    /* Ensure dots are inside the list item */
    margin-left: 20px;
    padding-left: 0;
    /* Remove default padding */
}

.server-info ul ul {
    list-style-type: circle;
    list-style-position: inside;
    /* Ensure dots are inside the list item */
    margin-left: 20px;
    padding-left: 0;
    /* Remove default padding */
}

.server-info p,
.server-info li {
    font-size: 1em;
    /* Ensure the font size is readable */
    line-height: 1.5;
    /* Improve readability with line height */
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Characters */
/* Character Grid Styles */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Automatically adjust columns based on available space, with a maximum of 4 columns */
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 800px) {
    .character-grid {
        grid-template-columns: repeat(4, 1fr);
        /* Limit to a maximum of 4 columns */
    }
}

/* Character Box Styles */
.character-box {
    background-color: rgba(255, 255, 255, 0.1);
    /* Semi-transparent background */
    border: 1px solid #0067a7;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Shadow effect */
    position: relative;
}

.character-box .star {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffcc00;
    text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 2px;
    font-size: 1.5em;
}

.character-box h2 {
    margin-top: 0;
    color: #ffcc00;
    text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 2px;
}

.character-box p {
    margin: 5px 0;
    font-size: 1em;
    /* Ensure the font size is readable */
    color: #ffffff;
    /* White color for better readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    /* Add a subtle shadow for better readability */
}

hr {
    border: 0;
    border-top: 1px solid #0067a7;
    margin: 20px 0;
}

/* Vehicles */
.vehicles-container {
    padding: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.vehicle-box {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #0067a7;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.vehicle-box h3 {
    color: #ffcc00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.vehicle-box p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.vehicle-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Services */
.departments-container {
    padding: 20px;
}

.departments-container tr {
    display: flex;
    justify-content: center;
}

.departments-container td {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dispatchtable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.dispatchtable th {
    /* background-color: rgba(255, 255, 255, 0.1); */
    color: #ffcc00;
    padding: 10px;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 2px;

    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
    border-radius: 10px;
}

.dispatchtable td {
    padding: 20px;
    /* border: 1px solid #0067a7; */
    /* background-color: rgba(255, 255, 255, 0.1); */
    border-radius: 10px;
    vertical-align: top;
    text-align: left;
    color: #ffffff;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
}

.rostertd {
    padding: 10px;
    /* border: 1px solid #0067a7; */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    vertical-align: middle;
    /* Vertically center the content */
    text-align: center;
    /* Horizontally center the content */
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    /* Use flexbox for centering */
    align-items: center;
    /* Vertically center the content */
    justify-content: space-between;
    margin-bottom: 2px;
    /* Space between the image, text, and icon */
}

.rostertd img {
    height: 25px;
    width: 25px;
    margin-right: 10px;
    border-radius: 5px;
}

.rostertd span {
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    flex-grow: 1;
    /* Allow the text to grow and take available space */
    text-align: center;
    /* Center the text horizontally */
}

.rostertd i {
    font-size: 25px;
    margin-left: 10px;
    /* Add some space between the text and the icon */
}

/* Jobs */
.jobs-container {
    padding: 20px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.jobs-box {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #0067a7;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.jobs-box h3 {
    color: #ffcc00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Penal Code */
/* Fines */
.fines-header {
    text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 2px;
}

.fines-header img {
    margin-right: 10px;
}

.fines-container {
    padding: 20px;
    text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 2px;
}

.fine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.fine-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #0067a7;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    height: 100%;
    box-sizing: border-box;
    /* Ensure padding and border are included in the height */
}

.fine-box h3 {
    color: #ffcc00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin: 5px 0;
}

.fine-box .amount {
    margin-top: auto;
}

.fine-box h4 {
    color: #ffcc0092;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin: 5px 0;
}

.fine-box p {
    font-size: 1em;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin: 10px 0;
}

.fine-box hr {
    width: 100%;
    border: 0;
    border-top: 1px solid #0067a7;
    margin: 10px 0;
    margin-top: auto;
    /* Pushes the hr to the bottom */
}

.fine-box .hr-top {
    width: 100%;
    border: 0;
    border-top: 1px solid #0067a7;
    margin: 10px 0;
    margin-bottom: auto;
    /* Pushes the hr to the bottom */
}

/* Police Dashboard/Dispatch */

.policedashboard table {
    border-collapse: collapse;
    width: 100%;
    height: 100%;
}

.policedashboard td {
    text-align: center;
    padding: 8px;
}

.policedashboard h1 {
    font-size: 30px;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #ffffff;
    font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
}

.policedashboard h4 {
    font-size: 14px;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #ffffff8c;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.policedashboard th {
    position: sticky;
    top: -5px;
    /* background-color: #262e38b8; */
    z-index: 10;
    border-radius: 25px;
}

.policedashboard hr {
    border-color: #374556b8;
    border-width: 1px;
    border-style: solid;
}

.policedashboard .discordlink {
    color: white;
    font-style: underline;
    cursor: pointer;
}

.policedashboard .discordlink:hover {
    color: #ffffff8c;
}

.policedashboard .toptext {
    text-align: right;
    position: relative;
    font-size: 10px;
    color: rgb(176, 178, 181);
}

.policedashboard .login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Add more styles as needed */
}

.policedashboard .content {
    border-radius: 25px;
    /* box-shadow: inset 0px 0px 15px 15px #10101057; */
    /* background-color: #262e384a; */
    width: 95%;
    height: 85%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 15px;
    margin-right: -5px;
    overflow-y: scroll;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.policedashboard .content button {
    /* background-color: #262e38f7;*/
    background-color: #262e3849;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
    padding: 7px 10px;
    text-align: center;
    text-decoration: none;
    transition: all 250ms;
    border: 1px solid #929292;
    width: 150px;
    font-size: 14px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    border-radius: 15px;
}

.policedashboard .fullscreenbtn {
    background-color: #262e3849;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
    padding: 7px 10px;
    text-align: center;
    text-decoration: none;
    transition: all 250ms;
    border: 1px solid #929292;
    width: 175px;
    font-size: 14px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    border-radius: 15px;
}

.policedashboard .content button:hover {
    /* box-shadow: 2px 2px #ffffff79; */
    background-color: #3c5169f7;
    border-radius: 5px;
}

.policedashboard ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.policedashboard ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.policedashboard ::-webkit-scrollbar-thumb {
    background: #6b8fb8f7;
    border-radius: 5px;
}

.policedashboard .scene-label {
    padding: 5px 10px;
    border-radius: 12px;
    color: #EEEEEE;
    font-weight: bold;
    display: inline-block;
    text-shadow: 1px 1px 3px black;
    box-shadow: inset 0 0 2px #000000;
}

.policedashboard .scene-label.r {
    background-color: #e03232;
}

.policedashboard .scene-label.g {
    background-color: #72cc72;
}

.policedashboard .scene-label.b,
.policedashboard .scene-label.f {
    background-color: #5db6e5;
}

.policedashboard .scene-label.y {
    background-color: #f0c850;
}

.policedashboard .scene-label.c,
.policedashboard .scene-label.t {
    background-color: #8c8c8c;
}

.policedashboard .scene-label.o {
    background-color: #ff8555;
}

.policedashboard .scene-label.p {
    background-color: #8466e2;
}

.policedashboard .scene-label.q {
    background-color: #cb3694;
}

.policedashboard .scene-label.m {
    background-color: #646464;
}

.policedashboard .scene-label.l {
    background-color: #000000;
    color: white !important;
}

.policedashboard .scene-label.d {
    background-color: #2f5c73;
}

/* Police Reports */
.policereports-customtable {
    width: 100%;
    /* Ensure the table takes the full width of the container */
    margin-left: auto !important;
    margin-right: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 2px !important;
}

.policereports-customtd {
    border: 2px solid #0067a7 !important;
    border-style: solid none !important;
    padding: 5px !important;
    vertical-align: top;
    position: relative;
    width: 33%;
    background-color: #262e38a7;
    text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 2px;
    /* Set explicit width for each column */
}

.policereports-customtd pre {
    white-space: pre-wrap;
    /* Allow the content to wrap */
    word-wrap: break-word;
    /* Break long words */
    max-width: 100%;
    text-align: left;
    text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 2px;
    /* Limit the width of the <pre> tag */
}

/* Add this style for the left vertical dashed line */
.policereports-customtd::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    /* Adjust the distance from the cell's left edge as needed */
    width: 1px;
    /* Adjust the width of the dashed line */
    height: 100%;
    border-left: 1px dashed #33333380;
    /* Adjust the line color and style as needed */
}

.policereports-customtd:first-child {
    border-left-style: solid !important;
    border-top-left-radius: 11px !important;
    border-bottom-left-radius: 11px !important;
}

.policereports-customtd:last-child {
    border-right-style: solid !important;
    border-bottom-right-radius: 11px !important;
    border-top-right-radius: 11px !important;
}

.policereports-headertable {
    border: 0px;
}

/* Police Crime Sheet */
/* Style for the search bar */
.search-container {
    position: relative;
    width: 20%;
    max-width: 400px;
    /* Adjust as needed */
    /* margin-bottom: 20px; */
    margin: 10px auto;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #ccc;
    /* Adjust color as needed */
}

#searchBar {
    background-color: rgba(230, 230, 230, 0.15);
    width: 100%;
    padding: 10px 10px 10px 40px;
    /* Add padding to the left for the icon */
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Inner shadow */
}

/* Style for the table */
.policecrimesheetcalc-crime-table {
    width: 100%;
    border-collapse: collapse;
    text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 2px;
    background-color: rgba(0, 0, 0, 0.5);
}

.policecrimesheetcalc-crime-table th,
.policecrimesheetcalc-crime-table td {
    border-bottom: 1px solid #dddddd75;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

.policecrimesheetcalc-crime-table th {
    background-color: #0a62827c;
    font-weight: bold;
}

.policecrimesheetcalc-checkbox-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.policecrimesheetcalc-crime-row {
    cursor: pointer;
}

.policecrimesheetcalc-totals {
    margin-top: 20px;
    font-weight: bold;
}

.policecrimesheetcalc-totals p {
    margin: 0;
}

.policecrimesheetcalc-charges-added {
    background-color: #6b636352;
    padding: 15px;
    border-radius: 10px;
    box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.policecrimesheetcalc-charges-added h2 {
    margin-top: 0;
}

.policecrimesheetcalc-charges-added ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.policecrimesheetcalc-charges-added li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dddddd29;
    font-size: 0.9em;
}

.policecrimesheetcalc-charges-added li:last-child {
    border-bottom: none;
}

.policecrimesheetcalc-remove-charge {
    background: none;
    border: none;
    padding: 0 0;
    color: #d9534f;
    cursor: pointer;
    font-size: 1em;
}

.policecrimesheetcalc-remove-charge:hover {
    color: #c9302c;
}

.policecrimesheetcalc-reset-button {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
}

.policecrimesheetcalc-reset-button:hover {
    background-color: #c9302c;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #ccc;
}

#searchBar {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}