body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
    line-height: 1.3;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400; /* Regular */
    background-color: rgb(192, 215, 255);
    /*outline: 1px solid #f00 !important; -- Test for Out of Bounds Content*/
}

.login-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-padding {
    padding: 5px;
}

.login-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: .1em 0 0 rgba(0, 0, 0, 0.1), -.1em 0 0 rgba(0, 0, 0, 0.1);
}

.login-body {
    padding: 20px;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Play', sans-serif;
    background: #00235F;
    padding: 20px;
    min-height: 50px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 700;
}

.login-header img {width: 100px;}

.login-footer {
    position: relative;
    display: flex;
    justify-content: flex-end;
    background: #00235F;
    padding: 20px;
    min-height: 50px;
}

h1 {
    font-size: 14pt;
    color: black;
    margin: 0px;
}

h2 {
    font-size: 14pt;
    color: white;
    margin: 0px;
    padding-left: 5px;
    padding-top: 5px;
}

h10 {
    font-size: 15pt;
    color: black;
    margin: 0px;
    padding-top: 5px;
    font-weight: 600;
}

p10 {
    font-size: 12pt;
    color: black;
    margin: 0px;
    padding-top: 5px;
}

h1, .login-footer div {color: #A7A9AD;}

.login-footer div {font-size: 14px;}

.custom-shape-divider-bottom-1739057659 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1739057659 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 94px;
}

.custom-shape-divider-bottom-1739057659 .shape-fill {
    fill: #f4f4f4;
}

.spacer {width: 100px;}
.vertspacer {height: 40%;}
        
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
}

.login-submit {
    width: 100%;
    padding: 10px;
    opacity: 1;
    background-color: #007AFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
        
.login-submit:hover {
    background-color: #007AFF; 
    opacity: .85;
    box-shadow: 3px 3px 5px #0160c7 inset;
    transform: scale(1.025);
}
        
.error-message {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

/* Button Styling */
button {
    width: 100%;
    opacity: 1;
    background-color: #007AFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
        
button:hover {
    background-color: #007AFF; 
    opacity: .85;
    box-shadow: 3px 3px 5px #0160c7 inset;
    transform: scale(1.025);
}

div #logout:hover {
    background-color: red; 
    opacity: .85;
    box-shadow: 3px 3px 5px #7b0301 inset;
    transform: scale(1.025);
}

.large-button {
    width: auto;
    height: 45px;
    font-size: clamp(14px, 1vw, 20px);
    background: #007AFF;
    border: none;
    background-color: #007AFF;
    border-radius: 10px;
    color: #ffffff;
    cursor: grab;
    transition: all 0.2s;
    padding-left: 40px;
    padding-right: 40px;
    opacity: 1.0;
}

.large-button:hover {
    color: #ffffff;
    box-shadow: 3px 3px 5px #0160c7 inset;
    opacity: 0.85;
}

.medium-button {
    width: auto;
    height: 35px;
    font-size: clamp(14px, 1vw, 20px);
    background: #007AFF;
    border: none;
    background-color: #007AFF;
    border-radius: 10px;
    color: #ffffff;
    cursor: grab;
    transition: all 0.2s;
    padding-left: 30px;
    padding-right: 30px;
    opacity: 1.0;
}

.medium-button:hover {
    color: #ffffff;
    box-shadow: 3px 3px 5px #0160c7 inset;
    opacity: 0.85;
}



.small-button {
    width: auto;
    height: 25px;
    font-size: 14px;
    background: #007AFF;
    border: none;
    background-color: #007AFF;
    border-radius: 100px;
    color: #ffffff;
    cursor: grab;
    transition: all 0.2s;
    padding-left: 20px;
    padding-right: 20px;
    opacity: 1.0;
}

.small-button:hover {
    color: #ffffff;
    box-shadow: 3px 3px 5px #0160c7 inset;
    opacity: 0.85;
}

.micro-button {
    width: auto;
    height: 20px;
    font-size: 12px;
    background: #007AFF;
    border: none;
    background-color: #007AFF;
    border-radius: 10px;
    color: #ffffff;
    cursor: grab;
    transition: all 0.2s;
    padding-left: 12px;
    padding-right: 12px;
    opacity: 1.0;
}

.micro-button:hover {
    color: #ffffff;
    box-shadow: 3px 3px 5px #0160c7 inset;
    opacity: 0.85;
}

#submit-button {
    background: #34C759;
    opacity: 0.85;
}

#submit-button:hover {
    color: #ffffff;
    box-shadow: 3px 3px 5px #279643 inset;
    opacity: 1.0;
}

