/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body and overall layout */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Hero section */
.hero {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(12, 3, 51, 0.3), rgba(12, 3, 51, 0.3));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
}

/* Navigation */
nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .logo {
    width: 150px;
}

/* Navigation menu */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul li {
    margin: 0 20px; /* Adjusts spacing between menu items */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
}

/* Content section */
.content {
    text-align: center;
    color: #fff;
}

.content h1 {
    font-size: 6vw; /* Responsive font size */
    font-weight: 600;
    transition: 0.5s;
}

.content h1:hover {
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}

.content a {
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 1.5rem; /* Responsive font size */
    border: 2px solid #fff;
    padding: 14px 70px;
    border-radius: 50px;
    margin-top: 20px;
}

/* Background video */
.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the background */
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1050; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /*Semi-transparent background*/
    /* background: rgba(255, 255, 255, 0.14); */
    transition: all 0.3s ease;
    opacity: 0; /* Hidden initially */
      /* Glass effect */
      backdrop-filter: blur(9.3px);
      -webkit-backdrop-filter: blur(9.3px);
}

.modal.show {
    opacity: 1;
    display: block; /* Show the modal */
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    margin: 15% auto; /* Centered with margin */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Responsive width */
    max-width: 400px; /* Max width for larger screens */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px; /* Optional: adds rounded corners */
    color: #000;
    text-align: center;
    box-sizing: border-box;
    overflow: visible;
    opacity: 1;
    transform: scale(0.9);
    transition: all 0.3s ease-out;
}

.modal-content.show {
    opacity: 1;
    transform: scale(1);
    animation: fadeIn 0.3s forwards;
}

.modal-content.hide {
    opacity: 0;
    transform: scale(0.9);
    animation: fadeOut 0.3s forwards;
}

/* If needed, add !important */
.form-group .grayed-out[readonly] {
    background-color: #e9ecef !important;
    color: #000000 !important; /* Pure black for maximum readability */
    border: 1px solid #ced4da !important;
}

.grayed-out[readonly] {
    background-color: #e9ecef !important;
    color: #000000 !important; /* Pure black for maximum readability */
    border: 1px solid #ced4da !important;
}



.close {
    color: #aaa;
    float: right;
    font-size: 1.75rem; /* Responsive size */
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}




/* Error messages */
.error-messages {
    color: #856404;;
    background-color: #FFF3CD;
    border: 1px solid #D8000C;
    border-radius: 5px;
    padding: 15px; /* Increased padding for better spacing */
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    display: none; /* Hidden by default */
    text-align: left; /* Align text to the left */
}

.error-messages ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.error-messages li {
    margin-bottom: 10px; /* Space between each error message */
    padding-left: 25px; /* Align text properly with the icon */
    position: relative;
    display: flex; /* Use flexbox for better alignment */
    align-items: center; /* Vertically center align the text and icon */
}

.error-messages li::before {
    content: '⚠️';
    margin-right: 10px; /* Space between icon and text */
    flex-shrink: 0; /* Prevent icon from shrinking */
}


/* .error-messages {
    color: red;
    margin-top: 10px;
} */

.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-container input[type="password"] {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #333;
    z-index: 1;
}

.toggle-password i {
    font-size: 1rem; /* Responsive size */
}

.required {
    color: red;
    font-weight: bold;
}

/* Form styling */
form label {
    display: block;
    margin: 10px 0 5px;
    color: #000;
    text-align: left;
    width: 100%;
}

form input[type="text"],
form input[type="password"],
form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: block;
}

form button {
    background-color: #ffcc00;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #e6b800;
}

/* Default margin for larger screens */
.modal-content h2 {
    margin-bottom: 3rem;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        padding: 10px;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .content h1 {
        font-size: 8vw;
    }

    .content a {
        font-size: 1.2rem;
        padding: 10px 40px;
    }

    .modal-content {
        width: 95%;
        max-width: none;
    }
}


