/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
body {
    font-family: Tajawal;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    flex-direction: column;
    direction: rtl; /* Arabic layout */
    text-align: right;
}

/* Dashboard Container */
.dashboard-container {
    display: flex;
}

/* Sidebar (Desktop Default) */
.sidebar {
    height: 100vh;
    background: #0077cc;
    color: white;
    position: fixed;
    right: 0;
    top: 0;
    padding: 20px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

/* Sidebar Menu */
.sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

.sidebar ul li a:hover {
    background-color: #005fa3;
    border-radius: 5px;
}

/* Sidebar is always visible on desktop */
@media (min-width: 769px) {
    .sidebar {
        transform: translateX(0) !important;
    }
}

/* Sidebar Toggle Button (Hidden by Default) */
#menu-toggle {
    display: none;
}

/* Header */
header {
    background-color: #ffffff;
    padding: 7px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Overview Section */
#overview {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Card Styles */
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
}

/* Form Styles */
form {
   
}

form input, form button {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #0077cc;
    color: white;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: #005fa3;
}

/* Form Grid for Two-Column Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
}

.form-grid label {
    text-align: right;
    padding-right: 10px;
}

input, select {
    padding: 8px;
    box-sizing: border-box;
}

/* Table Styles */
table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
}

table th, table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: right;
}

table th {
    background-color: #0077cc;
    color: white;
}

/* Mobile & Tablet Only */
@media (max-width: 768px) {
    /* Sidebar Hidden by Default */
    .sidebar {
        transform: translateX(100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    /* Show Menu Toggle Button */
    #menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        background: #333;
        color: white;
        border: none;
        padding: 10px;
        font-size: 20px;
        cursor: pointer;
        z-index: 1100;
    }

    /* Adjust Content for Mobile */
    .main-content {
        margin-right: 0;
        padding-top: 60px;
    }
}
/* Quick Access Section */
#quick-access {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Quick Access Cards */
#quick-access .card {
    
    text-align: center;
   
}

/* Hover Effect */
#quick-access .card:hover {

    transform: scale(1.05);
    background-color: #f0f0f0;
}

/* Icon Styling */
#quick-access .card i {
    font-size: 40px;
    color: #0077cc; /* Matching the theme */
}
/* Orders Table */
#orders table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

#orders th, #orders td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: right;
}

#orders th {
    background-color: #0077cc;
    color: white;
}

/* Status Labels */
.status {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.status.pending {
    background-color: #ffcc00;
    color: #333;
}

.status.completed {
    background-color: #28a745;
    color: white;
}

.status.canceled {
    background-color: #dc3545;
    color: white;
}

/* View Button */
.view-btn {
    border: none;
    background: #00a96c;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.view-btn:hover {
    background: #005fa3;
}

/* Settings Section */
#settings {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

#settings h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Form Styling */
#settings form {
    display: flex;
    flex-direction: column;
}

#settings label {
    font-weight: bold;
    margin-top: 10px;
}

#settings input, #settings select {
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

/* Save Button */
    #settings button {
        background-color: #1a1a2e;
        color: white;
        border: none;
        cursor: pointer;
        padding: 10px;
        margin-top: 15px;
        border-radius: 5px;
        font-size: 16px;
    }

#settings button:hover {
    background-color: #005fa3;
}
/* Sidebar Active Page Effect */
.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.sidebar ul li a:hover {
    background-color: #005fa3;
}

/* Active Page Highlight */
.sidebar ul li a.active {
    background-color: #ffcc00; /* Highlight color */
    color: #333;
    font-weight: bold;
}
/* Sidebar Menu */
.sidebar ul {
    list-style: none;
    padding: 0;
}

/* Main Menu Item */
.sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Main Menu Links */
.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

/* Hover Effect */
.sidebar ul li a:hover {
    background-color: #005fa3;
}

/* Active Page Highlight */
.sidebar ul li a.active {
    background-color: #ffcc00;
    color: #333;
    font-weight: bold;
}

/* Submenu Styling */
.submenu {
    display: none;
    padding-left: 15px;
    list-style: none;
}

    .submenu li a {
        padding: 8px 15px;
        font-size: 14px;
    }

