/*    ____  ____   _________   ____    ____    _____                        */
/*   |_   ||   _| |  _   _  | |_   \  /   _|  |_   _|                       */
/*     | |__| |   |_/ | | \_|   |   \/   |      | |                         */
/*     |  __  |       | |       | |\  /| |      | |   _                     */
/*    _| |  | |_     _| |_     _| |_\/_| |_    _| |__/ |                    */
/*   |____||____|   |_____|   |_____||_____|  |________|                    */
/*                                                                          */
/*      ___             ___                      _                          */
/*    .' _ '.         .' ..]                    / |_                        */
/*    | (_) '___     _| |_     .--.     .--.   `| |-'  .---.   _ .--.       */
/*    .`___'/ _/    '-| |-'  / .'`\ \ / .'`\ \  | |   / /__\\ [ `/'`\]      */
/*   | (___)  \_      | |    | \__. | | \__. |  | |,  | \__.,  | |          */
/*   `._____.\__|    [___]    '.__.'   '.__.'   \__/   '.__.' [___]         */


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

.content-wrap {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}


.icon-link .pencil-icon {
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out; /* Smooth transition for transform, color, and opacity */
    color: lightgrey; /* Default color for pencil icon */
    opacity: 0.2; /* Start with a lower opacity */
}

.icon-link:hover .pencil-icon {
    transform: translateY(-0.25rem); /* Moves icon slightly up */
    color: #62c370; /* Pleasant pastel green on hover */
    opacity: 1.0; /* Full opacity on hover */
}


/* Buttons used in the index.php to accept and reject users*/

.user-activation-buttons {
    border: none;
    background: none;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
    transition: transform 0.3s ease-in-out, height 0.3s ease-in-out;
}

.user-activation-buttons:hover {
    transform: translateY(-10%);
}

/*Console log in the index.php*/

body#login-console-page {
    background-color: #121212; /* This sets the body's background color directly */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Courier New', Courier, monospace;
}

.console-wrapper {
    --console-bg-color: #333; /* Console background color */
    --console-text-color: #0F0; /* Text color */
    --console-border-color: #646464; /* Border and scrollbar handle color */
    --scrollbar-track-color: #2b2b2b; /* Scrollbar track color */
    display: flex;
    flex-direction: column;
    width: 60em; /* Fixed width */
    height: 35em; /* Fixed height */
    border: 4px solid var(--console-border-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    font-size: 1em; /* Base font size */
}

.console-output {
    flex-grow: 1;
    background-color: var(--console-bg-color);
    color: var(--console-text-color);
    overflow-y: auto;
    padding: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--console-border-color) var(--scrollbar-track-color);
}

.console-input-wrapper {
    display: flex;
    background-color: var(--console-bg-color);
    padding-left: 15px;
    color: var(--console-text-color);
}

#console-prefix, #console-input {
    background: transparent;
    border: none;
    outline: none;
    padding-top: 15px;

}

#console-input {
    flex-grow: 1;
    color: var(--console-text-color);
}

/* Scrollbar styling */
.console-output::-webkit-scrollbar {
    width: 8px;
}

.console-output::-webkit-scrollbar-track {
    background: var(--scrollbar-track-color);
}

.console-output::-webkit-scrollbar-thumb {
    background: var(--console-border-color);
    border-radius: 4px;
}

/* Responsive font size adjustments */

@media (max-width: 575.98px) {
    .console-wrapper {
        position: fixed;
        top: 0;
        width: 100%;
        height: 50vh; /* Full viewport height */
        font-size: 0.75em; /* Smaller font size for small devices */
        border: none;
    }

    .console-output {
        padding: 0 0 0 8px; /* Remove padding */
    }

    #console-input {
        padding: 15px 0 0 0;
    }

    .console-input-wrapper {
        padding: 5px 0 0 8px;
    }
}

/* Maintain fixed dimensions and adjust font size for larger screens */
@media (min-width: 576px) {
    .console-wrapper {
        font-size: 0.875em;
    }
}

@media (min-width: 768px) {
    .console-wrapper {
        font-size: 1em;
    }
}

@media (min-width: 992px) {
    .console-wrapper {
        font-size: 1.125em;
    }
}

@media (min-width: 1200px) {
    .console-wrapper {
        font-size: 1.25em;
    }
}

@media (min-width: 1400px) {
    .console-wrapper {
        font-size: 1.5em;
    }
}