#cancel-button {
    background: #ad2821;
    opacity: 0.85;
}

#cancel-button:hover {
    color: #ffffff;
    box-shadow: 3px 3px 5px #97241d inset;
    opacity: 1.0;
}

/* Cards Styling*/
.dashboard-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 15px;
    margin-left: 200px;
    gap: 10px;
    justify-content: center;
    max-height: max-content;
}

.dashboard-column-one {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column-one-row-one {
    display: flex;
    flex-direction: row;
    width: fit-content;
    gap: 10px;
}

.card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font-weight: bold;
}

.small-card {
    height: 100px;
    width: 200px;
}

.sales-pipeline-card {
    width: auto;
    height: 380px;
}

.bar-chart-container {
    display: flex;
    align-items: center;
    height: 100%;
    width: auto;
    
}

/* Ensure the main table header stays at the top */
.customers-leads-table-container {
    overflow-x: auto;
    max-width: 100%;
}

#customersLeadsDashboardTable {
    width: 100%;
    border-collapse: collapse;
}

#customersLeadsDashboardTable thead th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa; /* Light gray background for header */
    z-index: 2;
    padding: 10px;
    text-align: center;
}

/* Make sure each table cell aligns its content at the top */
#customersLeadsDashboardTable tbody td {
    vertical-align: top;
    padding: 5px;
    font-size: 11px;
    font-weight: 400;
}

/* Scrollable nested table container */
.nested-table-wrapper {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #000000;
    background: #ffffff;
    height: 253px;
}

/* Ensure all nested tables take full width */
.nested-table {
    width: 100%;
    border-collapse: collapse;
}

/* Add borders to nested tables for better readability */
.nested-table td {
    border: 1px solid #ddd;
    padding: 8px;
    white-space: nowrap;
}

/* Optional: Adjust scrollbar appearance */
.nested-table-wrapper::-webkit-scrollbar {
    width: 8px;
}

.nested-table-wrapper::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 4px;
}

.customer-leads-table {
    width: auto;
    height: 345px;
}

.medium-square-card {
    width: 275px;
    height: 275px;
}

.blue-header-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    width: 100%;
    background-color: #00235F;
    border-radius: 4px 4px 0 0;
}

.gray-header-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    width: 100%;
    background-color: #A7A9AD;
    border-radius: 4px 4px 0 0;
    box-shadow: 1px 1px 10px 1px #00235F inset;
}

#header {
    padding: 10px;
    letter-spacing: 0px;
    line-height: 1;
}

.column-one-row-one #header {
    color:#0B2D71;
}

/*Sidebar Styling*/
#side-style {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 170px;
    height: 30px;
    left: 15px;
    border-radius: 100px;
    background-color:  #00235F;
}

#logout {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 170px;
    height: 30px;
    left: 15px;
    border-radius: 100px;
    background-color:  #00235F;
    justify-content: center;
}

.sidebar {
    background-color:  #00235F;
    color: white;
    height: 100%; /* Ensure it takes up the full height */
    transition:  width 0.3s; /* Smooth transition when width changes */
    width: 200px; /* Default sidebar width */
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    left: 0px;
}

.logo {
    width: 75px;
    height: 75px;
    margin-left: 30px;
    padding-top: 5px;
    padding-bottom: 15px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding-top: 25px;
}

/*Contacts, orders, user management items*/

.page-container {
    display: flex;
    flex-direction: column;
    width: calc(100% - 230px);
    margin-left: 200px;
    padding: 15px;
}