/* Adjustments for mobile screens */
@media (max-width: 480px) {
    .content h1 {
        font-size: 10vw;
    }

    .content a {
        font-size: 1rem;
        padding: 8px 30px;
    }

    .modal-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .modal-content input[type="text"],
    .modal-content input[type="password"] {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
        margin-bottom: 10px;
        width: 100%;
    }

    .modal-content button {
        padding: 8px 15px;
    }

    .toggle-password i {
        font-size: 0.9rem;
    }
}

#globalMessageContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    text-align: center;
    padding: 10px 0;
}

.message {
    position: relative; /* Relative to the container */
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    z-index: 1000;
    max-width: 600px; /* Limit the width of the message box */
    width: auto; /* Adjust to content width */
    box-sizing: border-box;
    text-align: center;
    margin: 10px auto; /* Center within container */
}

.message.success {
    background-color: #4CAF50; /* Green */
}

.message.error {
    background-color: #f44336; /* Red */
}

@media (max-width: 600px) {
    .message {
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media (max-width: 400px) {
    .message {
        font-size: 12px;
        padding: 6px 10px;
    }
}
/* Styling for the input field */
.input-container {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-field:focus {
    border-color: #0066cc;
    outline: none;
}

/* Styling for the Reset Password button */
.btn-reset-password {
    width: 100%;
    background-color: #0066cc;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.btn-reset-password:hover {
    background-color: #005bb5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .input-field {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .btn-reset-password {
        padding: 12px 18px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .input-field {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .btn-reset-password {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Dashboard styles */
/* Dashboard styles */
.dashboard-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    min-height: 100vh;
    padding: 1rem; /* Add padding to avoid cards touching the screen edges */
}

.dashboard-cards {
    transform-style: preserve-3d;
    transform: perspective(1500px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center cards in the middle */
    gap: 2rem; /* Add gap between cards */
    width: 100%;
    max-width: 1400px; /* Set a maximum width for the card container */
    margin: 0 auto; /* Center the card container */
}

.card {
    background-color: #333; /* Ensure background color is set to avoid white space */
    color: white;
    border: none;
    padding: 4rem; /* Increase padding to make cards larger */
    text-align: center;
    width: calc(33.333% - 2rem); /* Ensure three cards fit in one row */
    border-radius: 20px; /* Soften edges with a larger radius */
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Deeper shadow for depth perception */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    opacity: 0.9; /* Increase opacity to make the card more solid */
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Ensure the background image covers the entire card */
    background-position: center;
    opacity: 0.6; /* Adjust opacity to make background image more visible */
    transition: opacity 0.3s ease; /* Add smooth transition for hover effect */
    pointer-events: none; /* Allow clicks to pass through to the card */
}

.card:hover::before {
    opacity: 0.8; /* Slightly increase opacity on hover */
}

.card h2 {
    position: relative;
    z-index: 1; /* Ensure the title is above the background image */
    color: white; /* Set text color to contrast with the background */
    font-size: 2.5rem; /* Adjusted title size to be larger */
    margin-bottom: 1rem;
}

.card p {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.5rem; /* Keep the paragraph size consistent */
}

.card:hover {
    transform: translateY(-10px) scale(1.05) translateZ(200px); /* Slight scale-up effect on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */

}

.card:hover + *{
    filter: brightness(0.6);
    transform: translateZ(150px) rotateY(40deg); /* Slight scale-up effect on hover */
}

.card:hover + * + *{
    filter: brightness(0.4);
    transform: translateZ(150px) rotateY(30deg); /* Slight scale-up effect on hover */
}

.card:has(+ *:hover){
    filter: brightness(0.6);
    transform: translateZ(150px) rotateY(-40deg); /* Slight scale-up effect on hover */
}

.card:has(+ * + *:hover){
    filter: brightness(0.4);
    transform: translateZ(70px) rotateY(-30deg); /* Slight scale-up effect on hover */
}


/* Media queries for responsiveness */
@media (max-width: 1024px) {
    .card {
        width: calc(50% - 2rem); /* Two cards per row on medium screens */
    }
}

@media (max-width: 768px) {
    .card {
        width: calc(100% - 2rem); /* One card per row on smaller screens */
        padding: 3rem; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .card {
        padding: 2rem; /* Adjust padding for smaller screens */
        font-size: 1rem; /* Adjust font size for smaller screens */
    }
}



/* Add background images for each card (replace with your actual image paths) */
.card:nth-child(1)::before { background-image: url('../images/profile-backgroun2.jpg'); }
.card:nth-child(2)::before { background-image: url('../images/generate-quote-background.jpg'); }
.card:nth-child(3)::before { background-image: url('../images/warehouse.jpg'); }


/* Table styles */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling if needed */
}

.table.order-history-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    font-family: Arial, sans-serif; /* Ensure legible font */
    table-layout: fixed; /* Ensure columns have a fixed width */
    border: 1px solid #ddd; /* Adds a border around the table */
}

.table.order-history-table thead {
    background-color: #0066cc; /* Default header background color */
    color: #fff; /* Header text color */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.table.order-history-table th, 
.table.order-history-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd; /* Adds border to cells to create distinct column lines */
    white-space: normal; /* Allows text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Adds ellipsis for overflow text */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover effect */
}

.table.order-history-table th {
    font-weight: bold;
    font-size: 1rem;
}

/* Hover effect on the entire header row */
.table.order-history-table thead:hover th {
    background-color: #ffcc00 !important; /* Change the whole header row background to yellow */
    color: #333; /* Change the text color to a darker shade */
}

/* Hover effect for the entire row */
.table.order-history-table tr:hover {
    background-color: #f5f5f5; /* Light gray background on row hover */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.table.order-history-table td {
    font-size: 0.9rem;
    color: #333;
}

@media (max-width: 768px) {
    .table.order-history-table th, 
    .table.order-history-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .table.order-history-table th {
        font-size: 0.9rem;
    }
}



/* End of table CSS  */

form .radio-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

form .radio-group label {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

form .radio-group input[type="radio"] {
    margin-right: 5px;
}

@media (max-width: 768px) {
    form .radio-group {
        flex-direction: column;
        align-items: flex-start;
    }
}

.modal-content form {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content form input[type="text"],
.modal-content form input[type="password"],
.modal-content form input[type="email"] {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
}


.modal-content form button:hover {
    background-color: #e6b800;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-label {
    margin: 0;
    color: #333;
}

.inline-form-group {
    display: flex;
    align-items: center;
  }
  
  .inline-form-group label {
    margin-right: 10px; 
  }

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    margin-right: 10px; /* Add some space between label and select */
  }
  
  .form-group, .radio-group, .radio-group label {
    margin: 0;
    padding: 0;
  }
  .radio-group {
    display: flex;
    align-items: center;
  }
  
  .radio-group input[type="radio"] {
    margin-right: 0.5rem; /* Use rem for consistent spacing */
  }
  
  .radio-group label {
    margin-left: 0; /* Reset any default margin on labels */
    margin-right: 1rem; /* Use rem for consistent spacing */
  }

.size-quantity-group {
    display: flex;
    flex-wrap: wrap;
}

.size-quantity-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 10px;
}

.size-quantity-item input[type="checkbox"] {
    margin-right: 5px;
}

.size-quantity-item input[type="number"] {
    margin-left: 10px;
    width: 80px;
}
.collapsible-content {
    display: none; /* Hidden by default */
    margin-top: 10px;
}


/* Form Section Styling */
.form-section {
    padding: 20px;
    background-color: rgba(249, 249, 249, 0.85); /* More transparent background */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Heading Styles */
.form-section h2 {
    font-size: 2rem;
    color: rgba(51, 51, 51, 0.75); /* Increased transparency for text */
    margin-bottom: 20px;
}

.form-section h3 {
    font-size: 1.5rem;
    color: rgba(102, 102, 102, 0.75); /* Increased transparency for text */
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Paragraph Styles */
.form-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(68, 68, 68, 0.75); /* Increased transparency for text */
    margin-bottom: 20px;
    text-align: left; /* Ensures paragraphs are left-aligned */
}

/* List Styles */
.form-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-section li {
    margin-bottom: 15px;
    text-align: justify; /* Justify text for list items */
    text-justify: inter-word; /* Ensure text is justified properly */
    opacity: 0.75; /* Increased opacity for list items */
}

.form-section li strong {
    color: rgba(51, 51, 51, 0.75); /* Increased transparency for text */
}

/* Link Styles */
.form-section a {
    color: rgba(0, 123, 255, 0.75); /* Increased transparency for link color */
    text-decoration: none;
}

.form-section a:hover {
    text-decoration: underline;
}

/* Reset Password Page Styling */
.reset-password-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 50px auto; /* Centers the container */
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-container .logo {
    width: 100px;
    height: auto;
    margin: 0 auto;
}

.reset-password-container h2 {
    color: #333;
    margin-bottom: 20px;
}

.reset-password-container p {
    color: #666;
    margin-bottom: 20px;
}

.reset-password-container .input-container {
    text-align: left;
}

.reset-password-container label {
    color: #333;
    font-weight: bold;
}

.reset-password-container input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.reset-password-container button {
    width: 100%;
    background-color: #0066cc;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.reset-password-container button:hover {
    background-color: #005bb5;
}


/* Generate Quote Modal CSS */
  /* General modal styling */
#generateQuoteModal .modal-content {
    padding: 20px;
    width: 100%;  /* Set width to 100% by default */
    max-width: 800px; /* Keep the max-width for larger screens */
    margin: auto;
    box-sizing: border-box; /* Ensure padding is included in width calculations */
}

/* Form group styling */
#generateQuoteModal .form-group {
    margin-bottom: 15px;  /* Maintain consistent spacing */
    display: flex;
    flex-direction: column;
}

/* Label styling */
#generateQuoteModal .form-group label {
    margin-bottom: 4px;
    font-weight: bold;
}

/* Input and select styling */
#generateQuoteModal .form-group input[type="text"],
#generateQuoteModal .form-group input[type="email"],
#generateQuoteModal .form-group input[type="number"],
#generateQuoteModal .form-group select {
    width: 100%; /* Ensure inputs take full width */
    padding: 8px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    margin-bottom: 10px;
}

/* Adjust button styling */
#generateQuoteModal button[type="button"] {
    padding: 10px 16px; /* Increase padding for better touch targets */
    background-color: #ffc107;
    border: none;
    border-radius: 4px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    width: 100%; /* Full width button on smaller screens */
    margin-top: 10px;
    box-sizing: border-box;
}

#generateQuoteModal button[type="button"]:hover {
    background-color: #e0a800;
}