.submenu li a:hover {
    background: #003f75;
}

/* Show Submenu when Active */
.menu-item.active .submenu {
    display: block;
}

/* Submenu Icon */
.submenu-icon {
    float: left;
    transition: transform 0.3s;
}

/* Rotate Arrow When Active */
.menu-item.active .submenu-icon {
    transform: rotate(180deg);
}
/* Toolbar Section */
.toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Search Input */
#search-customer {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Toolbar Buttons */
.toolbar button {
    padding: 10px 15px;
    border: none;
    background: #0077cc;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.toolbar button i {
    font-size: 16px;
}

.toolbar button:hover {
    background: #005fa3;
}

legend {
    font-size: 18px;
    font-weight: bold;
    padding: 5px 10px;
    background: #e4e4e4;
    color: #000000;
    border-radius: 5px;
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
}

/* Form Inputs */
input, select {
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Search Bar */
#search-customer {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Import Button */
#import-btn {
    display: block;
    margin-bottom: 15px;
    padding: 10px;
    border: none;
    background: #0077cc;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

    #import-btn:hover {
        background: #1e1e3a;
    }

/* Save Button */
button[type="submit"] {

    width: 100%;
    background-color: #0077cc;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

    button[type="submit"]:hover {
        background-color: #1e1e3a;
    }
/* Form Container */
#customer-form {
  
}


/* =================== Customer Form Container =================== */
#customer-form {
   
}

/* Each Section (Customer Info, Fabric Info, Measurements) */
fieldset {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    flex: 1; /* Allows sections to take up available space */
    min-width: 280px;
}

/* Ensure Sections are Side by Side on Larger Screens */
@media (min-width: 992px) {
    #customer-form {
       
    }
    
    fieldset {
        width: 32%; /* Ensures three sections fit side by side */
    }
}


/* Ensure Sections are Side by Side on Larger Screens */
@media (min-width: 992px) {
    #customer-form {
        max-width: min-content;
    }
    
    fieldset {
        width: 30%; /* Each section takes 30% of the width */
    }
}

/* Ensure Inputs and Selects Fit */
input, select {
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Search Bar */
#search-customer {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Import Button */
#import-btn {
    display: block;
    margin-bottom: 15px;
    padding: 10px;
    border: none;
    background: #0077cc;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

    #import-btn:hover {
        background: #1e1e3a;
    }

/* Save Button */
button[type="submit"] {
    width: 100%;
    background-color: #0077cc;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

    button[type="submit"]:hover {
        background-color: #1e1e3a;
    }
/* Measurement Blocks (Separate Forms) */
.measurement-block {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* Measurement Headers */
.measurement-block h3 {
    background: #0077cc;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 0;
    text-align: center;
}

/* Measurement Groups */
.measurement-group {
    padding: 10px;
}

/* Buttons Row */
.measurement-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* Add & Remove Buttons */
#add-measurement-btn, #remove-measurement-btn {
    padding: 8px 12px;
    background: #0077cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#remove-measurement-btn {
    background: #dc3545;
}

#add-measurement-btn:hover {
    background: #005fa3;
}

#remove-measurement-btn:hover {
    background: #c82333;
}

/* Disable Remove Button Initially */
#remove-measurement-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Remove Single Measurement Button */
.remove-single-measurement {
    display: block;
    margin-bottom: 10px;
    padding: 5px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.remove-single-measurement:hover {
    background: #c82333;
}
/* Ensure Two Columns for Customer & Fabric Info */
.form-container {
    display: flex;
    gap: 20px;
}

/* Two-Column Layout */
.half-width {
    flex: 1;
    min-width: 280px;
}

/* Full-Width for Measurements */
.full-width {
    width: 100%;
}

/* Measurement Blocks */
.measurement-block {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* Measurement Headers */
.measurement-block h3 {
    background: #0077cc;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 0;
    text-align: center;
}

/* Buttons Row */
.measurement-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* Add & Remove Buttons */
#add-measurement-btn, #remove-measurement-btn {
    padding: 8px 12px;
    background: #0077cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#remove-measurement-btn {
    background: #dc3545;
}

#add-measurement-btn:hover {
    background: #005fa3;
}

#remove-measurement-btn:hover {
    background: #c82333;
}

