@CHARSET "ISO-8859-1";

div.page_report_handler table.main th,
div.saved_report_list table.main th
{
	
	font-size: 14px;
    border: solid 1px grey;
    background-color: #CCCBCB;
    padding: 3px;
    }
    
div.page_report_handler table.main th,
div.saved_report_list table.main th
{
	text-align:center; 
	vertical-align: middle;
}

div.page_report_handler table.main td,
div.saved_report_list table.main td
{
	 padding: 5px;
     border-bottom: 1px solid #CCCBCB; 
}

div.page_report_handler table 
{
	width: 100%;
}

div.page_list_reports .button
{
	margin:1px 0 4px 1px;
}

h3.dashboard,h1.dashboard,h2.dashboard ,h4.dashboard,h5.dashboard
{
	text-align: center;
}

p.dashboard
{
	font-style: italic;
	padding:10px 0;
}

div.report-graph table.sales_ticker input.button
{
	display: none;
}

div.dashboard-container table.sales_ticker input.button
{
	display: none;
}
.component_area 
{
	border: solid 2px #e3e2e2;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
    background-color: #ffffff;
    color: #525252;
    font-size: 10pt;
    overflow-x: auto;
}
#report_filters, #reports_selection 
{
      padding: 20px;
      border: 1px solid #ccc;
      background-color: #f9f9f9;
      display: block;
}
#collapsed_banner_filters, #collapsed_banner_reports_selection 
{
      display: none;
      height: 30px;
      background-color: #eee;
      border: 1px solid #ccc;
      text-align: center;
      line-height: 30px;
      cursor: pointer;
}
#collapsed_banner_filters, #collapsed_banner_reports_selection :hover 
{
      background-color: #ddd;
}

.dashboard-container
{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 10px;
  padding: 10px;
  align-items: start;
  /* removed overflow here entirely */
}

.dashboard-container >.extension-card
{
  min-width: 0;
  min-height: 0;
  
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
  text-align: center;
  /* scroll inside if a child is too big */
  overflow-x: auto;
}

.report-graph 
{
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;

  /* if your chart canvas is huge, scroll or clip it here */
  overflow: auto;
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) 
{
    .dashboard-container 
    {
        grid-template-columns: 1fr; /* Single column for medium screens */
    }
}

/* Header */
.extension-header 
{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

/* Buttons */
.details-btn, .remove-btn, .csv-btn, .add-btn 
{
    background:#373742;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    width:75px;
    height: 20px;
    font-size: 70%;
}
.dashboard-button 
{
	background:#373742;
	color: white;
	border: 7px;
	width: 80px;
	height: 25px;
	font-size: small;
	padding: 4px;
}
.details-btn:hover, .remove-btn:hover 
{
    background: #373742;
}

#reports_dash .sales-ticker,
#report_selection_div .sales-ticker
{
	display:none;
	
}
.extension-card.large {
    grid-column: span 1; /* Takes the larger column */
}

img.dashboard_loading{
	width: 25px; 
	height: 25px;
}

div.dashboard-container h4{
	color : red;
}

.menu-container {
    position: relative;
    display: inline-block;
 }

/* 3-dot icon */
.menu-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: right;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 26px;
}

/* Dropdown menu */
.dropdown-menu
{
    position: absolute;
    top: 30px; /* Space below the menu button */
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Initially hidden */
    padding: 5px;
    white-space: nowrap; /* Prevents buttons from wrapping */
    width: fit-content; /* Ensures width matches the largest button */
    z-index: 1000;
    display: flex;
    flex-direction: column; /* Makes buttons stack vertically */
}


/* Show dropdown */
.dropdown-menu.active 
{
    display: flex;
}

/* Dropdown buttons */
.dropdown-menu button 
{
    background: none;
    border: none;
    padding: 10px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.dropdown-menu button:hover 
{
    background: #f1f1f1;
}

.reload 
{
  font-family: Lucida Sans Unicode
}

.report-header 
{
  display: flex;            /* Align items in a row */
  align-items: flex-start;  /* Icon stays at the top-left corner */
  gap: 10px;                /* Space between icon and text */
}

.report-icon 
{
  width: 32px;              /* Adjust icon size as needed */
  height: 32px;
}

.report-text 
{
  display: flex;            /* Stack title and subtitle vertically */
  flex-direction: column;
}

.report-title 
{
  font-weight: bold;        /* Make the main text stand out */
  margin-bottom: 4px;       /* Space below the title */
  /* text-decoration: underline;  If you want an underline */
}

.report-subtitle 
{
  color: #555;              /* Lighter color for secondary text */
  /* Additional styling if needed */
}

