body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
}
.table {
  width: 100%;
  border-collapse: collapse;
}

.table__th, 
.table-row__td {
  text-align: left;
  vertical-align: middle;
}

#requests-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;

  /* prevent overlay itself from scrolling */
  overflow: hidden;
}

#requests-modal-content {
  background: #fff;
  position: fixed;           /* stays centered in viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  max-height: 80%;           /* keep within viewport */
  display: flex;
  flex-direction: column;    /* so body area can scroll */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#requests-modal-body {
  padding: 20px;
  overflow-y: auto;          /* only body scrolls */
  flex: 1;                   /* fill available height */
}

#credentials-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;

  /* prevent overlay itself from scrolling */
  overflow: hidden;
}

#credentials-modal-content {
  background: #fff;
  position: fixed;           /* stays centered in viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  max-height: 80%;           /* keep within viewport */
  display: flex;
  flex-direction: column;    /* so body area can scroll */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#credentials-modal-body {
  padding: 20px;
  overflow-y: auto;          /* only body scrolls */
  flex: 1;                   /* fill available height */
}

.app-logo {
  max-width: 140px;
  margin: 0 auto 15px;
  display: block;
}
.center {
    text-align:center;
}
.centered-form {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.wide-form {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.menu-container {
    display: flex;
    height: 100vh;
    width: 100%;
    background-color: #ffffff;
}

.tab-menu {
    background-color: #343a40;
    width: 250px;
    max-width: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Enable scrolling */
    max-height: 100vh; /* Constrain the height of the menu */
}

* {
    box-sizing: border-box;
}

.tab-button {
    background-color: #495057;
    border: none;
    margin-bottom: 10px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: left; /* Align text to the left for a clean menu look */
}

.tab-button:hover {
    background-color: #6c757d;
}

.tab-button.active {
    background-color: #28a745;
    color: white;
}

.tab-button:focus {
    outline: none;
}

.tab-button.logout {
    background-color: #dc3545;
    color: white;
    margin-top: auto; /* Push logout to the bottom */
}
.tab-button.logout:hover {
    background-color: #c82333;
}
.tab-button.website {
    background-color: #17a2b8;
    color: white;
}

.tab-button.website:hover {
    background-color: #138496;
}

/* Tab content container */
.tab-content-container {
    flex: 1;
    padding: 20px;
    background-color: #f8f9fa;
    overflow-y: auto;
    border-left: 1px solid #e0e0e0;
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-bottom: 20px;
}

.tab-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}
/* Sub-tab styles */
.sub-tab-menu {
    display: none; /* Initially hidden */
    margin-top: 5px;
    padding-left: 20px; /* Indent sub-tabs for hierarchy */
    margin-bottom: 15px;
}

.sub-tab-button {
    display: block; /* Makes the buttons stack vertically */
    background-color: transparent; /* Remove button-like background */
    border: none; /* Remove border */
    padding: 8px 0; /* Adjust padding for a link-like appearance */
    margin: 2px 0; /* Minimal margin for spacing */
    font-size: 14px;
    color: #adb5bd; /* Use a lighter color for sub-tabs */
    cursor: pointer;
    border-radius: 0; /* Remove rounded corners */
    transition: all 0.3s ease;
    text-align: left; /* Align sub-tab text to the left */
    width: 100%; /* Ensure it spans the full container width */
}

.sub-tab-button:hover {
    background-color: #6c757d; /* Highlight on hover */
    color: #fff; /* Change text color on hover */
    padding-left:10px;
    border-radius: 8px;
}

.sub-tab-button.active {
    background-color: #17a2b8; /* Active sub-tab highlight */
    color: white;
    font-weight: bold; /* Emphasize active sub-tabs */
    padding-left:10px;
    border-radius: 8px;
}

/* General responsive layout */
@media (max-width: 1370px) {
    .menu-container {
        flex-direction: column; /* Stack the menu and content vertically */
        height: auto;
    }

    .tab-menu {
        width: 100%; /* Make the menu take the full width */
        max-width: none; /* Remove fixed width */
        position: fixed; /* Fix it at the top or left */
        top: 0;
        left: 0;
        z-index: 1000;
        transform: translateX(-100%); /* Hidden by default */
        transition: transform 0.3s ease;
        height: 100vh; /* Full viewport height for the menu */
        background-color: #343a40; /* Same as desktop for consistency */
    }

    .tab-menu.open {
        transform: translateX(0); /* Slide in the menu */
    }
    .tab-content-container {
        padding: 10px; /* Reduce padding for mobile */
    }

    .tab-content {
        padding: 10px; /* Match reduced padding */
    }

    /* Adjust button styles for better tap targets */
    .tab-button, .sub-tab-button {
        font-size: 18px;
        padding: 15px;
    }

    .tab-button.logout {
        margin-top: 20px;
    }
}

/* Hamburger menu styles */
.hamburger-menu {
    display: none; /* Hidden on larger screens */
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1100;
    background-color: #343a40;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 1370px) {
    .hamburger-menu {
        display: block; /* Show on smaller screens */
    }
}
.admin-logo{
    margin-bottom: 15px;
    margin-left:auto;
    margin-right:auto;
}
.admin-logo .hamburger-menu{
    margin-bottom: 15px;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Enables scrolling on small screens */
    padding: 10px; /* Adds padding to prevent cutoff on mobile */
}

.modal-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 800px;
    width: 100%; /* Ensure it adjusts on mobile */
    max-height: 95vh; /* Constrains height for scrolling on mobile */
    overflow-y: auto; /* Enables scrolling inside the modal */
    text-align: left; /* Aligns content to the left */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-content-orders {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  max-height: 80vh;
  overflow-y: auto;
}


.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
}
/* ==========================================================
   TOOLTIP BASE
   ========================================================== */