/* Inline form groups */
#productSelection .form-group.inline-form-group {
    display: flex;
    align-items: center;
    gap: 10px; /* Reduce gap for better fit on smaller screens */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: flex-start;
}

/* Set consistent width for select, input, and button */
#productSelection .form-group select,
#productSelection .form-group input[type="number"],
#productSelection .form-group button {
    width: calc(100% - 20px); /* Allow elements to scale down on smaller screens */
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

/* Specific styling for the button */
#productSelection .form-group button {
    width: auto;
    padding: 10px 16px;
    background-color: #ffc107;
    border: none;
    color: black;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0; /* Prevent button from shrinking */
}

#productSelection .form-group button:hover {
    background-color: #e0a800;
}

/* Ensure the table fits within smaller screens */
/* General table styling */
#productTable {
    width: 100%; /* Full width of its container */
    max-width: 800px; /* Set a maximum width to control the size on larger screens */
    margin: 0 auto; /* Center the table */
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow-x: auto; /* Enable horizontal scroll on small screens */
    display: block; /* Ensures the table scrolls within its container */
    white-space: nowrap; /* Prevent wrapping within cells */
}

#productTable th, #productTable td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

#productTable th {
    background-color: #f2f2f2;
    text-align: center;
}

/* Make the table header sticky */
#productTable thead {
    position: sticky;
    top: 0;
    background-color: #f2f2f2;
    z-index: 1;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    #productTable th, #productTable td {
        font-size: 14px; /* Smaller font size for better fit */
        padding: 8px; /* Reduce padding */
    }
    
    #productTable {
        max-width: 100%; /* Allow the table to take full width on small screens */
        width: 100%; /* Ensure the table takes the full width */
    }
}