.search-bar-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    overflow: hidden;
}

.search-item-container-1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 40%;
    overflow: hidden;
    padding-left: 5px;
}

.search-item-container-2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 60%;
    overflow: hidden;
    gap: 10px;
    padding: 5px;
}

.table-container {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    width: 100%;
    /*min-height: 500px;*/
    min-height: auto;
    border-radius: 10px;
    margin-top: 15px;
}



/* Scrollable table */
.table-container-1 {
    max-height: 400px; /* Adjust height as needed */
    overflow-y: auto;
    border: 1px solid #ccc;
}

/* Hide activity details by default */
.activity-details-1 {
    display: none;
}

/* Clickable row hover effect */
.expandable:hover {
    cursor: pointer;
    background-color: #f8f8f8;
}

/* Event color-coded dots */
.event-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

/* Adjust profile-container for event dots */
.profile-container-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}


/* Table elements */

table {
    border-radius: 10px;
}


thead {
    position: sticky;
    top: 0;
    background-color: #f8f8f8; /* Ensures header visibility */
    z-index: 100; /* Keeps header above table rows */
}

#contacts-table {
  border-collapse: collapse;
  width: 100%;
  border-radius: 10px;
  background-color: white;
  overflow-y: scroll;
}

#contacts-table td, #contacts-table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#contacts-table tr:hover {background-color: #add8e6;}

#contacts-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #00235F;
  color: white;
}

#contacts-table tbody {
    overflow-y: scroll;
}

#search {
    max-width: 300px;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 20px;
}

/* User management/settings styling */

.profile-container {
    width: 45px;
    height: 45px;
    overflow: hidden;
    border-radius: 50%; /* Makes it a circle */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the circle without distortion */
    border-radius: 50%;
}

.user-info{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-height: auto;
    justify-content: center;
    align-items: flex-start;
    padding: 5px;
}

.user-info h1 {color: #0B2D71;}

.user-h-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-width: 600px;
    height: 75px;
    /*border-bottom: 1px solid #ccc;*/
}

.contact-details-left {
    min-width: 300px;
    padding: 10px;
}

.contact-details-right {
    padding: 10px;
}

.align-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contact Details Page Styling */

.contact-details-h-stack {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    padding-left: 0px;
    padding-right: 6px;
}

.order-row {
    align-items: center;
}

.order-details-container {
    width: 100%;
}

.order-details-container h4 {
    padding: 4px;
}
.nested-order-items-table {
    width: inherit;
}

.nested-order-processing-table {
    width: 100%;
}

.data-box {
    width: 60%;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    
}

.label {
    font-weight: bold;
    color: #333;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 500px;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    background-color: white;
    border-radius: 8px;
    flex-wrap: nowrap;
    overflow-y: scroll;
    padding-bottom: 15px;
}

#interior {
    padding: 5px;
    justify-content: flex-end;
    width: 95%;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.activities-history-card {
    width: 60%;
    min-height: 100%;
    max-height: 500px;
    background-color: white;
    overflow-y: scroll;
    overflow-x: hidden;
}

#sticky-header {
    position: sticky;
    top: 0;
    z-index: 10; /* Keeps header above table rows */
}

.orders-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 15px;
    border-radius: 8px;
}

#contact-details {
    height: 100%;
}

/* Activities-Calendar Styling */

#calendar-page-container {
    overflow-y: hidden;
}

.calendar-h-stack {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: start;
    gap: 15px;
    flex-wrap: nowrap;
}

.itemized-calendar-card {
    width: 55%;
    height: 100%;
    background-color: white;
    border-radius: 8px;
}

.calendar-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45%;
    background-color: white;
    border-radius: 8px;
    height: fit-content;
}

.calendar-card .table-container th {
    min-width: 34px;
}

.month-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 5%;
    
}

#month-header {
    padding-left: 10px;
    padding-right: 10px;
}

/* TIME TO MAKE SOME POP UPs AND STYLE THEM BITCHES */