/* Tooltip element created in <body> */
/* Icon itself */
.tooltip-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 6px;
    color: #000;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    user-select: none;
    touch-action: manipulation;
}

/* Floating tooltip injected into <body> */
#floating-tooltip {
    position: fixed;
    max-width: 320px;
    background: #333;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    z-index: 999999999; /* above menus, tables, etc */
    pointer-events: none; /* don’t block mouse */
    opacity: 0;
    transform: translate(-50%, -6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Hidden state */
#floating-tooltip.hidden {
    opacity: 0;
}

/* Visible state (we just remove .hidden) */
#floating-tooltip.visible {
    opacity: 1;
}

.more-details {
    color: #007bff;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px dotted #007bff;
    padding-bottom: 2px;
    margin-left: 3px;
}
.more-details:hover {
    border-bottom-style: solid;
}


.super_user {
    background-color:#822121;
    color:white;
    padding:5px;    
}
.super_user a{
    color:yellow;  
}
.form-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%; /* Ensures the form uses full available width */
}

/* Form Elements */
.filter-search, .filter-date, .filter-button, .clear-button, .download-emails {
    flex-grow: 1; /* Allow elements to expand */
    min-width: 150px; /* Prevent extreme shrinking */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #f8f9fa;
    color: #495057;
    transition: border-color 0.3s ease;
}

/* Focus state for date fields */
.filter-date:focus {
    border-color: #17a2b8;
    outline: none;
}

/* Button styles */
.filter-button, .clear-button, .download-emails {
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Filter button (blue) */
.filter-button {
    background-color: #17a2b8;
    color: #fff;
}

.filter-button:hover {
    background-color: #138496;
}

/* Clear button (gray) */
.clear-button {
    background-color: #222;
    color: #fff;
}

.clear-button:hover {
    background-color: #5a6268;
}

/* Download Emails button (green) */
.download-emails {
    background-color: #6f42c1 !important; /* Green color */
    color: #fff;
}

.download-emails:hover {
    background-color: #5a32a3 !important; /* Darker green for hover effect */
}
/* Mobile Layout */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column; /* Stack everything vertically */
    }

    .filter-search {
        margin-bottom: 20px; /* More space between search and other fields */
    }

    .filter-date, .filter-button, .clear-button {
        width: 100%; /* Full width on smaller screens */
        margin-bottom: 10px; /* Space between items */
    }
}
.info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa; /* Light background for contrast */
    padding: 10px 15px;
    border: 1px solid #ddd; /* Optional border for separation */
    border-radius: 4px; /* Rounded corners for better appearance */
    margin-bottom: 15px; /* Spacing above the table */
    font-family: Arial, sans-serif;
    font-size: 14px; /* Adjust font size */
    color: #333; /* Dark text color */
}

.info-left,
.info-right {
    flex: 1; /* Equal spacing for left and right */
}