/* Adjustments for medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
    #productTable th, #productTable td {
        font-size: 16px; /* Slightly larger font for readability */
        padding: 10px; /* Adequate padding for medium screens */
    }

    #productTable {
        max-width: 90%; /* Make the table slightly smaller to fit the screen */
        margin: 0 auto; /* Keep it centered */
    }
}

/* Adjustments for larger screens */
@media (min-width: 1025px) {
    #productTable th, #productTable td {
        font-size: 18px; /* Larger font size */
        padding: 12px; /* Increase padding */
    }

    #productTable {
        max-width: 70%; /* Limit the table width on large screens */
        margin: 0 auto; /* Keep it centered */
    }
}



/* Responsive adjustments */
@media (max-width: 768px) {
    #generateQuoteModal .modal-content {
        width: 90%; /* Reduce width on smaller screens */
    }

    #generateQuoteModal .form-group {
        flex-direction: column; /* Ensure elements stack vertically */
    }

    #productSelection .form-group.inline-form-group {
        flex-direction: column; /* Stack inline form elements vertically */
        gap: 10px; /* Reduce gap between elements */
    }

    #generateQuoteModal .form-group input[type="text"],
    #generateQuoteModal .form-group input[type="email"],
    #generateQuoteModal .form-group input[type="number"],
    #generateQuoteModal .form-group select {
        width: 100%; /* Full width inputs */
    }

    #generateQuoteModal button[type="button"] {
        width: 100%; /* Full width buttons */
        margin-top: 10px;
    }

    #productSelection .form-group select,
    #productSelection .form-group input[type="number"],
    #productSelection .form-group button {
        width: 100%; /* Full width on smaller screens */
    }
}