/* Disable Remove Button Initially */
#remove-measurement-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Remove Single Measurement Button */
.remove-single-measurement {
    display: block;
    margin-bottom: 10px;
    padding: 5px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.remove-single-measurement:hover {
    background: #c82333;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .form-container {
        flex-direction: column;
    }
}
/* Measurement Blocks */
.measurement-block {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* Collapsible Measurement Sections */
.measurement-content {
    display: none;
    padding-top: 10px;
}

/* Toggle Button (Legend) */
.toggle-measurement {
    cursor: pointer;
    background: #e4e4e4;
    color: #000000;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  
}

.toggle-measurement i {
    transition: transform 0.3s ease-in-out;
}

/* Buttons Row */
.measurement-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* Add & Remove Buttons */
#add-measurement-btn, #remove-measurement-btn {
    padding: 8px 12px;
    background: #0077cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#remove-measurement-btn {
    background: #dc3545;
}

#add-measurement-btn:hover {
    background: #005fa3;
}

#remove-measurement-btn:hover {
    background: #c82333;
}

/* Disable Remove Button Initially */
#remove-measurement-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Remove Single Measurement Button */
.remove-single-measurement {
    display: block;
    margin-bottom: 10px;
    padding: 5px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.remove-single-measurement:hover {
    background: #c82333;
}
/* Measurement Fields in Three Columns */
.measurement-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    gap: 15px;
    align-items: center;
}

/* Ensuring Inputs Fit */
.measurement-group label {
    text-align: right;
    font-weight: bold;
}

.measurement-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 992px) {
    .measurement-group {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
    }
}

@media (max-width: 768px) {
    .measurement-group {
        grid-template-columns: 1fr; /* Single column for mobile */
    }
}
/* Measurement Fields in Three Columns */
.measurement-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 15px;
    align-items: center;
}

/* Each Label and Input Pair as One Column */
.measurement-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.measurement-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 992px) {
    .measurement-group {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
    }
}

@media (max-width: 768px) {
    .measurement-group {
        grid-template-columns: 1fr; /* Single column for mobile */
    }
}
.image-selection {
    text-align: center;
    margin-top: 10px;
}

.image-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.style-image {
    width: 100px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

input[type="radio"]:checked + .style-image {
    border-color: #007bff;
}
/* General Styles */


/* Dashboard Container */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

/* Sidebar (Desktop Default) */
.sidebar {
    height: 100vh;
    background: #1A1A2E;
    color: white;
    position: fixed;
    right: 0;
    top: 0;
    padding: 20px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

/* Sidebar Menu */
.sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}



.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

    .sidebar ul li a:hover {
        background-color: #1e1e3a;
        border-radius: 5px;
    }

/* Sidebar is always visible on desktop */
@media (min-width: 769px) {
    .sidebar {
        transform: translateX(0) !important;
    }
}

/* Sidebar Toggle Button (Hidden by Default) */
#menu-toggle {
    display: none;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    place-self: center;
    margin-right: 200px;
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Overview Section */
#overview {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Card Styles */
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
}

/* Quick Access Section */
#quick-access {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Quick Access Cards */
    #quick-access .card {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        align-items: center;
        flex: 1;
        cursor: pointer;
        transition: transform 0.2s ease-in-out;
    }

/* Hover Effect */
    #quick-access .card:hover {
        transform: scale(1.05);
        background-color: #f0f0f0;
        color: black;
    }

/* Icon Styling */
    #quick-access .card i {
        font-size: 40px;
        color: #1b1b54; /* Matching the theme */
    }

/* Toolbar Section */
.toolbar {
    place-self: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Search Input */
#search-customer {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Toolbar Buttons */
.toolbar button {
    padding: 10px 15px;
    border: none;
    background: #1a1a2e;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.toolbar button i {
    font-size: 16px;
}

.toolbar button:hover {
    background: #005fa3;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0;
    margin-top: auto; /* Pushes footer to the bottom */
}

footer h5 {
    color: #f1c40f;
    margin-bottom: 20px;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #f1c40f;
}

footer .social-icons a {
    font-size: 20px;
    margin: 0 10px;
    color: #ecf0f1;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #f1c40f;
}

footer .footer-bottom {
    background-color: #1a252f;
    padding: 10px 0;
    margin-top: 20px;
    text-align: center;
}

footer .footer-bottom p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    #menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        background: #333;
        color: white;
        border: none;
        padding: 10px;
        font-size: 20px;
        cursor: pointer;
        z-index: 1100;
    }

    .main-content {
        width: -webkit-fill-available;
        margin-right: 0;
        padding-top: 60px;
    }
}
/* Header Styles */
header {
    justify-content: left;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
    color: #2c3e50;
}