.info-right {
    text-align: right; /* Align page info to the right */
}
.centered-button {
    text-align:center;
    margin-top: 15px;
}
/* styles.css */
.dashboard {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.dashboard:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: linear-gradient(135deg, #f9f9f9, #e3e3e3);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 175px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    align-items: center;
    gap: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    z-index: 0;
    transition: all 0.3s ease;
}

.card:hover::before {
    top: -40%;
    right: -40%;
    background: rgba(255, 255, 255, 0.15);
}

.card h2 {
    position: relative;
    font-size: 1.4rem;
    margin: 0;
    color: #444;
    z-index: 1;
    margin-bottom: 5px; /* Adds slight space between title and content */
}

.card .number,
.card .status,
.card .detail {
    position: relative;
    font-size: 2.5rem; /* Larger font size for numbers */
    font-weight: bold;
    color: #007BFF;
    z-index: 1;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center;
    word-wrap: break-word;
}

.card .status {
    color: #28a745;
}

.card .detail {
    font-size: 1.2rem; /* Adjusted for emphasis */
    color: #6c757d;
    max-width: 90%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Specific adjustments for Most Active Website */
.card.most-active .detail {
    white-space: normal; /* Allows wrapping for domain names */
    font-size: 1.4rem;
    line-height: 1.4; /* Balanced line height */
    text-align: center;
}
.iframe-container {
  position: relative;
  width: 100%; /* Full width of the modal content */
  padding-top: 56.25%; /* Aspect ratio for 16:9 video */
  overflow: hidden; /* Ensure content doesn't overflow */
  margin-top: 20px;
  margin-bottom: 20px;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Full width of the container */
  height: 100%; /* Full height of the container */
  border: none; /* Clean appearance */
}
.font-preview {
    margin-top: 10px;
    padding: 10px;
    font-size: 1.5rem;     /* Default font */
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}






.main-content{
overflow:hidden!important;
}
.shadow-sm {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px!important;
}
#pagination-controls {
  display: inline-flex;
}

.copy-text{
  display: inline-block;
  margin-left: 4px !important;
}
.copy-text button svg {
  vertical-align: middle;
  margin-left: 3px;
}
.copy-text button, .view-text button {
  padding: 7px 15px;
  height: 34px;
}

.copy-text button {
  background: #56c4aa;
}

.view-text button{
background: #a256c4;
}

.aw-copy-view-group{
display:flex;
flex-wrap:wrap;
gap:5px;
}
.aw-details-field li div {
  display: flex;
  align-items: center;
}
.aw-details-field ul li{
margin-top:5px;
}


.cms-planetary-portal h1 {
  font-weight: 300;
  line-height: 1.1;
  font-size: 2.6rem;
  margin-top: 0rem;
  margin-bottom: 2rem;
}

@media (min-width: 769px), print {
 .cms-planetary-portal h1 {
    font-size: 40px;
    margin-bottom: 40px;
  }
}

.aw-radial-elem{
position:relative;
}
.radial-completed--data {
  position: absolute;
  right: 73px;
  top: 73px;
}

@media (max-width: 1150px) and (min-width: 451px) {
  .radial-completed--data {
    position: absolute;
    right: 57px;
    top: 57px;
  }
}

@media (max-width: 1150px) and (min-width: 967px) {
.md\:w-1\/2 .rounded-lg, .md\:w-1\/2{
display: flex;
}
}

.active-products {
  color: #929292;
  margin-bottom: -13px;
}

.-mx-2.md\:flex{
align-items:stretch;
}
.connected_user_id {
  border-radius: 5px;
  padding: 10px;
  background: #f7f7f7;
  margin-bottom: 15px;
  font-weight: 600;
  width: fit-content;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.alert {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}
.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.page-header, .breadcrumbs, .copyright, .nav-sections, .page-footer{
    display:none; 
}
.message-success{
    display:none;
}
.table-image {
    max-width:150px;
}

.table-action-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
    align-items: left;
}

.custom_title {
    max-width:325px;
    margin-top:8px;
}
.custom_price {
    margin-top: 8px;
}
.field-input{
display:none;
position:relative;
}
.field-icon>span{
background: #bfbfbf;
  height: 25px;
  top: 4px;
  position: relative;
  font-size: 19px;
  width: 45px;
  display: flex;
  text-align: center;
  padding-left: 10px;
  padding-top: 7px;
  color: white;
  max-width: 20px;
  }
  
[data-column="Selling Price"] input {
  width: 115px;
}

.AstroButtonWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cancelSaveProduct {
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
  padding: 5px 15px;
  border-radius: 5px;
  color: white;
}

.saveProduct {
  margin-top: 7px;
}

.cancelSaveProduct {
  background: #a73742;
  margin-top: 15px; /* Adjust this value to increase or decrease the space between the buttons */
}

/*Replace whole style selector with below without !important*/
.main-content {
    margin-left: 250px;
    flex-grow: 1;
    background-color: white;
    box-sizing: border-box;
    overflow-y: auto;
    height: 100%!important;
    margin-top: -25px;
}
.container {
    height: 100vh;
    display: contents;
}


::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb:hover {
    background: #3767a7;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
 
.table-container {
  overflow: hidden;
    overflow-x: hidden;
  overflow-x: auto;
}
.table-container .table{
width: 100%;
}
  .field-icon {
  display: flex;
  align-items: center;
}
.aw-logo img {
  max-width: 160px;
  width: 100%;
}
.aw-table{
background: #f7f7f7;
}
.aw-table-header {
  background: #eee;
  padding: 5px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
.aw-table-header--inner{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}
.aw-table-top-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom:5px;
}
.aw-table-top-header-actions {
  flex: 1;
  min-width: 250px;
  gap: 5px;
  display: flex;
  flex-wrap: wrap;
}
#pagination-controls > a {
  background: #3666a6;
  margin-right: 5px;
  padding: 4px 10px;
  color: white;
  border-radius: 5px;
  border: 2px solid #17376a;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  text-decoration: none;
}
#pagination-controls > a:hover 
{
opacity:0.7;
}
.grid-total-results {
    color: #7d7d7d;
  text-align: right;
}
.aw-table-header--right{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.search-box {
  display: flex;
  width: 100%;
}

.search-input {
  flex: 1;
  height: 42px;
  padding: 0 10px;
  border: 2px solid #c1c1c1!important;
  border-right: none!important;
  border-radius: 5px 0 0 5px!important;
  outline: none;
  font-size: 18px;
  color: tomato;
  background: none;
  box-sizing: border-box;
}

.search-button,
.clear-button {
  width: 42px;
  height: 42px;
  margin-top: 10px;
  border: 2px solid #c1c1c1;
  border-left: none;  
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}
.search-button {
  background: none;
}

.search-button {
  color: blue;
  border-radius: 0;
}

.clear-button {
  color: red;
  border-radius: 0 5px 5px 0;
  max-width: 50px;
}


#page-of-controls input{
max-width: 53px;
  background: #f7f7f7;
  border-radius: 5px;
  border: 1px solid #b5b5b5;
}
#page-of-controls input[type="number"]::-webkit-outer-spin-button,
#page-of-controls input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide number input arrows in Firefox */
#page-of-controls input[type="number"] {
    -moz-appearance: textfield;
}
#per-page-selector {
  background: #f7f7f7;
  border-radius: 5px;
  border: 1px solid #b5b5b5;
  text-indent: 0;
}
.pagination-button {
    margin-right:10px;
}
.per-page-container {
  display: flex;
  align-items: center;
  gap: 6px;
}
.container {
    height: 100vh;
}
.block_type_desc {
    display: inline;
}
.fieldgroup {
  display: inline-block;
}
.fieldgroup_container {
  display: flex;
  align-content: center;
  align-items: baseline;
  gap: 5px;
  margin-top:10px;
}
.field-title {
    font-style: italic bold;
    color: #3767a7;
    margin-top: 5px;
}
.astro-success {
    color:green;
}
.astro-failure {
    color:red;
}
.astro-error {
            border: 2px solid red;
        }