/* Success Pop Up */

/* Success Popup Specific Styling */

.success-popup {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Success Checkmark */
.checkmark {
    font-size: 40px;
    color: green;
    display: block;
    margin: 20px auto;
}

/* Success Message */
.success-body p {
    font-size: 18px;
    color: #333;
}

/* OK Button */
.close-success-btn {
    width: 100%;
    padding: 10px;
    background-color: green;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.close-success-btn:hover {
    background-color: darkgreen;
}

#popupSuccess {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    z-index: 1000;
}

/* Failure Popup */
.failure-popup {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Failure Crossmark */
.crossmark {
    font-size: 40px;
    color: red;
    display: block;
    margin: 20px auto;
}

/* Failure Message */
.failure-body p {
    font-size: 18px;
    color: #333;
}

/* OK Button */
.close-failure-btn {
    width: 100%;
    padding: 10px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.close-failure-btn:hover {
    background-color: darkred;
}

/* Failure Popup Overlay */
#popupFailure {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


/*Create Contact Form Pop up*/

/* Contact Popup */
.contact-popup {
    background: white;
    padding: 15px;
    border-radius: 8px;
    width: 500px;
    text-align: left;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* Popup Header */
.popup-header {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers title */
    position: relative;
    background-color: #f8f8f8;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Close Button (X) */
.close-btn {
position: absolute;
    left: 15px;
    font-size: 50px; /* Increase size */
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}

.close-btn:hover {
    color: red;
}

/* Form Layout */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 8px;
    background: white;
    color: black;
}

.form-group input {
    margin: 0px;
}

/* Headers */
h3 {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    text-align: left;
}

/* Submit Button */
.contact-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}

.contact-btn:hover {
    background-color: #0056b3;
}

/* Popup Overlay */
#popupContact {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding-bottom: 15px;
}

#popupAddEvent {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding-bottom: 15px;
}

/* Center the button */
.button-container {
    display: flex;
    justify-content: center; /* Centers the button */
    margin-top: 10px;
}

#left {
    justify-content: flex-start;
    margin-bottom: 3px;
}

/* More Info Popup */

/* Read-Only Information Sections */
.info-section {
    margin-bottom: 15px;
}

.info-section h3 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.info-section p {
    font-size: 14px;
    color: black;
    margin: 2px 0;
}

.info-section strong {
    color: #555;
}

.delete-popup {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 350px;
    text-align: center;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Order Items Container (Scrollable) */
.order-items-container {
    background: #f9f9f9;
    border: 1px solid #000000;
    border-radius: 5px;
    flex-grow: 1;
    margin-bottom: 15px;
    max-height: 330px;
    min-height: 330px;
    overflow-y: auto;
    padding: 5px;
}

/* Order Item Card */
.order-item-card {
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    position: relative;
}

/* SKU Dropdown */
.sku-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Order Total Section (Aligned Right) */
.order-total-section {
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
}

/* Remove Item Button (Top Right) */
.remove-item {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 14px;
    color: red;
    cursor: pointer;
    text-decoration: underline;
}

.remove-item:hover {
    color: darkred;
}

/* Notes Section */
textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

.back-btn {
    position: absolute;
    left: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}

.back-btn:hover {
    color: red;
}

/* Order Summary Body */
.order-summary-body {
    padding: 15px;
}

/* Order Items Table */
.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.summary-table th,
.summary-table td {
    border-bottom: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.summary-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

/* Order Total */
.order-total-label {
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
}

#space-btn {
    justify-content: space-between;
}

#orders-table {
    width: 100%;
    background: white;
    font-size: 20px;
}

#orders-table tr{
    text-align: left;
    padding-left: 20px;
    
}

.report-padding {padding:6px;}

#popupEditUser,
#popupMoreInfo,
#popupCreateUser,
#popupDeleteUser,
#popupOrderItems,
#popupShippingBilling,
#popupOrderSummary,
#popupAddEvent,
#popupOrderProcessing,
#popupAddTask,
#popupEditTask,
#popupUploadAttachment{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Ensure Chart Canvas Fits Inside Card */
.card canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 225px; /* Adjust this as needed */
    padding-top: 5px;
}

