
        /* General Reset */
body {
  margin: 0;
  font-family: "Exo 2", sans-serif;   
  background-color: #eff0f2;
  overscroll-behavior-y: contain;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  height: 100%;
}


.custom-navbar {
    background-color: white;
    transition: all 200ms ease;
    font-family: "Exo 2", sans-serif;
    font-size: 18px;
    padding: 0 20px;
    align-items: center;
    width: 100%;
}
.custom-navbar-brand {
    display: flex;
    align-items: center;
}
.ihub-logo {
    height: 35px;
    width: auto;
    }
.custom-navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.custom-nav-link {
    padding: 20px !important;
    color: black;
    font-weight: 500;
}
.custom-nav-link:hover {
    color: #FF6F41 !important;
}
video-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Adjust the space between videos */
}


.rounded-video {
    border-radius: 15px; /* Adjust for desired curvature */
    overflow: hidden;
}
video {
    width: 100%;
    height: auto;
}

.gif {
    width: 100%; /* Adjusts the width of the GIF within its column */
    height: auto; /* Keeps the aspect ratio of the GIF */
    border-radius: 15px; /* Adds rounded corners to the GIF */
}

/* Make sure the videos fill the available space */
.video-container {
    padding-right: 30px;
    padding-left: 30px;
}

/* Responsive adjustments for the GIF to be smaller */
@media (min-width: 992px) {
    .gif {
        max-width: 60%; /* Make the GIF smaller than its column */
        margin: 10px; /* Center the GIF within its column */
    }
}
.description-text {
    text-align: center;
    margin-top: 10px;
    color: #333; /* Set the text color as needed */
    font-size: 24px; /* Sets the font size to be larger */
    font-weight: bold; /* Makes the text bold */
}

/* Adjustments for layout */
.video-container{
    padding: 0 15px; /* Adjust the padding as needed */
}

table {
    width: 80%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}
th{
    padding: 10px;
    text-align: left;
    border: 2px solid #666;
    white-space: nowrap;
    overflow: hidden;
    background-color:#FF6F41;
    color:#f4f4f4;
}
td{
    padding: 10px;
    text-align: left;
    border: 2px solid #666;
    white-space: nowrap;
    overflow: hidden;
}
th, td {
    white-space: normal;
    word-wrap: break-word;
}
tr {
    page-break-inside: avoid; /* This will prevent the rows from being split across pages */
}
/* Typography improvements */
table, th, td {
    font-size: 16px; /* Adjusted font size for better readability */
    line-height: 1.5; /* Improved line height */
}

/* Zebra striping for rows */
tbody tr:nth-child(odd) {
    background-color: #f8f9fa; /* Light grey for odd rows, subtle and printer-friendly */
}

/* Adjust padding and spacing for better readability */
th, td {
    padding: 12px; /* Increased padding */
    border: 1px solid #dee2e6; /* Lighter borders */
}

/* Responsive design adjustments */
@media screen and (max-width: 768px) {
    .table-responsive {
        display: block;
        overflow-x: auto; /* Allows table to scroll horizontally on small screens */
        -webkit-overflow-scrolling: touch;
    }
}


/* Styles for printing */
@media print {
    tbody tr:nth-child(odd) {
        background-color: #fff; /* Ensure zebra striping does not print */
    }
    th, td {
        page-break-inside: avoid; /* Ensure table rows do not break across pages */
    }
}

.violators-img {
    max-width: 231px;
    max-height: 385px;
}
.licenseplates-img {
    max-width: 231px;
    max-height: 385px;
}
.editable-text {
    width: auto;
    box-sizing: border-box;
    cursor: pointer;
}
.editable-text input {
    display: none;
}

.removed-violation {
    text-decoration: line-through;
    color: gray;
    opacity: 0.6;
}

/* Will be used only during PDF generation */
.pdf-hidden-temp {
    display: none !important;
}

.delete-btn {
    padding: 8px;
    background-color: #ff0000;
    color: #fff;
    border: none;
    cursor: pointer;
}
.pdf-btn {
    padding: 12px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    cursor: pointer;
    display: block;
}
.home-btn{
    padding: 12px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    cursor: pointer;
    display: block;
}

.button-container {
    text-align: center; /* Align buttons in the center */
    margin-top: 20px; /* Adjust margin as needed */
}

.pdf-btn,
.home-btn {
    display: inline-block; /* Set buttons to display inline-block */
    vertical-align: middle; /* Align buttons vertically */
    margin-right: 10px; /* Adjust margin between buttons */
    border-radius: 5px;

}
.delete-btn{
    border-radius: 5px;
}

th:nth-child(1), td:nth-child(1) {
    width: 20px;
}

th:nth-child(2), td:nth-child(2) {
    width: 150px;
}

th:nth-child(6), td:nth-child(6) {
    width: 40px;
}

th:nth-child(3), td:nth-child(3) {
    width: 80px;
}

th:nth-child(4), td:nth-child(4) {
    width: 200px;
}

th:nth-child(5), td:nth-child(5) {
    width: 200px;
}

th:nth-child(7), td:nth-child(7) {
    width: 50px;
}

th, td {
    max-width: 300px;
}

@media print {
    tr, td {
    page-break-inside: avoid !important;
    }
}


.custom-button {
display: inline-flex;
align-items: center;
padding: 10px 20px;
background-color: #FF6F41;
color: #f4f4f4;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
margin-left: 10px;
margin-right: 10px;
}

.custom-button i {
margin-right: 10px;
color: #f4f4f4;
}

.custom-button:hover {
background-color: #da582d;
}