.astro-error-message {
            color: red;
            font-size: 12px;
            margin-top: 5px;
        }
.aw-logo {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.sidebar {
    width: 250px;
    background-color: black;
    color: white;
    padding: 15px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    bottom: 0;
    overflow-y: auto;
}

.menu-item, .submenu-item {
    padding: 10px;
    cursor: pointer;
}
.menu-item{
display:block;
}
.toggle-menu-item{
position:relative;
}
.toggle-menu-item::after {
  content: "+";
  font-size: 23px;
  position: absolute;
  right: 18px;
  top: 3px;
}
.toggle-menu-item.active::after {
  content: "-";
  font-size: 30px;
  position: absolute;
  right: 18px;
  top: -5px;
}
.menu-item:hover, .submenu-item:hover {
    background-color: #333;
}

.submenu {
    display: none;
    padding-left: 20px;
}
.submenu-item.active {
  background: #3666a6;
}
.menu-item.active {
  background: #a73742;
}

.main-content {
    margin-left: 250px;
    flex-grow: 1;
    background-color: white;
    box-sizing: border-box;
    overflow-y: auto;
    height: 100vh;
}

.content-container{
padding: 20px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        position: static;
    }
    .main-content {
        margin-left: 0;
    }
}

.error {
            color: red;
        }
     .astro-shipment-group {
        margin-bottom: 20px; /* Add space between each shipment group */
    }

    .astro-shipment-group span {
        display: block; /* Ensure each span is on a separate line */
        margin-bottom: 5px; /* Add space between carrier and tracking within the same group */
    }       