/* Additional styles for very small screens */
@media (max-width: 480px) {
    #generateQuoteModal .modal-content {
        padding: 15px; /* Reduce padding on very small screens */
    }

    #generateQuoteModal button[type="button"] {
        padding: 10px; /* Adjust button padding */
    }
}



/* Welcome or Warning MEsaage Style when login and have not completed thier profile */
@keyframes pulse {
    0% {
        transform: scale(1);
        background-color: rgba(76, 175, 80, 0.8); /* Slightly transparent green */
    }
    50% {
        transform: scale(1.05);
        background-color: rgba(76, 175, 80, 1); /* Solid green */
    }
    100% {
        transform: scale(1);
        background-color: rgba(76, 175, 80, 0.8); /* Slightly transparent green */
    }
}

@keyframes pulse-warning {
    0% {
        transform: scale(1);
        background-color: rgba(255, 100, 100, 0.8); /* Slightly transparent red */
    }
    50% {
        transform: scale(1.05);
        background-color: rgba(255, 100, 100, 1); /* Solid red */
    }
    100% {
        transform: scale(1);
        background-color: rgba(255, 100, 100, 0.8); /* Slightly transparent red */
    }
}

.welcome-message, .warning-message {
    padding: 20px;
    color: white;
    border-radius: 8px;
    font-size: 24px;
    text-align: center;
    margin: 20px auto;
    font-weight: bold;
    width: 90%;  /* Reduce width for better responsiveness */
    max-width: 600px;
    animation: pulse 2s infinite; /* Apply the pulse animation */
    z-index: 1000;  /* Ensure it stays above other elements */
    position: relative;
}

/* Specific styles for each message */
.welcome-message {
    background-color: rgba(76, 175, 80, 0.8); /* Initial slightly transparent green */
    animation: pulse 2s infinite; /* Apply the pulse animation */
}

.warning-message {
    background-color: rgba(255, 100, 100, 0.8); /* Initial slightly transparent red */
    animation: pulse-warning 2s infinite; /* Apply the warning pulse animation */
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .welcome-message, .warning-message {
        font-size: 18px;
        padding: 15px;
        width: 95%; /* Use more width on smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .welcome-message, .warning-message {
        font-size: 16px;
        padding: 10px;
        width: 100%; /* Full width on very small screens */
    }
}