.custom-nav-button {
display: inline-flex;
align-items: center;
padding: 5px 10px;
background-color: #FF6F41;
color: #f4f4f4;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
margin-left: 5px;
margin-right: 5px;
font-size: 15px;

}

.custom-nav-button i {
margin-right: 10px;
color: #f4f4f4;
}

.custom-nav-button:hover {
background-color: #FF6F41;
}

.image-reference-img {
width: 230px;
height: 380px;
object-fit: contain;
}

.footer {
background-color: #FF8A66;
color: #f4f4f4;
padding: 20px 0;
text-align: right;
}

.footer-logo {
max-width: 180px;
}

.social-icons {
margin-top: 20px;
}

.social-icons a {
color: #f4f4f49b;
margin: 0 10px;
font-size: 20px;
text-decoration: none;
}

.social-icons a:hover {
color: #f4f4f4;
margin: 0 10px;
font-size: 20px;
text-decoration: none;
}

.copyright {
margin-top: 30px;
}


.custom-navbar {
    background-color: white;
    transition: all 200ms ease;
    font-family: "Exo 2", sans-serif;
    font-size: 18px;
    padding: 0 20px;
    align-items: center;
    z-index: 1;
}

.custom-navbar-brand {
    display: flex;
    align-items: center;
}

.ihub-logo {
    height: 35px;
    width: auto;
  }

.custom-nav-link {
    padding: 20px !important;
    color: black;
    font-weight: 500;
}

.custom-nav-link:hover {
    color: #FF6F41 !important;
}
.navbar-text {
    color: #FF6F41;
    font-weight: bold;
    margin: 0;
}

.logo-img {
    height: 45px;
}

#progressContainer {
    width: 90%;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    margin: 30px auto 0 auto;
    cursor: pointer;
    position: relative;
}

#progressBar {
    width: 0%;
    height: 100%;
    background-color: #FF6F41;
    border-radius: 5px;
    position: relative;
}

/* Add a circular "thumb" at the end of the progress bar */
#progressBar::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    width: 18px;
    height: 18px;
    background-color: #FF6F41;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 111, 65, 0.7);
    pointer-events: none; /* so clicks go through to the progress bar */
}

 .violation-list {
        list-style-type: disc;
        padding-left: 20px;
        margin: 0;
    }

    .violation-icon {
        color: red;
        margin-left: 8px;
        cursor: pointer;
        position: relative;
    }

    .violation-icon::after {
        content: attr(data-tooltip);
        font-family: "Exo 2", sans-serif;   
        position: absolute;
        background-color: black;
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        white-space: nowrap;
        top: -25px;
        left: -80px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s;
        z-index: 1000;
        font-size: 12px;
    }

    .violation-icon:hover::after {
        opacity: 1;
        visibility: visible;
    }

    .pdf-mode .violation-icon {
        display: none !important;
    }

     .play-icon {
        color: #FF6F41;
        margin-left: 10px;
        cursor: pointer;
        border-radius: 50%;
        background-color: #fff;
        padding: 2px;
        font-size: 18px;
        transition: background-color 0.2s, color 0.2s;
    }

    .play-icon:hover {
        background-color: #FF6F41;
        color: white;
    }

    .pdf-mode .play-icon {
        display: none !important;
    }

   /* Tablet Screen */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .gif {
        display: none; /* Hide the GIF */
    }
    .video-container {
        flex-direction: column;
        padding: 0 15px; /* Add some left and right padding */
    }
    .video-container .rounded-video {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Mobile Screen */
@media only screen and (max-width: 767px) {
    .gif {
        display: none; /* Hide the GIF */
    }
    .video-container {
        flex-direction: column;
        padding: 0 10px; /* Add some left and right padding */
    }
    .video-container .rounded-video {
        width: 100%;
        margin-bottom: 20px;
    }
    .custom-nav-link {
        padding: 10px !important;
    }
    .description-text, .h2, .h3 {
        font-size: 18px; /* Adjust text size */
    }
    h2 {
        font-size: 1.5rem; /* Size similar to h4 */
    }
    h3 {
        font-size: 1.25rem; /* Size similar to h5 */
    }
    .custom-nav-link, .navbar-nav {
        font-size: 14px; /* Smaller font size for nav links */
    }
    .navbar-toggler-icon {
        width: 24px; /* Adjust hamburger icon size if needed */
        height: 24px;
    }
    /* Add spacing between buttons */
    .button-container > .custom-button {
        margin-bottom: 10px; /* Add spacing below each button */
    }
}

/* Small Mobile Screen */
@media only screen and (max-width: 450px) {


    .gif {
        display: none; /* Hide the GIF */
    }
    .video-container {
        flex-direction: column;
        padding: 0 5px; /* Add some left and right padding */
    }
    .video-container .rounded-video {
        width: 100%;
        margin-bottom: 15px;
    }
    .description-text, .h2, .h3 {
        font-size: 16px; /* Adjust text size for very small devices */
    }
    .custom-navbar {
        font-size: 14px;
    }
    .custom-navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }
    h2 {
        font-size: 1.5rem; /* Size similar to h4 */
    }
    h3 {
        font-size: 1.25rem; /* Size similar to h5 */
    }
    .custom-nav-link, .navbar-nav {
        font-size: 14px; /* Smaller font size for nav links */
    }
    .navbar-toggler-icon {
        width: 24px; /* Adjust hamburger icon size if needed */
        height: 24px;
    }
    /* Add spacing between buttons */
    .button-container > .custom-button {
        margin-bottom: 10px; /* Add spacing below each button */
    }
}