.astro-prod-title {
            display: flex;
            align-items: center;
        }
        .astro-prod-title img {
            height: 100px;
            margin-right: 10px;
            margin-top:20px;
        }
        .astro-prod-info {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
	background-color: #f7f7f7;
	padding: 5px;
}

.astro-fin-info {
    display: grid;
    grid-template-columns: auto auto;
    max-width: 300px;
    min-width: 300px;
    font-size: 1rem;
    line-height: 1.6;
    background-color: #d3e4d5;
    padding: 8px;
}
.profit {
    margin-top:10px;
    font-weight:bold;
}
.astro-fin-info div {
    display: contents; /* allow each label/value pair to sit in the grid properly */
}

.label {
    text-align: left;
}

.value {
    text-align: right;
    font-weight: 500;
}
  .aw-billing-info--container, .add_card_info, .hdmx__contact-form{
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  margin-bottom: 25px;
  padding: 14px;
  border-radius: 5px;
}
.aw-billing-info--container > h3, .add_card_info > h3, .hdmx__contact-form .legend {
  margin-top: 0px;
  margin-bottom: 15px;
}
.hdmx__contact-form .legend{
  font-weight: 600;
  line-height: 1.1;
  font-size: 1.8rem;
}
.hdmx__contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.fieldset .field-recaptcha{
margin-top:10px;
}
.fieldset .actions-toolbar{
margin-bottom:10px;
}
.aw-billing-info--container input, .aw-billing-info--container select, .add_card_info input, .add_card_info select {
  background-color: #fbfbfb;
  margin-bottom: 10px;
  border-color: #e1e1e1;
  border-radius: 5px;
  color: #464646;
}
.aw-billing-info--state, .add_card_info--container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  align-items: end;
}
.aw-billing-info--state > *, .add_card_info--container > * {
  flex: 32%;
  min-width: 250px;
  margin-bottom: 0px!important;
}
.add_creditcard {
  max-width: 900px;
  margin: 0 auto;
}
.add_card_info button {
  margin-top: 15px;
}

button {
  background: #386bae;
  border: none;
  color: white;
  padding: 9px 25px;
  font-weight: 700;
  border-radius:3px;
  -webkit-transition: background-color 100ms linear;
  -ms-transition: background-color 100ms linear;
  transition: background-color 100ms linear;
}

button:hover,button:active,button.active,button:focus{
  background: #285593;
  color: white;
  border: none;
}     
#download_product_csv{
margin-top:7px;
}
.api_docs{
    background-color: #f5f5f5;
    padding: 10px;
}
.copy--code-parent-container pre {
  overflow: auto;
  position: relative;
  border-top: none;
  padding-bottom: 0px;
  padding-top: 15px;
}
.copy--code-container h3
{
margin-top: 0;
margin-bottom:0;
} 
.copy--code-container {
  display: flex;
  gap: 15px;
  align-content: center;
  align-items: center;
  background: #dfdfdf;
  padding: 7px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border: 1px solid #ccc;
  border-bottom: none;
  justify-content: space-between;
}
   .copy--code-parent-container {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  border-radius: 7px;
  padding: 10px;
  margin-bottom:15px;
}     
.copy-code-snippets {
  background: transparent;
  text-decoration: underline;
  color: #396db1;
  text-underline-offset: 4px;
  padding: 9px 5px;
}
.copy-code-snippets--flex{
display:flex;gap:5px;
}

.hdmx__contact-popup .fieldset :last-child, .hdmx__contact-form .fieldset :last-child, .hdmx__ticket-new .fieldset :last-child {
  margin-top: 0px;
}
        

