body, html {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #f6f9fc;
}

.container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    background: white;
    z-index: 100110;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
}

h1 {
    font-size: 24px;
    color: #ffad5b;
    margin-bottom: 20px;
}

.nav {
    list-style: none;
    padding: 0;
}

.nav li a {
    text-decoration: none;
    color: #333;
    padding: 10px;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav li a:hover, .nav li a:focus {
    background-color: #fca044;
    color: white;
}

.content {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

section::before {
    /* content: attr(id); */
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.checklist input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #ffad5b; /* Optional: modern checkbox color */
}

.checklist label {
    font-size: 16px;
    color: #333;
}


/* br line */
br {
    display: block;
    margin: 10px 0;
    content: "";
    border: 1px solid #e0e0e0;
    margin: 10px 0 20px;
}

/* Floating Button */
.floating-button-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    font-size: 16px;
    color: #fff;
    background-color: #635BFF; /* Stripe-like vibrant color */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
}

.floating-button-right:hover {
    background-color: #524cdd; /* Slightly darker on hover */
}

.floating-button-left{
    z-index: 1000;
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 12px 24px;
    font-size: 16px;
    color: #fff;
    background-color: #f99924; /* Stripe-like vibrant color */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
}
/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    border: none;
    border-radius: 8px;
    width: 50%; /* Responsive width */
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.close-button {
    color: #aab7c4;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover {
    color: #333;
    cursor: pointer;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #6c757d;
}

input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.generate-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.generate-button:hover {
    background-color: #0056b3;
}

.textarea-container {
    position: relative;
    width: 100%; /* Adjust based on your layout needs */
    margin: auto; /* Center the container */
}

#output {
    width: 100%;
    height: 150px; /* Adjust height as needed */
    padding: 10px;
    box-sizing: border-box; /* Includes padding in the width calculation */
    overflow-y: auto; /* Allows vertical scrolling */
}

.copy-button {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 5px 8px;
    z-index: 10; /* Ensures the button is above the textarea */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-button i {
    font-size: 16px; /* FontAwesome icon size adjustment */
}


.copy-button:hover {
    background-color: #0056b3;
}

.copy-button i {
    color: white; /* Ensures the icon is white */
}

/* Base Styles for the Table */
#issuesTable {
    width: 100%;
    border-collapse: separate; /* Allows for spacing between rows */
    border-spacing: 0 10px; /* Adds space between rows */
    margin: 20px 0; /* Adds margin for visual spacing around the table */
    font-family: Arial, sans-serif; /* Modern, readable font */
    overflow-x: auto; /* Ensures horizontal scrolling if table is wider than screen */
}


/* Header Styles */
#issuesTable th {
    background-color: #ffffff; /* A vibrant, modern blue */
    color: #000000; /* White text for contrast */
    padding: 12px 15px; /* Larger padding for a better visual */
    text-align: left;
    border-radius: 6px 6px 0 0; /* Rounded corners on the top */
    border-bottom: 2px solid #ffffff; /* Slightly darker line under the header for depth */
}

/* Cell Styles */
#issuesTable td {
    background-color: #ffffff; /* White background for cells */
    padding: 10px 15px; /* Uniform padding */
    color: #333; /* Dark gray text for readability */
    vertical-align: middle; /* Ensures content is centered vertically */
}

/* Adding a hover effect to rows */
#issuesTable tr:hover {
    background-color: #f9f9f9; /* Light gray background on hover for interactivity */
    box-shadow: 0 6px 12px rgba(0,0,0,0.05); /* Slightly deeper shadow on hover for a "lifting" effect */
}

/* Rounded corners for the first and last cell in each row */
#issuesTable tr:first-child td:first-child {
    border-top-left-radius: 6px;
}

#issuesTable tr:first-child td:last-child {
    border-top-right-radius: 6px;
}

#issuesTable tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

#issuesTable tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

/* Center Text Alignment for specific columns if necessary */
.text-center {
    text-align: center;
}



.footer {
    text-align: center;
    padding: 20px 10px;
    background-color: #f2f2f2; /* Light grey background, adjust color as per your theme */
    color: #666; /* Dark grey text, ensures legibility */
    font-size: 14px;
    border-top: 1px solid #e1e1e1; /* Adds a subtle line to visually separate the footer from content */
}


/* Responsive Styles */
/* Media Queries for Tablets */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;  
    }

    .floating-button-left, .floating-button-right {
        padding: 10px 18px;  
    }

    .modal-content {
        width: 90%;  
    }

    #issuesTable td, #issuesTable th {
        padding: 8px; 
    }
}

/* Media Queries for Mobile Devices */
@media (max-width: 480px) {
    .sidebar {
        width: 100%;  
        position: fixed;  /* Make sidebar fixed on mobile */
        height: 100vh;  /* Full viewport height */
        padding: 15px;
        transform: translateX(-100%);  /* Start off-screen */
        transition: transform 0.3s ease;  /* Smooth transition for sliding */
    }

    .container {
        flex-direction: column;  
    }

    .content {
        margin-top: 60px;  /* Increased top margin to account for fixed sidebar icon */
        padding: 15px;  
        overflow-y: auto;  /* Ensures content is scrollable */
    }

    .floating-button-left, .floating-button-right {
        position: fixed;  /* Keep the buttons floating */
        display: inline-block;  /* Make them inline for icon-like appearance */
        bottom: 20px;  /* Position at the bottom of the viewport */
        width: auto;  /* Auto width based on content (icon size) */
        padding: 12px;  /* Padding around the icon */
        font-size: 24px;  /* Icon size */
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);  /* Subtle shadow for floating effect */
    }

    .floating-button-left {
        left: 20px;  /* Position from the left */
    }

    .floating-button-right {
        right: 20px;  /* Position from the right */
        margin-bottom: 20px;  /* Extra margin from the bottom */
    }
    .generate-report-name {
        display: none;  /* Hide the report name input on mobile */
    }
    .generate-report-name-mobile {
        display: block !important;  /* Show the report name input on mobile */
    }
    #quickTourBtn{
        display: none;  /* Hide the quick tour button if not needed */
    }
}


/* High-Density Retina Displays */
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) { 
    /* Increase font sizes for retina displays */
    body, html {
        font-size: 16px;
    }
}

.hamburger-menu {
    display: none;  /* Hidden by default, shown only on small screens */
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: transparent;
    border: none;
    font-size: 24px;
    z-index: 1001; /* Make sure it's above other content */
    cursor: pointer; /* Indicates that the element is clickable */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Adds a medium-dark shadow */
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block; /* Show hamburger button on small screens */
    }

    .sidebar {
        position: fixed;
        width: 65%;
        height: 100vh;
        overflow-y: auto; /* Allow scrolling within the sidebar */
        transform: translateX(-100%); /* Start off-screen */
    }

    .container {
        flex-direction: column;
    }
}