/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Help and Support Button */
.help-support {
    background-color: #1a1a2e;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.help-support:hover {
    background-color: #005fa3;
}

.help-support i {
    font-size: 16px;
}

/* Notifications Icon */
.notifications {
    position: relative;
    cursor: pointer;
    color: #2c3e50;
    font-size: 20px;
}

.notification-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #dc3545;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #2c3e50;
    font-size: 16px;
}

.user-info .username {
    font-weight: bold;
}

.user-info i {
    font-size: 14px;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 180px;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 8px 15px;
}

.dropdown-menu li a {
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.dropdown-menu li a:hover {
    color: #0077cc;
}

.dropdown-menu li a i {
    font-size: 14px;
}

/* Show Dropdown on Hover */
.user-dropdown:hover .dropdown-menu {
    display: block;
}
.signin-container {
    width: 100%;
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .signin-container h2 {
        margin-bottom: 20px;
        color: #0077cc;
    }

    .signin-container form {
        display: flex;
        flex-direction: column;
    }

    .signin-container input {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .signin-container button {
        background-color: #1a1a2e;
        color: white;
        padding: 10px;
        border: none;
        cursor: pointer;
        border-radius: 5px;
        margin-top: 10px;
        font-size: 16px;
    }

    .signin-container p {
        margin-top: 15px;
        font-size: 14px;
    }

    .signin-container a {
        color: #0077cc;
        text-decoration: none;
    }

        .signin-container a:hover {
            text-decoration: underline;
        }

.popup {
    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;
    z-index: 1000;
}

.popup-content {
    box-shadow: 0 5px 20px rgb(13 13 23);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 500px;
}

.close-btn {
    color: red;
    font-size: 36px;
    cursor: pointer;
}

    .close-btn:hover {
        color: #000;
    }

.image-container {
    display: flex;
    gap: 10px;
}

.image-box {
    width: 100px;
    height: 100px;
    border: 1px solid #ccc;
}

.popupT {
    display: none;
    /*position: fixed;*/
    top: 20%;
    left: 30%;
    background: white;
    padding: 10px;
    border: 1px solid black;
}

/*/ ***************************** New adddedd */
.section {
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

    .section h2 {
        margin-bottom: 20px;
        color: #333;
        border-bottom: 2px solid #396ca3;
        padding-bottom: 10px;
    }

.section p {
    margin: 10px 0;
    font-size: 16px;
}

.section img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

     /* Print Styling */
     @media print {
        /* Hide unnecessary elements */
        .no-print {
            display: none;
        }

        /* Ensure sections are styled correctly */
        .section {
            border: 1px solid #000;
            padding: 15px;
            margin-bottom: 15px;
            page-break-inside: avoid; /* Prevent sections from breaking across pages */
        }

        .section h2 {
            border-bottom: 2px solid #000;
            color: #000;
        }

        /* Ensure images are printed */
        .section img {
            max-width: 80%; /* Adjust image size for printing */
            display: block;
            margin: 10px auto;
        }

        /* Adjust body padding for printing */
        body {
            padding: 0;
            background-color: #fff;
        }

        /* Ensure table and other elements are printed correctly */
        table {
            width: 100%;
            border-collapse: collapse;
        }

        th, td {
            border: 1px solid #000;
            padding: 8px;
            text-align: center;
        }

        th {
            background-color: #f2f2f2;
        }
    }
    .invoice-container {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        padding: 30px;
        max-width: 800px;
        margin: 0 auto;
    }
    .invoice-header {
        text-align: center;
        margin-bottom: 30px;
        border-bottom: 2px solid #eee;
        padding-bottom: 20px;
    }
    .invoice-logo {
        max-width: 150px;
        margin-bottom: 20px;
    }
    .invoice-actions {
        margin-bottom: 30px;
        text-align: center;
    }
    .btn-action {
        margin: 0 5px;
    }
    @media print {
        .invoice-actions, .no-print {
            display: none !important;
        }
        body {
            background-color: white;
            padding: 0;
        }
        .invoice-container {
            box-shadow: none;
            border: none;
        }
    }

menu-icon {
    color: #b48c5b!important;
}


/* Global Icon Color */
.sidebar i,
.header-actions i,
.notifications i,
.user-info i,
.dropdown-menu i,
.submenu i {
    color: #ad855b !important; /* Elegant gold */
    /* padding-left: 15px;*/
}

.sidebar a:hover i,
.submenu a:hover i,
.dropdown-menu a:hover i {
    color: #005fa3 !important;
}

tr:hover {
    background-color: #fbfbfb;
}
th {
    background-color: #04AA6D!important;
    color: white;
}
tr:nth-child(even) {
    background-color: #f2f2f2
}

.measurement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 10px 40px; /* Row and column spacing */
    margin-top: 10px;
}
.permissions-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 40px;
    margin-top: 10px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 40px;
    margin-top: 10px;
}



.card {
    justify-content: center; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: .5em;
    text-decoration: none;
    background: white;
    padding: 15px;
    box-shadow: 0 1.5em 2.5em -.5em rgba(#000000, .1);
    transition: transform .45s ease, background .45s ease;
    .link-text

{
    display: block;
    color: #753BBD;
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.2;
    margin: auto 0 0;
    transition: color .45s ease;
    svg

{
    margin-left: .5em;
    transition: transform .6s ease;
    path

{
    transition: fill .45s ease;
}

}
}

&:hover {
    color: white;
    background: #005fa3;
    transform: scale(1.02);
    .link-text

{
    color: #FFFFFF;
    svg

{
    animation: point 1.25s infinite alternate;
    path

{
    fill: #FFFFFF;
}

}
}
}
}

@keyframes point {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(.125em);
    }
}

.menu-toggle {
    background-color: #1a1a2e;
    color: white;
    padding: 10px;
    border: none;
    /*font-size: 20px;*/
    cursor: pointer;
    display: none;
}

.sidebar {
    border-left: 5px solid #003155;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    height: 100vh;
    right: 0;
    top: 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

    .sidebar h2 {
        padding: 20px;
        margin: 0;
        text-align: center;
    }

    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .sidebar ul li {
            border-bottom: 1px solid #003155;
        }

            .sidebar ul li a {
                display: block;
                color: white;
                text-decoration: none;
            }

                .sidebar ul li a:hover {
                    background-color: #003155;
                }

.submenu {
    display: none;
}

    .submenu li a {
        padding-right: 40px;
    }

.has-submenu > a:after {
    content: '\f078'; /* FontAwesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: left;
}

.has-submenu.open .submenu {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(100%);
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .menu-toggle {
        display: block;
        right: 10px;
        top: 10px;
        z-index: 999;
    }
}

datetime-label {
    font-size: 32px;
    padding: 20px;
    background-color: #fff;
    display: inline-block;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
sub-header {
    text-align: center;
}
@keyframes float {
	0% {
		box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
		transform: translatey(0px);
	}
	50% {
		box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2);
		transform: translatey(-20px);
	}
	100% {
		box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
		transform: translatey(0px);
	}
}


.avatar {
	box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
	transform: translatey(0px);
	animation: float 6s ease-in-out infinite;
}
#whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#whatsapp-button {
    background-color: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    display: inline;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

    #whatsapp-button i {
        font-size: 20px;
    }

#close-whatsapp {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: black;
    color: white;
    font-size: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    form {
        font-size: small;
        margin-top: 0px !important;
        margin-right: 0px !important;
        width: -webkit-fill-available;
    }
    #quick-access {
        display: inline;
        margin: 10px;
    }
    .card {
        margin:10px;
    }
    #overview {
        display: inline;
    }
}
formprint {
    margin-top: 80px;
    margin-right: 200px;
    place-self: center;
    flex-direction: column;
}
}