.row__title{
  color: #53646f;
  font-weight: 400;
  font-size: 20px;
  margin: 0;
}

.row--top-40{
  margin-top: 40px;
}

.row--top-20{
  margin-top: 20px;
}
.table__th {
    color: #9eabb4;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
   cursor: pointer;
    border:0 !important;
  padding: 15px 8px !important;
}

.table-row {
    border-bottom: 1px solid #e4e9ea;
  background-color: #fff;
}
.table__th:hover {
    color: #01b9d1;
}

.table--select-all {
    width: 18px;
    height: 18px;
    padding: 0 !important;
    border-radius: 50%;
    border: 2px solid #becad2;
}
.table-row__td {
    padding: 12px 8px !important;
    vertical-align: middle !important;
    color: #53646f;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px !important;
  border:0 !important;
}

.table-row__img{
   width: 36px;
    height: 36px;
    display: inline-block;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
   vertical-align: middle;
}






.table-row__info {
    display: inline-block;
    padding-left: 12px;
  vertical-align: middle;
}

.table-row__name {
    color: #53646f;
    font-size: 14px;
    font-weight: 400;
  line-height: 18px;
    margin-bottom: 0px;
}

.table-row__small {
    color: #9eabb4;
    font-weight: 300;
    font-size: 12px;
}

.table-row__policy {
    color: #53646f;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 0px;
}
.table-row__p-status {
    margin-bottom: 0;
    font-size: 13px;
    vertical-align: middle;
    display: inline-block;
  color: #9eabb4;
}


.table-row__status{
    margin-bottom: 0;
    font-size: 13px;
    vertical-align: middle;
    display: inline-block;
  color: #9eabb4;
}


.table-row__progress{
    margin-bottom: 0;
    font-size: 13px;
    vertical-align: middle;
    display: inline-block;
  color: #9eabb4;
}

.status:before{
   content: '';
  margin-bottom: 0;
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%; 
}

.status--red:before{
  background-color: #e36767;
}

.status--red{
  color: #e36767;
}

.status--blue:before{
  background-color: #3fd2ea;
}

.status--blue{
  color: #3fd2ea;
}

.status--yellow:before{
  background-color: #ecce4e;
}

.status--yellow{
  color: #ecce4e;
}

.status--green{
  color: #6cdb56;
}
.status--green:before{
  background-color: #6cdb56;
}

.status--grey{
  color: #9eabb4;
}
.status--grey:before{
  background-color: #9eabb4;
}

.table__select-row {
    appearence: none;
    -moz-appearance: none;
    -o-appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    margin: 0 0 0 5px !important;
    vertical-align: middle;
    border: 2px solid #beccd7;
    border-radius: 50%;
  cursor: pointer;
}

.table__select-row:hover{
  border-color:#01b9d1;
}

.table__select-row:checked {
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDI2IDI2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyNiAyNiIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+CiAgPHBhdGggZD0ibS4zLDE0Yy0wLjItMC4yLTAuMy0wLjUtMC4zLTAuN3MwLjEtMC41IDAuMy0wLjdsMS40LTEuNGMwLjQtMC40IDEtMC40IDEuNCwwbC4xLC4xIDUuNSw1LjljMC4yLDAuMiAwLjUsMC4yIDAuNywwbDEzLjQtMTMuOWgwLjF2LTguODgxNzhlLTE2YzAuNC0wLjQgMS0wLjQgMS40LDBsMS40LDEuNGMwLjQsMC40IDAuNCwxIDAsMS40bDAsMC0xNiwxNi42Yy0wLjIsMC4yLTAuNCwwLjMtMC43LDAuMy0wLjMsMC0wLjUtMC4xLTAuNy0wLjNsLTcuOC04LjQtLjItLjN6IiBmaWxsPSIjMDFiOWQxIi8+Cjwvc3ZnPgo=);
    background-position: center;
    background-size: 7px;
    background-repeat: no-repeat;
    border-color: #01b9d1;
}