#sales-bar-chart {
    padding-top: 5px;
    max-height: 275px;
}

.v-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
 
}

.h-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
}

.h-stack h1 {
    color:#00235F;
}

/* Ensure map fits properly inside the card */
.map-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Make iframe responsive inside the card */
.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px; /* Matches card styling */
}

.map-link {
    position: absolute;
    top: 50%; /* Centers it vertically */
    right: 20px; /* Moves it inside the card */
    transform: translateY(-50%); /* Ensures perfect centering */
    text-decoration: none;
    font-size: 32px; /* ⬆ Makes arrow larger */
    font-weight: bold;
    color: white; /* ⬆ Changes color to white */
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

/* Hover effect */
.map-link:hover {
    transform: translateY(-50%) scale(1.2); /* ⬆ Enlarges on hover */
    opacity: 0.8; /* ⬇ Slight transparency effect on hover */
}
/* Ensure the parent container is positioned */
.blue-header-bar {
    position: sticky;
    top: 0;
    overflow-x: clip;

}

/* 📌 Ensure the filter dropdown is initially hidden */
#filterDropdown {
    position: absolute;
    height: 200px;
    right: 10px;
    top: 40px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 140px;
    z-index: 101;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400; /* Regular */
    padding: 5px;
    font-size: 10px;
}

#filterForm {
    position: relative;
    width: auto;
}

.dropdown-filter {
    display: flex;
}

.hidden{
    display: none;
}

#activities-table {
    width: 100%;
    overflow-y: scroll;
}


/* Calendar cell styling */
.calendar-cell {
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding: 20px;
    height: 34px;
}
/* Selected date: a perfect circle (34px by 34px) */
.selected-date {
    background-color: #007AFF;
    color: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: inline-block;
    line-height: 34px;
    margin: auto;
}
/* Days with tasks (if not selected) */
.has-task {
    border: 2px solid #007AFF;
    border-radius: 50%;
    padding: 8px;
}
/* Scrollable container for tables */
.full-table-container {
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    border-radius: 10px;
}
.report-table-container {
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    border-radius: 10px;
}
/* Completed tasks table styling */
.completed-tasks {
    max-height: 100%;
}

.completed-tasks h3 {
    text-align: center;
    padding: 10px;
}

.completed-tasks table {
    width: 100%;
    border-collapse: collapse;
}
.completed-tasks th, .completed-tasks td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.completed-tasks th {
    background-color: #00235F;
    color: #fff;
}
/* Stack task details vertically with 5px left margin */
.task-h-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
}

#dashboard-tasks-table-container {
    width: 100%;
    height: 100%;
}

#tasks-table {
    width: inherit;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px; /* Ensures spacing between checkbox and label */
}

.checkbox-group input[type="checkbox"] {
    transform: scale(1.2); /* Slightly enlarges checkbox for better visibility */
}

/* Navigation Bar */
.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #00235F;
    padding: 10px 10px;
    color: #fff;
    border-radius: 6px;
    margin-bottom: 12px;
}

.nav .report-links a, 
.nav .report-links select {
    margin-right: 15px;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav .report-links a.active {
    font-weight: bold;
    text-decoration: underline;
}

.nav .report-links select {
    background-color: #fff;
    color: #000;
    padding: 5px;
    border-radius: 5px;
}

.nav .custom-report {display: flex; flex-direction: row;}
.nav .custom-report button,
.nav .custom-report a.button {
    padding: 5px 10px;
    background-color: #007AFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    text-decoration: none;
    align-items: center;
    text-align: center;
    font-size: 14px;
    min-width: 120px;
    max-height: 30px;
}

.nav .custom-report button:hover,
.nav .custom-report a.button:hover {
    opacity: 0.85;
}


@media only screen and (max-width: 600px) {
    .spacer {display: none;}
    .login-header {justify-content: center; gap: 5px}
}