

/* Add to your CSS file or <style> tag */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1d1e1f; /* Light Gray background */
    color: black; /* Standard text color */
}

.header {
    background-color: #102545;
    padding: 10px 20px;
    transition: background-color 0.5s;
    border-bottom: 1px solid #ddd;
}

.header .left, .header .center, .header .right {
    display: flex;
    align-items: center;
    color: white; /* Ensure header text is white */
}

.summary-tooltip {
    cursor: pointer;
    border-bottom: 1px dotted #fff; /* White underline to indicate it's clickable */
}

.header .right button {
    background-color: #102545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.header .right button:hover {
    background-color: #102545;
}

.left-aligned-button {
    background-color: #102545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    width: fit-content;
}

.left-aligned-button:hover {
    background-color: #102545;
}

.hover-buttons button {
    margin-left: 5px;
    padding: 5px 10px;
    background-color: #102545;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.hover-buttons button:hover {
    background-color: #102545;
}

.user-id-container {
    position: relative;
    display: inline-block;
}

.user-id-container .hover-buttons {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    white-space: nowrap;
}

.user-id-container:hover .hover-buttons {
    display: block;
}

.dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

/* Style for table headers */
thead {
    background-color: #102545(48, 11, 117);
    color: white;
}

/* Styles for tables */
table {
    background-color: rgb(253, 253, 253); /* Grey background for the tables */
    color: white; /* White text color for better readability on grey background */
    
}

/* Styles for chart container */
.chart-container {
    background: #102545; /* Set the background to black */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    max-width: 100%;
    overflow: hidden;
    height: 600px; /* Adjust this value as needed */
    width: 150%; /* Optional: adjust width as needed */
    margin: 0 auto; /* Center the container */  
}

.chart-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: white; /* White text for chart titles */
    
}

.chart-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.chart-container select {
    max-width: 1000px;
    color: #303030; /* Black text for select dropdowns */
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position the tooltip above the text */
    left: 50%;
    margin-left: -100px; /* Use half of the width to center the tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.filter-container {
    background-color: #444; /* Dark grey background for the filter container */
    color: white; /* White text color in the filter container */
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    margin-top: 0px;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 10px; /* Adjust padding for left and right */
    margin: 0 auto; /* Center the content */
}

.chart-container {
    margin-bottom: 0px;
}

.form-control {
    border-radius: 20px;
    padding: 10px;
    box-shadow: none;
    transition: all 0.3s;
}

.form-control:focus {
    box-shadow: 0px 0px 5px #102545(54, 131, 218, 0.5);
    border-color: #102545;
}

.btn-primary {
    color: #102545;
    background-color: #102545;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    transition: background-color 0.3s;
    color: white;
}


.btn-primary:hover {
    color:102545 ;
    background-color: #102545;
}

.filter-container label {
    font-weight: bold;
    color: #102545; /* Maintain consistency with other elements */
}


/* Ensure the headers are vertically aligned and centered */
th {
    vertical-align: middle;
    text-align: center; /* Center the content in the header */
    padding: 12px;
    white-space: nowrap; /* Prevent headers from wrapping to the next line */
}

/* Dropdown and icons styling */
.sortable .dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%; /* Ensure the dropdown appears below */
    left: 0;
    min-width: 120px;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    display: none;
    transition: all 0.3s;
}

.dropdown-menu button {
    padding: 10px;
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-menu button:hover {
    background-color: #f1f1f1;
}

/* Show dropdown on hover */
.sortable:hover .dropdown-menu {
    display: block;
}

/* Small sort icon */
.dropdown-toggle .fas {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle; /* Align with the text */
}

/* Simple headers (e.g., AI Model, Tags) */
th {
    text-align: center; /* Align text in the center */
    padding: 10px;
    font-size: 14px;
    white-space: nowrap; /* Prevent wrapping of text */
}

/* Ensure all text and icons are aligned on the same line */
.sortable i {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}



/* For new Report */

.report-details {
    width: 1000px;
    max-width: 1000px;
    height: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: #f7f9fc;
    border: 1px solid #d3dce6;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
    padding-bottom: 50px; /* Added bottom padding for extra space */
    overflow-y: auto; /* Enable vertical scrolling */

}

.report-details h2, .report-details h3 {
    color: #102545;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    border-bottom: 2px solid #e6ebf1;
    padding-bottom: 5px;
}

.report-details form, .report-details div {
    margin-top: 15px;
    margin-bottom: 15px;
}

input[type="text"], input[type="number"], textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #d1dbe8;
    border-radius: 6px;
    background-color: #ffffff;
    transition: border-color 0.2s;
}

input[type="text"]:focus, input[type="number"]:focus, textarea:focus {
    border-color: #102545;
    outline: none;
    box-shadow: 0px 0px 5px rgba(74, 144, 226, 0.2);
}

textarea {
    height: 120px;
    resize: vertical;
}

.btn-primary, .btn-secondary {
    background-color: #102545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #102545;
}

button {
    background-color: #102545;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.2s, transform 0.1s;
}

button:hover {
    background-color: #102545;
    transform: scale(1.02);
}

button:active {
    background-color: #102545;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.evidence-box {
    position: relative;
    margin-top: 20px;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}

.delete-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 12px;
    background-color: #e74c3c;
    color: white;
    border: none;
    cursor: pointer;
    border-bottom-left-radius: 5px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.delete-btn:hover {
    background-color: #c0392b;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

/* Additional Styling */
.report-details h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.report-details h3 {
    font-size: 20px;
    color: #34495e;
    margin-top: 20px;
}

.form-control-plaintext {
    background-color: #f7f9fc;
    border-radius: 6px;
    padding: 8px;
    color: #102545;
}

.list-group {
    border: 1px solid #d1dbe8;
    border-radius: 6px;
    background-color: #f7f9fc;
    padding: 10px;
}
.overlay-content1 {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #333;
    overflow: auto; /* Enable scrolling for long content */
}

.overlay-content1 h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #102545;
    text-align: center;
}

.overlay-content1 p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.overlay-content1 ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.overlay-content1 ul li {
    font-size: 1rem;
    margin-bottom: 10px;
}

.close-btn {
    background: #1e90ff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 0 auto 20px;
    font-size: 1rem;
}

.close-btn:hover {
    background: #1c86ee;
}