.table-row--overdue {
    width: 3px;
    background-color: #e36767;
    display: inline-block;
    position: absolute;
    height: calc(100% - 24px);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.table-row__edit {
    width: 15px;
    padding: 8px 17px;
    display: inline-block;
    background-color: #daf3f8;
    border-radius: 18px;
    vertical-align: middle;
    margin-right: 10px;
  cursor: pointer;
}

.table-row__bin {
    width: 16px;
    display: inline-block;
    vertical-align: middle;
  cursor: pointer;
}

.table-row--red {
    background-color: #fff2f2;
}

@media screen and (max-width: 991px){
.astro-prod-title {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: left;
}
  .astro-prod-title ~ .astro-prod-title {
    margin-top: 20px;
    border-top: 1px solid #eaeaea;
    padding-top: 10px;
  }
  .table-action-container {
   flex-direction: row;
   width: max-content;
   margin: 0 auto;
  }
  .table__thead {
    display: none;
  }
  .table-row {
    display: inline-block;
    border: 0;
    background-color: #fff;
    width: calc(50% - 13px);
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .table-row__img {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
}
  
  .table-row__td:before{
    content:attr(data-column);
    color: #9eabb4;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
  }
  
  .table-row__info {
    display: block;
    padding-left: 0;
  }
  
  .table-row__td {
    display: block;
    text-align: center;
    padding: 8px !important;
  }
  .table-row--red {
    background-color: #fff2f2;
  }
  .table__select-row{
    display: none;
  }
  
  .table-row--overdue {
    width: 100%;
    top: 0;
    left: 0;
    transform: translateY(0%);
    height: 4px;
    }
}


@media screen and (max-width: 680px){
  .table-row {
    width: calc(50% - 13px);
  }
}

@media screen and (max-width: 480px){
  .table-row {
    width: 100%;
  }
}
.category-level label {
    margin-bottom: 4px; /* reduces spacing between each label */
    display: flex;
    align-items: center;
    gap: 6px; /* space between radio and label text */
}

.category-level br {
    display: none; /* remove the <br> gaps between labels */
}
.qtys {
    font-size:13px;    
}
.qtys input {
    max-height: 10px;
    margin: 5px;
}

.qtys input.rma_number_input {
    max-height: 60px;
    margin-left: 0px;
}
.cat_select {
    margin:0;
}
.astro-add-card {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.astro-add-card h2 {
  border-left: 4px solid #0c7e68;
  padding-left: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #0c7e68;
}

.astro-add-card p {
  margin-bottom: 25px;
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.astro-add-card .card-section-wrapper {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.astro-add-card .card-section {
  flex: 1;
  min-width: 350px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 25px 30px;
}

.astro-add-card .card-section h3 {
  margin: 0 0 15px;
  font-size: 1.2rem;
  color: #4056ce;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 6px;
}

.astro-add-card h4 {
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.astro-add-card #credit-card-form .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.astro-add-card #credit-card-form .form-row > div {
  flex: 1;
  min-width: 150px;
}

.astro-add-card input[type="text"],
.astro-add-card input[type="password"],
.astro-add-card select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.astro-add-card input[type="text"]:focus,
.astro-add-card input[type="password"]:focus,
.astro-add-card select:focus {
  border-color: #0c7e68;
  box-shadow: 0 0 0 2px rgba(12, 126, 104, 0.15);
  outline: none;
}

.astro-add-card button[type="submit"] {
  display: block;
  margin: 30px auto 0;
  padding: 12px 20px;
  background: #0c7e68;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.astro-add-card button[type="submit"]:hover {
  background-color: #095e4f;
}

.report-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* exactly 2 cards per row */
  gap: 25px;
  padding: 30px;
  background-color: #f5f7fa; /* light neutral background */
}

.report-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.report-section h2 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #0c7e68;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 8px;
}

.report-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr; /* still two columns */
  gap: 10px 20px;
}

.report-section li {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  font-size: 0.95rem;
  border-radius: 6px;
  background-color: #f2f2f2;
}

.report-section li:nth-child(4n+1),
.report-section li:nth-child(4n+2) {
  background-color: #f2f2f2; /* row background A */
}

.report-section li:nth-child(4n+3),
.report-section li:nth-child(4n+4) {
  background-color: #f0f8ff; /* row background B */
}


/* Responsive: one card per row on small screens */
@media (max-width: 900px) {
  .report-container {
    grid-template-columns: 1fr; /* stack cards */
  }
  
  .report-section ul {
    grid-template-columns: 1fr; /* stack metrics */
  }
}

.cont_group {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  gap: 20px; /* Space between image and text */
  margin-top: 10px;
}

.cont_items {
  display: flex;
  flex-direction: column;
}

.cont_item {
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .cont_group {
    flex-direction: column;
    align-items: center;
  }
}
.amazon_product {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
  background-color: #f9f9f9;
  flex-wrap: wrap;
}

/* Image and button column */
.amazon_product_image_container {
  flex: 0 0 160px; /* fixed width for image + button */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.amazon_image {
  width: 160px;
  height: 160px;
  object-fit: contain; /* keeps aspect ratio, fits inside box */
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 8px;
  background-color: #fff; /* optional: helps square appearance if image is smaller */
}


/* Select button */
.asin-select--found {
  padding: 6px 12px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.asin-select--found:hover {
  background-color: #45a049;
}

/* Details column */
.amazon_product--details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.95rem;
}

.amazon_product--details > div {
  margin-bottom: 6px;
}

/* Optional: highlight low stock */
.amazon_qty.low {
  color: red;
}

/* Optional: responsive stacking on mobile */
@media (max-width: 768px) {
  .amazon_product {
    flex-direction: column;
    align-items: stretch;
  }

  .amazon_product_image_container {
    flex: none;
    align-items: flex-start;
  }
}
.supplier_attached {
  background-color: #c5ffcb;
  color: #000;
  text-align:center;
  padding:10px;
}
.warning {
  background-color: #000;
  color: #fff;
  padding:10px;
  border-radius: 8px;  
}
.score-form {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    max-width: 600px;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
    margin-top:15px;
}

.score-info {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.score-info p {
    margin: 0 0 10px;
    color: #333;
    font-size: 14px;
}

.score-info p:last-child {
    margin-bottom: 0;
}

.score-input {
    margin: 25px 0;
    padding: 20px;
    background: #fff7ed;
    border: 1px solid #fb923c;
    border-radius: 10px;
    text-align:center;    
}

.score-input p{
    text-align: left;
}
.score-input label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #9a3412;
}

.score-input select {
    width: 50px;
    padding: 12px;
    font-size: 15px;
    background: #ffffff;
    border: 2px solid #fb923c;
    border-radius: 8px;
    font-weight: 600;
    color: #9a3412;
    cursor: pointer;
}
.feature-note {
    text-align: left;
    display: block;
    margin-bottom: 12px;
    font-style: italic;
    color: #444;
}

.checkbox-row {
    display: flex;
    align-items: center;   /* <-- fixes vertical alignment */
    gap: 8px;
}

.checkbox-row input[type="checkbox"] {
    margin: 0;
    transform: translateY(0.5px); /* OPTIONAL: perfect pixel alignment on some browsers */
}

.checkbox-row label {
    margin: 0;
    line-height: 1.2; /* ensure it matches height */
}


.score-input select:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(251,146,60,0.3);
}

.result-box.highlight {
    background: #f2fff1;           /* light orange */
    border: 1px solid #74fd89;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.result-box.highlight p {
    margin: 6px 0;
    color: #769a12;
    font-weight: 600;
}


.score-extra-info {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    line-height: 1.5;
}

.score-extra-info p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #333;
}

.score-extra-info p:last-child {
    margin-bottom: 0;
}
.main-plan-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 10px;
    font-family: Arial, sans-serif;
}