/*   _     _____ _____ ___________  ___  _____  _____   */
/*  | |   |_   _/  ___|_   _| ___ \/ _ \|  __ \|  ___|  */
/*  | |     | | \ `--.  | | | |_/ / /_\ \ |  \/| |__    */
/*  | |     | |  `--. \ | | |  __/|  _  | | __ |  __|   */
/*  | |_____| |_/\__/ / | | | |   | | | | |_\ \| |___   */
/*  \_____/\___/\____/  \_/ \_|   \_| |_/\____/\____/   */

/* Cards for the "list tasks" page */

.list-card {
    cursor: pointer;
    transition: transform 0.3s ease-in-out; /* Add border to the transition */
}

.list-card:hover {
    transform: scale(1.05);
}

.list-card-description {
    position: relative;
    max-height: 240px; /* Default max height */
    overflow: hidden;
}

.list-card-description::after {
    content: '';
    position: absolute;
    top: 180px;
    left: 0;
    right: 0;
    height: 60px; /* Height of the fade effect */
    background: linear-gradient(to bottom, rgba(33,37,41,0), rgba(33,37,41,1));
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .list-card-description {
        max-height: 240px; /* Adjusted max height for medium screens */
    }

    .list-card-description::after {
        content: '';
        position: absolute;
        top: 180px;
        height: 60px; /* Height of the fade effect */
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .list-card-description {
        max-height: 240px; /* Adjusted max height for large screens */
    }

    .list-card-description::after {
        content: '';
        position: absolute;
        top: 180px;
        height: 60px; /* Height of the fade effect */
    }
}

/* Extra-large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .list-card-description {
        max-height: 220px; /* Optional: Adjust if needed for extra-large screens */
    }

    .list-card-description::after {
        content: '';
        position: absolute;
        top: 160px;
        height: 60px; /* Height of the fade effect */
    }
}

@media (min-width: 1400px) {
    .list-card-description {
        max-height: 240px; /* Optional: Adjust if needed for extra-large screens */
    }

    .list-card-description::after {
        content: '';
        position: absolute;
        top: 180px;
        height: 60px; /* Height of the fade effect */
    }
}



.custom-input, .custom-span {
    border-radius: 0;  /* Removes rounded corners */
}

.custom-span {
    width: 125px;       /* Fixed width of 60px */
    display: inline-block; /* Changes display to inline-block */
    text-align: center; /* Centers text horizontally */
    border-radius: 0;  /* Removes rounded corners */
}


/* compare.php */

.blinking-today strong {
    font-weight: bold;
    color: yellow;
}


/* Custom style for inline code blocks */
.inline-code {
    font-family: Consolas, "Courier New", monospace;
    background-color: var(--bs-body-bg); /* Use body background color as base */
    color: var(--bs-body-color); /* Ensure text color is appropriate */
    padding: 0px 4px;
    border-radius: 4px;
    display: inline-block;
}

/* Adjust the background and border for dark mode */
[data-bs-theme="dark"] .inline-code {
    background-color: var(--bs-gray-700);
}

/* Adjust the background and border for light mode */
[data-bs-theme="light"] .inline-code {
    background-color: var(--bs-gray-200);
}

.print-only {
    display: none;
}

.no-print {
    display: block; /* Visible by default */
}

@media print {
    body {
        color: #000;
        background: #fff;
    }
    table {
        border: 1px solid #000;
        border-collapse: collapse;
    }
    th, td {
        border: 1px solid #000;
        padding: 8px;
    }
    .print-only {
        display: block !important; /* Make the message visible in print */
    }
    #reportForm button[type="submit"] {
        display: none; /* Hide the submit button in print */
    }
    .no-print {
        display: none !important; /* Hide in print */
    }
}

:root {
    --gl-star-size: 2.2rem; /* Adjust the star size as needed */
}

canvas#priceChart {
    touch-action: none;
    -ms-touch-action: none; /* For older versions of Microsoft Edge */
    -webkit-touch-action: none; /* Safari-specific */
}

#monthlyChart {
    max-height: 400px; /* Set a reasonable max height */
    width: 100%; /* Ensure it scales to container width */
}

.card.card-body {
    border: none; /* Remove the border box */
    box-shadow: none; /* Remove any shadow */
    padding: 0; /* Reduce padding for a flatter appearance */
}

#monthlyChartCollapse {
    overflow: hidden; /* Prevent overflow issues */
}

#weeklyChartCollapse {
    overflow: hidden; /* Prevent overflow issues */
}