/* styling for footer start */

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    color: white;
    padding: 10px;
    text-align: center;
    font-size: small;
    text-transform: uppercase;
}

h1 {
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

h2 {
    font-weight: bold;
    color: white;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: #212529;
    border-radius: 0.375rem;
    border: 1px solid #ccc;
    text-transform: uppercase;
}

h3 {
  border-bottom: 1px solid #fff;
  display: block;
  width: 100%;
}

h3, h4, h5, h6 {
    text-transform: uppercase;
    font-weight: bold;
}

/*
h4, h5, h6 {
  font-weight: normal;
  color: #ccc;
  border: none;
  background: none;
  padding-left: 0;
  margin-top: 1.5rem;
}
*/

a {
    /* color: #66bfff; */
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

a:hover {
    /* color: #66bfff; */
    color: #fff;
    text-decoration: none;
}

/* styling for footer end */

.navbar-brand {
    font-weight: bold;
    text-transform: uppercase;
}

.nav-link, .dropdown-item {
    font-weight: bold;
    text-transform: uppercase;
}

/* Breadcrumb styling start */

.breadcrumb {
    background-color: #1e1e1e;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #888;
    padding: 0 0.5rem 0 0rem;
}

.breadcrumb a {
    color: #66bfff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #fff !important; /* Or try #cccccc for softer contrast */
}

/* Breadcrumb styling end */

/* Ensuring the correct application of classes */

.nav-tabs .nav-link {
    color: #fff; /* Primary color for inactive tabs */
    background-color: rgba(0, 123, 255, 0.5); /* Adjust the opacity as needed */
}

.nav-tabs .nav-link.active {
    color: #fff; /* White text for active tab */
    background-color: #007bff; /* Primary background for active tab */
    font-weight: bold;
}

/* styling for tabs active end */

/* styling for tables DataTable start */

.dt-container {
    padding: 0px;
    margin: 0px;
}

.dt-container .dt-length,
.dt-container .dt-search,
.dt-container .dt-buttons,
.dt-container .dt-info {
    padding: 10px;
    margin: 0px;
}

.dt-container table {
    width: 100%; /* Ensure the table takes up 100% of its container's width */
    border-collapse: collapse; /* Optional: Removes spacing between borders */
}

.dt-container table th,
.dt-container table td {
    border: 1px solid #ddd; /* Adds a border to table cells */
    padding: 8px; /* Adds padding inside cells */
    text-align: left; /* Aligns text to the left */
}

@media (min-width: 768px) { /* Adjust the min-width value as needed */
    .dt-container .top {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }
}

.dt-container .bottom .dt-paging,
.dt-container .bottom .dt-info {
    display: flex;
    justify-content: center;
    margin: 0px;
}

.dt-container .bottom .dt-info {
    margin: 0px;
}

table.dataTable colgroup {
    display: none;
}

/* styling for tables DataTable end */

/* styling for dark mode start */

main {
    background-color: #343a40;
    color: #fff;
}

@font-face {
    font-family: 'Monofonto';
    src: url('path/to/Monofonto-Regular.ttf') format('truetype');
}

.form-control, .form-select, select, .form-control:focus {
    background-color: #000000;
    color: #00FF00;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.25rem;
    padding: 10px;
    border: 1px solid #ccc;
}

.form-control::placeholder, 
.form-select::placeholder, 
select::placeholder, 
.form-control:focus::placeholder {
    color: #00FF00; /* Bright green placeholder text */
    opacity: 0.7; /* Ensures full opacity for the placeholder text */
}

.form-control:-webkit-autofill,
.form-select:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #000000 inset; /* Black background */
    -webkit-text-fill-color: #00FF00; /* Bright green text */
}

.input-group .form-control {
    border-radius: 0px;
}

.input-group .input-group-text {
    background-color: #000;
    color: #fff; /* Bright green placeholder text */
}

.btn, .btn:hover, h2 {
    border: 1px solid #ccc;
    font-weight: bold;
    text-transform: uppercase;
}

/* styling for dark mode end */

/* login note start */

.rolling-text-container {
    overflow: hidden; /* Hide the overflowed content */
    white-space: nowrap; /* Prevent line breaks */
    box-sizing: border-box;
    width: 100%; /* Ensure it spans the full width */
    position: relative;
}

.rolling-text {
    display: inline-block;
    animation: rolling-text-animation 20s linear infinite; /* Animation properties */
    white-space: nowrap; /* Keep text on a single line */
}

@keyframes rolling-text-animation {
    from {
        transform: translateX(100%); /* Start the text off the right side */
    }
    to {
        transform: translateX(-100%); /* Move the text to the left side */
    }
}

/* login note end */


/* chatgpt suggested changes below */

.navbar {
    background-color: #121212 !important;
    border-bottom: 2px solid #007bff;
}
.navbar-brand {
    font-weight: bold;
    letter-spacing: 1px;
}
.nav-link {
    color: #ddd !important;
    transition: color 0.3s ease-in-out;
}
.navbar .nav-link:hover {
    color: #007bff !important;
}

.carousel-item img {
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(1);
}

.card {
    border: 1px solid #333;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}
.card:hover {
    transform: scale(1.03);
    box-shadow: 0px 0px 20px rgba(0, 123, 255, 0.4);
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background 0.3s ease-in-out;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/*
.video-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
*/


table.dataTable {
    border-collapse: collapse;
    background: #1e1e1e;
    color: #fff;
}
table.dataTable th, table.dataTable td {
    border: 1px solid #444;
    padding: 8px;
}
table.dataTable thead {
    background: #007bff;
    color: white;
}
table.dataTable tbody tr:hover {
    background: rgba(0, 123, 255, 0.2);
}

/* chatgpt suggested animations below */

html {
    scroll-behavior: smooth;
}


.navbar {
    background: linear-gradient(to right, #121212, #1a1a1a);
    border-bottom: 2px solid #007bff;
    transition: background 0.3s ease-in-out;
}
.navbar:hover {
    background: linear-gradient(to right, #1a1a1a, #2b2b2b);
}
.navbar-toggler {
    border-color: #007bff;
}

.btn {
    border: 1px solid #ccc;
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
}
.btn:hover {
    border: 1px solid #ccc;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 12px;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 123, 255, 0.4);
}

.carousel-item img {
    transition: transform 0.5s ease-in-out;
}
.carousel-item:hover img {
    transform: scale(1.02);
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 10px;
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    background: #121212;
    border-top: 2px solid #007bff;
    padding: 15px 10px;
    text-align: center;
    font-size: 0.9rem;
    transition: box-shadow 0.3s ease-in-out;
}
footer:hover {
    box-shadow: 0px -5px 15px rgba(0, 123, 255, 0.4);
}
footer a {
    color: #66bfff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}


.navbar-logo {
    height: 30px; /* Adjust height as needed */
    width: auto;  /* Maintain aspect ratio */
    transition: transform 0.3s ease-in-out;
}

.navbar-logo:hover {
    transform: scale(1.1);
}


.navbar-title {
    color: white;  /* Adjust based on theme */
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 15px; /* Space between logo and title */
    flex-grow: 1; /* Pushes the menu to the right */
    text-align: center; /* Center text */
}


/* more chatgpt suggests for pm.css */

.navbar-title {
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    margin-left: 15px;
    flex-grow: 1;
    text-align: center;
}

.table-dark td {
    padding: 10px;
    vertical-align: middle;
}

.table-dark tr td:first-child {
    font-weight: bold;
    /*text-align: right; */
}

.nav-tabs .nav-link {
    color: #fff;
    background-color: rgba(0, 123, 255, 0.5);
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link.active {
    color: white;
    background-color: #007bff;
    font-weight: bold;
}

.comment .timestamp {
    font-size: 12px;
    color: #bbb;
    text-align: right;
    margin-top: 5px;
}

/*
.btn-mg {
    min-width: 140px;
    text-align: center;
    margin: 5px;
}

.card {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.card.reset {
    transform: translateX(0);
    opacity: 1;
}
*/



.attachment-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive grid */
    gap: 15px;
    padding: 10px;
}

.attachment-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
}

.attachment-item:hover {
    transform: scale(1.25); /* Slight zoom on hover */
}

.attachment-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

img {
    transition: transform 0.2s ease-in-out;

}

img:hover {
    transform: scale(1.01); /* Slight zoom on hover */
}