.main-plan-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1f2937;
    font-size: 26px;
}

.main-plan-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.main-plan-card h3{
    margin-left:auto;
    margin-right:auto;
}

.main-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-plan-header h3 {
    margin: 0;
    font-size: 25px;
    color: #111827;
    background-color:#d7e8fb;
    padding:20px;
    border-radius: 8px;
}
.main-plan-center {
    margin-left: auto;
    margin-right: auto;
}
.main-plan-status {
    padding: 4px 10px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 20px;
    color: #ffffff;
}

.main-plan-status.active {
    background: #10b981; /* green */
}

.main-plan-status.canceled {
    background: #ef4444; /* red */
}

.main-plan-status.paused {
    background: #f59e0b; /* yellow */
}

.main-plan-details {
    margin-top: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.label {
    font-weight: 600;
    color: #374151;
}

.value {
    font-weight: 500;
    color: #1f2937;
}
.total-value {
    font-weight: 700;
    font-size: 20px;
    color: #2fa41e;
}
.total-core-credits {
    color: #2fa41e;
    font-weight: 700;
}
.core-credits {
    color: #3b82f6;
    font-weight: 700;
}

.main-plan-actions {
    text-align: center;
    margin-top: 25px;
}

.cancel-btn {
    padding: 10px 20px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cancel-btn:hover {
    background: #dc2626;
}

