﻿
/* Add this CSS to your main stylesheet */
html, body {
    height: 100%;
    margin: 0;
}

.spinner-wrapper {
    position: fixed;
    inset: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease-out;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.cash-value-field {
    font-size: 16px;
    color: darkgreen;
    font-weight: bold;
}

.cash-value-neg-field {
    font-size: 16px;
    color: orangered;
    font-weight: bold;
}

.spinner-wrapper.fade-out {
    opacity: 0;
    pointer-events: none;
}




.main-content {
    flex-grow: 1;
}

.footer {
    background-color: #f8f9fa;
    padding: 1rem;
    text-align: center;
}



.header_buttons {
    /* Fixed container dimensions */
    width: 800px; /* Example fixed width */
    height: 80px; /* Example fixed height */
    /* Center the container horizontally if the parent is wider */
    margin: 0 auto;
    /* Use Flexbox to position images side by side */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    transform: translateX(-5px);
    /* Optional space between images */
    /* If images might overflow, you can hide the excess: 
     overflow: hidden; */
}

.phone-note {
    font-size: 14px;
    color: red;
    font-weight: bold;
}


/*header Images*/

.header_Image {
    /* Fixed container dimensions */
    width: 800px; /* Example fixed width */
    height: 466px; /* Example fixed height */
    /* Center the container horizontally if the parent is wider */
    margin: 0 auto;
    /* Use Flexbox to position images side by side */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Optional space between images */
    gap: 0.7rem;
    /* If images might overflow, you can hide the excess: 
     overflow: hidden; */
}

    /* Style the images themselves */
    .header_Image img {
        /* Force each image to share space side by side */
        width: 50%; /* 2 images each half the container width */
        height: 100%; /* Make them fill the container’s height */
        /* Ensure they crop or scale nicely, 
     so images don’t distort if aspect ratios differ */
        object-fit: cover;
    }


/* Progress bar row */
.progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* Progress bar background track */
.progress-bar-bg {
    flex: 1;
    background-color: #e0e0e0; /* light gray track */
    height: 16px;
    border-radius: 8px;
    margin-right: 1rem;
    position: relative;
}

/* Green fill portion */
.progress-bar-fill {
    background-color: #b2d79e; /* green fill */
    width: 12%; /* 12% or so for step 1 of 8 (approx) */
    height: 100%;
    border-radius: 8px;
}

.stepper-container {
    width: 100%; /* Full width of the parent container */
    max-width: 1000px; /* Maximum width of the box */
    margin: 0 auto; /* Center the container horizontally */
}
/* Step count on right: "1/8" */
.step-count {
    font-size: 0.95rem;
    font-weight: bold;
}

/* Main container styling */
.intro-card {
    border-style: solid;
    border-color: darkgrey;
    background-color: #fff;
    margin: 2rem auto;
    justify-content: center;
    padding: 1rem;
    margin: 40px auto;
    padding: 30px;
    font-family: Arial, sans-serif;
    color: #000;
}

.intro-card-1000 {
    max-width: 1000px !important; /* Example maximum width */
    justify-content: center;
    margin: 0.5rem auto;
}

.column {
    width: 45%;
    font-size: 18px;
}

.next-step {
    font-weight: bold;
}

.next-step-container {
    display: flex;
    margin-top: 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.checklist {
    text-align: left;
    margin: 20px 0;
    padding-left: 30px;
}

.checklist-item {
    font-size: 16px;
    margin-bottom: 10px;
}

.checkmark {
    color: green;
    font-weight: bold;
}

.terms-section {
    text-align: left;
    margin: 20px auto;
    max-width: 500px;
}

    .terms-section p {
        font-size: 18px;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .terms-section img {
        width: 24px;
        height: 24px;
    }

/* Step title, with a small box for the "1" */
.step-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center; /* Center the text */
    margin-left: auto; /* Center the element horizontally */
    margin-right: auto; /* Center the element horizontally */
}

.step-title-nogap {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center; /* Center the text */
    margin-left: auto; /* Center the element horizontally */
    margin-right: auto; /* Center the element horizontally */
}

.highlight {
    font-weight: bold;
    font-size: 1.5rem;
    font-weight: 800;
}

.subtext {
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: bold;
}

/* Blue box around step number */
.step-index {
    background-color: #3498db;
    color: #fff;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    margin-right: 0.5rem;
}

/* Subheading beneath step title */
.subheading {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center; /* Center the text */
    margin-left: auto; /* Center the element horizontally */
    margin-right: auto; /* Center the element horizontally */
}

/* Bullet list styling */
.bullets {
    list-style: disc;
    margin-left: 4.1rem;
    margin-bottom: 1.5rem;
}

    .bullets li {
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
        font-weight: 600;
    }

/* Button container */
.button-container {
    display: flex;
    margin-top: 1rem;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100px; /* Example height */
    width: 100%; /* Full width */
    gap: 1rem;
}

.gap-10 {
    margin-left: 10px;
}

.e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input, .e-input-group textarea.e-input, .e-input-group.e-control-wrapper textarea.e-input {
    height: 30px;
    font-size: 16px;
}

.e-radio + label .e-label {
    font-size: 16px;
    font-weight: bold;
}

.subtext-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 50px; /* Example height */
    width: 100%; /* Full width */
}


/* "Get Started" button: yellow fill, teal text, black border */
.btn-get-started {
    background-color: #ffd300; /* bright yellow */
    border: 2px solid #000; /* black border */
    border-radius: 20px;
    color: #00a8a8; /* teal text */
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    outline: none;
}

.btn-back {
    background-color: #ffd300; /* bright yellow */
    border: 2px solid #000; /* black border */
    border-radius: 20px;
    color: black; /* teal text */
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    outline: none;
}

.btn-get-started:hover {
    background-color: #ffbf00;
}

.e-stepper .e-step-selected .e-indicator {
    background: #50DC3C;
}

.e-stepper .e-step-completed .e-step, .e-stepper .e-step-inprogress .e-step, .e-stepper .e-step-completed .e-indicator, .e-stepper .e-step-inprogress .e-indicator, .e-stepper .e-step-completed .e-step-indicator, .e-stepper .e-step-inprogress .e-step-indicator {
    background: #50DC3C;
    color: #fff;
    margin-top: 4px;
}

.e-stepper .e-step-selected .e-indicator {
    background: #50DC3C
}

.template-content {
    background: #fff;
    width: 65px;
}

.e-recordplusexpand {
    font-weight: bold;
}


/* Stepper progressbar customization */
.e-stepper .e-stepper-progressbar {
    height: 3px;
    top: 25px;
}

    .e-stepper .e-stepper-progressbar .e-progressbar-value {
        background-color: #27d96d;
    }

/* Stepper status customization */
#stepper .e-step-completed * {
    color: #50DC3C;
}

#stepper .e-step-inprogress * {
    color: #50DC3C;
}

#stepper .e-step-notstarted * {
    color: #bdbdbd;
}

/* To specify height and font size */
.e-input:not(:valid), .e-input:valid, .e-float-input.e-control-wrapper input:not(:valid), .e-float-input.e-control-wrapper input:valid, .e-float-input input:not(:valid), .e-float-input input:valid, .e-input-group input:not(:valid), .e-input-group input:valid, .e-input-group.e-control-wrapper input:not(:valid), .e-input-group.e-control-wrapper input:valid, .e-float-input.e-control-wrapper textarea:not(:valid), .e-float-input.e-control-wrapper textarea:valid, .e-float-input textarea:not(:valid), .e-float-input textarea:valid, .e-input-group.e-control-wrapper textarea:not(:valid), .e-input-group.e-control-wrapper textarea:valid, .e-input-group textarea:not(:valid), .e-input-group textarea:valid {
    font-size: 16px;
    height: 40px;
    font-weight: bold;
    border-width: 2px;
}

.numericEntry .e-input {
    text-align: center;
}

@media screen and (max-width: 720px) {
    .row.mb-2 span {
        font-size: 12px;
    }

    .e-input:not(:valid), .e-input:valid, .e-float-input.e-control-wrapper input:not(:valid), .e-float-input.e-control-wrapper input:valid, .e-float-input input:not(:valid), .e-float-input input:valid, .e-input-group input:not(:valid), .e-input-group input:valid, .e-input-group.e-control-wrapper input:not(:valid), .e-input-group.e-control-wrapper input:valid, .e-float-input.e-control-wrapper textarea:not(:valid), .e-float-input.e-control-wrapper textarea:valid, .e-float-input textarea:not(:valid), .e-float-input textarea:valid, .e-input-group.e-control-wrapper textarea:not(:valid), .e-input-group.e-control-wrapper textarea:valid, .e-input-group textarea:not(:valid), .e-input-group textarea:valid {
        font-size: 16px;
        height: 40px;
        font-weight: bold;
        border-width: 2px;
    }

    .step-title-nogap {
        font-size: 1.5rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        text-align: center; /* Center the text */
        margin-left: auto; /* Center the element horizontally */
        margin-right: auto; /* Center the element horizontally */
    }
}

@media screen and (min-width: 1280px) {
    .row.mb-2 span {
        font-size: 14px;
    }
}

/* Full HD screens (resolution 1920x1080 and above) */
@media screen and (min-width: 1920px) {
    .row.mb-2 span {
        font-size: 16px;
    }
}

.sf-textbox-gap {
    margin-bottom: 10px; /* 10px gap between text boxes */
}

.checkbox-group {
    margin-bottom: 1.5rem;
    margin-left: 3rem;
}

.checkbox-group-header {
    font-weight: bold;
    font-size: 18px;
    height: 40px;
}

.verification-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-left: 5rem;
    margin-right: 5rem;
}

.center-bold-label {
    display: block; /* Ensures label occupies full column width */
    text-align: center; /* Centers text within that width */
    font-weight: bold; /* Bold text */
    text-decoration: underline; /* Underline the text */
    margin-bottom: 1rem; /* Space below the label */
}

/* Remove bullets for both main and nested lists */
.main-bullet {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nested-bullets {
    list-style: none;
    margin: 0;
    padding-left: 2rem; /* Indent if desired */
}

.form-check-input {
    margin-right: 0.5rem; /* Adjust spacing as you like */
    margin-bottom: 0.5rem;
}

.error-message {
    text-align: center; /* Center the text */
    color: red; /* Make the text red */
    font-size: 16px; /* Set the font size to 12px */
    font-weight: bold; /* Make the text bold */
}

.success-message {
    text-align: center; /* Center the text */
    color: green; /* Make the text red */
    font-size: 16px; /* Set the font size to 12px */
    font-weight: bold; /* Make the text bold */
}

/*Customers Signup*/
/*.custom-checkbox {
    appearance: none;  Remove default checkbox styling 
    width: 16px;
    height: 16px;
    background-color: green;  Green background 
    border: 2px solid #000;  Optional: Add a border 
    border-radius: 3px;  Optional: Add rounded corners 
    margin-right: 8px;  Space between checkbox and text 
    cursor: pointer;  Pointer cursor on hover 
}

    .custom-checkbox:checked {
        background-color: green;  Green background when checked 
        content: '✔';  Optional: Add a checkmark 
        color: white;  Optional: White color for checkmark 
        display: flex;
        align-items: center;
        justify-content: center;
    }
*/

.checkbox-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* align items to the left */
    gap: 1rem; /* spacing between items */
    padding: 1rem;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background-color: #f9f9f9;
}

    /* Ensure max 3 per row */
    .checkbox-container > div {
        flex: 1 1 calc(33.33% - 1rem); /* 3 per row, accounting for gap */
        min-width: 120px; /* prevents shrinking too small on smaller screens */
        display: flex;
        justify-content: flex-start; /* align checkbox + label neatly */
        align-items: center;
    }

/* Bigger styled checkbox */
.custom-checkbox .e-checkbox-wrapper {
    transform: scale(1.2); /* scale up the checkbox */
    margin-right: 8px;
}

/* Bold 16px label */
.custom-checkbox .e-label {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #333;
}


#chkimg {
    width: 30px;
    height: 30px;
}

.radio-control {
    margin: 5% 0 5% 40%;
}

.otp-container {
    width: 240px;
    margin: 50px auto;
}

    .otp-container label {
        margin-bottom: 15px;
    }

.sidebar {
    background-color: #282F37;
}

.blue-button {
    background-color: #282F37;
    color: white; /* teal text */
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    outline: none;
}

.card-header {
    background-color: #282F37;
    color: white;
}

.e-card {
    -webkit-tap-highlight-color: #0d6efd;
    background: #007BFF;
    border: 1px solid #dee2e6;
    box-shadow: none;
    color: #212529;
    outline: none
}

/* Grid Header Styling */
.e-grid .e-headercell {
    background-color: #282F37; /* Blue header */
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    border-right: 1px solid white;
}

/* Row Styling */
.e-grid .e-row {
    background-color: #f8f9fa; /* Light gray */
    color: #333;
}

.e-grid .e-grouptext {
    font-weight: bold;
    font-size: 16px;
}

.e-tbar-btn-text {
    font-family: Arial;
    font-weight: bold;
    font-size: 18px;
}

/* Alternating Row Styling */
.e-grid .e-row:nth-child(even) {
    background-color: #e9ecef; /* Slightly darker gray */
}

/* Cell Hover Effect */
.e-grid .e-row:hover {
    background-color: #d6d8db !important;
    transition: background 0.2s;
}

.e-grid .e-headercell {
    white-space: normal;
    word-wrap: break-word;
    font-family: Britannic 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
}

.e-grid .e-rowcell {
    font-family: Arial;
    font-size: 14px;
}

.e-headertext {
    font-size: 12px;
    font-family: Britannic 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    word-wrap: break-word;
}

/* Grid Toolbar Styling */
.e-toolbar {
    background-color: #282F37;
    color: white;
    padding: 8px;
    border-radius: 10px 10px 0 0;
}

    .e-toolbar .e-tbar-btn {
        background-color: #007BFF;
        color: white;
        border-radius: 5px;
    }

        /* Button Hover Effect */
        .e-toolbar .e-tbar-btn:hover {
            background-color: #0056b3;
        }

/* Grid Border */
.e-grid {
    border: 1px solid #ddd;
}

/* Dialog Edit Mode Styling */
.e-dialog .e-dlg-content {
    background: #f9f9f9;
}

.rateText {
    font-size: 14px;
    font-weight: bold;
}


/* Wrapper for cards */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Adjust spacing between cards */
    justify-content: center;
    align-items: stretch; /* Ensures uniform height */
}

/* Card Container */
.card_sample {
    background: white;
    border-radius: 8px;
    padding: 12px; /* Reduced padding */
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px; /* Adjust to fit content properly */
}

/* Card Content */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}


/* Details Button */
.DashButton {
    background-color: black;
    color: white;
    padding: 6px 14px; /* Reduce button padding */
    border-radius: 5px;
    font-size: 12px;
    margin-top: 8px; /* Reduce spacing above button */
}

/* Responsive Grid */
@media (min-width: 1920px) {
    .col-lg-4 {
        flex: 1 1 calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
    }
}

@media (max-width: 1919px) {
    .col-lg-4 {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .col-lg-4 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


/* Supplier and Customer Dashboard Styling */
.card {
    font-family: 'Times New Roman', Times, serif;
}

.highlight {
    border: 2px solid darkgrey;
    background-color: lightgrey;
}


/* Typography & Styling */
.projectName {
    font-size: 1.5rem;
    font-weight: 600;
    color: darkred;
    text-decoration: underline;
}

.location {
    font-size: 1rem;
    font-weight: 600;
}

.card-button-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100px; /* Example height */
    width: 100%; /* Full width */
    gap: 1rem;
}

/* Compact date section */
.date-container {
    font-size: 16px;
    font-weight: 600;
    color: darkred;
    margin-bottom: 5px; /* Reduce spacing */
}

/* Reduce margin for project name */
.projectName {
    font-size: 1.3rem; /* Adjust font size */
    font-weight: 600;
    color: darkred;
    text-decoration: underline;
    margin-bottom: 5px; /* Reduce extra spacing */
}

/* Compact address */
.location {
    font-size: 0.9rem; /* Reduce font size */
    font-weight: 500;
    margin-bottom: 8px; /* Reduce spacing */
}

/* Expiry text */
.expiryTag {
    font-weight: 600;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
    color: red;
    text-decoration: underline;
}

/* Styling for better visibility */
.list-container {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background: #f8f9fa;
}


.BidsContainer {
    max-height: 35vh; /* Adjust height to fit the screen */
    min-height: 30vh; /* Adjust height to fit the screen */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scroll */
    padding: 10px; /* Optional: Adds some spacing */
    border: 1px solid #ddd; /* Optional: Adds a light border */
    background-color: #fff; /* Optional: Ensures proper background */
}

.project-value {
    display: flex;
    justify-content: flex-end; /* Right align */
    align-items: center; /* Vertically center */
    height: 100%; /* Ensure it takes the full height of the container */
    font-weight: bold; /* Optional: Make the text bold */
}

.no-bids-container {
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    max-width: 400px;
}

.no-bids-image {
    width: 100px; /* Adjust size */
    height: auto;
    opacity: 0.7;
}

.no-bids-text {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    margin-top: 10px;
}

/* Ensure cards wrap correctly */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between cards */
    justify-content: center; /* Center align cards */
}

/* Ensure individual cards do not exceed container width */
.card_sample {
    width: 100%; /* Adjust width to be responsive */
    max-width: 350px; /* Set a max width */
    min-height: 200px; /* Ensure cards are not too small */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
}

#DetailsContainer {
    min-height: 30vh; /* Adjust height to fit the screen */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scroll */
    padding: 10px; /* Optional: Adds some spacing */
    border: 1px solid #ddd; /* Optional: Adds a light border */
    background-color: #fff; /* Optional: Ensures proper background */
}

.table-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: flex-start; /* Aligns content to the top */
    flex-wrap: wrap; /* Ensures responsiveness */
    gap: 20px; /* Adds space between tables */
}

/* Table Header Styling */
.project-details-table th, .cleaning-frequency-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: left;
    border: 2px solid #ccc; /* Adds grid lines */
    padding: 5px;
}

/* Table Header Styling */
.project-details-table th, .cleaning-frequency-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: left;
    border: 2px solid #ccc;
    padding: 10px;
}

    /* Center the Quantity Header */
    .project-details-table th.centered-header {
        text-align: center;
    }

/* Table Cell Styling */
.project-details-table td, .cleaning-frequency-table td {
    border: 2px solid #ccc; /* Adds grid lines */
    padding: 5px;
}

    /* Center the Quantity Column */
    .project-details-table td:nth-child(2) {
        text-align: center;
        font-weight: bold;
    }

/* Adjust Table for Better Spacing */
.project-details-table tbody tr:nth-child(even),
.cleaning-frequency-table tbody tr:nth-child(even) {
    background-color: #f4f4f4; /* Alternating row colors */
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.modal-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
}


/* Badge styling */
.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    min-width: 100px;
    font-weight: 700;
    margin: 5px;
    line-height: 2;
    font-size: 85%;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge-blue {
    background-color: #007bff;
    color: white;
}

.grid-group-style {
    background-color: #333; /* Dark background color */
    color: white; /* White font color */
    font-weight: bold; /* Bold font weight */
    padding: 10px; /* Optional: Add some padding for better appearance */
}


.e-grid .e-row.e-selectionbackground,
.e-grid .e-row.e-active {
    font-weight: bold;
}

.e-grid .e-row.e-altrow {
    background-color: #F5F8FB;
    border-radius: 6px;
}

.e-grid .e-headercell {
    background-color: #F5F8FB;
    font-family: Britannic, 'Bodoni MT', Calibri, 'Trebuchet MS', sans-serif
}

.e-grid .e-columnheader {
    height: 40px !important;
}

.e-grid .e-rowcell.completion-color {
    color: #F15223 !important;
}

.e-grid .e-rowcell {
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #303343 !important;
    /*font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif*/
    font-family: Britannic, 'Bodoni MT', Calibri, 'Trebuchet MS', sans-serif
}

/* For screens less than 1080px */
@media (max-width: 1199px) {


    .e-grid .e-rowcell {
        font-size: 12px !important;
        font-weight: 500 !important;
        font-family: Britannic, 'Bodoni MT', Calibri, 'Trebuchet MS', sans-serif
    }
}

/* For screens less than or equal to 720px */
@media (max-width: 720px) {
    .e-grid .e-rowcell {
        font-size: 10px !important;
        font-weight: 500 !important;
    }
}

.e-grid .e-headercell .e-headertext {
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 125% !important;
    color: #303343 !important;
    text-transform: none !important;
}

.color-red {
    color: red;
    font-weight: 600;
}

.color-black {
    color: black;
    font-weight: 600;
}

.color-green {
    color: darkgreen;
    font-weight: 600;
}

.badge {
    font-size: 1em;
    text-align: center;
    padding: 0px;
    min-width: 150px;
    margin: 0px;
}


.badge-status-open {
    background-color: #007bff; /* Blue */
    color: white;
}


.badge-status-in-progress {
    background-color: #ffc107; /* Yellow */
    color: black;
}

.badge-status-shortlist {
    background-color: #28a745; /* Cyan */
    color: white;
}

.badge-status-awarded {
    background-color: #006102; /* Green */
    color: white;
}

.badge-status-rejected {
    background-color: #dc3545; /* Red */
    color: white;
}

.e-stepper.e-horizontal .e-step-item.e-step-label .e-step-label-container {
    font-weight: 600;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

/* Responsive overrides for small screens */
@media screen and (max-width: 576px) {

    .e-stepper.e-horizontal .e-step-item.e-step-label .e-step-label-container {
        position: relative;
        font-size: 0.65rem;
        font-weight: 600;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }
}

.landing-gradient-bg {
    background: linear-gradient(to bottom, var(--bs-primary) 50%, var(--bs-warning) 90%);
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

    .page-wrapper main {
        flex: 1 0 auto;
    }

footer.footer-section {
    flex-shrink: 0;
}


.chat-button-square {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    border-radius: 8px;
    position: relative;
    font-size: 1.2rem;
    background-color: #007BFF;
    padding: 0;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.chat-badge {
    background: #d32f2f; /* Red fill */
    color: #fff; /* White text */
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #d32f2f;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.action-button-square {
    width: 40px;
    height: 40px;
    /*background-color: #FFC107;*/
    background-color: #007BFF;
    color: white;
    padding: 0;
    border-radius: 8px; /* Optional: Rounded square */
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-button-square:hover {
    background-color: #FFC107;
}

.chat-icon-large {
    font-size: 1.4rem; /* Make the icon bigger */
    color: white;
    font-weight: bold;
}


/* Default to 100% width */
.responsive-dialog.e-dialog {
    width: 70%;
    height: auto !important;
}

@media (max-width: 1979px) {
    .responsive-dialog.e-dialog {
        width: 80%;
        height: auto !important;
    }
}


/* Screen < 1920px: use 60% */
@media (max-width: 1919px) {
    .responsive-dialog.e-dialog {
        width: 85% !important;
        height: auto !important;
    }
}

/* Screen < 1366px: use 80% */
@media (max-width: 1365px) {
    .responsive-dialog.e-dialog {
        width: 90% !important;
        height: auto !important;
    }
}

..error-message {
    color: #dc3545; /* Bootstrap’s “danger” red */
    font-weight: 600; /* make it stand out */
    font-size: 0.9rem; /* adjust to taste */
    margin-top: 0.25rem; /* a little breathing room */
}

.no-padding {
    padding: 0;
}

.sliderwrap {
    margin-top: 45px;
}

.e-control-wrapper.e-slider-container.e-horizontal .e-limits {
    background-color: rgba(69, 100, 233, 0.46);
}

.sliderwrap label {
    padding-bottom: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
}

.edit-link {
    cursor: pointer;
}

.e-control-wrapper.e-slider-container .e-slider .e-handle {
    border-radius: 25px;
    height: 25px;
    width: 25px;
    margin-top: -5px;
}

.switch-title {
    font-weight: bold;
    font-size: 18px;
    text-decoration: underline;
    margin-bottom: 4px;
}

.hero-cta {
    background: linear-gradient(90deg, #0052cc 0%, #0a8ac7 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    padding: 0.75rem 2.5rem;
    box-shadow: 0 4px 16px rgba(0,82,204,0.18);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

    .hero-cta:hover, .hero-cta:focus {
        background: linear-gradient(90deg, #0a8ac7 0%, #0052cc 100%);
        transform: translateY(-2px) scale(1.03);
        outline: none;
    }

:root {
    --dash-vertical-margin: 10px; /* matches your CellSpacing[1] */
}



.toggle-btn {
    align-self: flex-end;
    margin: 0.5rem;
}

/* Apply to your custom button group */
.btn-group .btn,
.large-red-buttons .e-btn {
    font-size: 1.2rem; /* larger text */
    padding: 12px 24px; /* bigger button size */
    border-radius: 6px; /* smoother rounded edges */
    background-color: #dc3545; /* Bootstrap "danger" red */
    color: #fff; /* white text */
    border: none;
    transition: background-color 0.2s ease;
}

    /* Hover effect */
    .btn-group .btn:hover,
    .large-red-buttons .e-btn:hover {
        background-color: #b02a37; /* darker red */
    }

    /* Active (selected) state */
    .btn-group .btn.btn-primary,
    .large-red-buttons .e-btn.e-primary {
        background-color: #a71d2a;
        font-weight: 600;
    }

/* =========================================================
   ROOT LAYOUT
========================================================= */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.dashboard-flex-container {
    display: flex;
    flex-direction: row;
    height: 85vh; /* Full screen height */
    width: 100%;
    gap: 10px; /* Space between columns */
    background: #f0f2f7;
    box-sizing: border-box;
    padding: 10px;
}

/* =========================================================
   LEFT PANEL (Main Project View)
========================================================= */
.dashboard-left {
    flex: 2.5; /* takes ~70% of width */
    background: #ffffff;
    border-radius: 14px;
    overflow-y: auto;
    padding: 15px;
    box-sizing: border-box;
}

/* =========================================================
   RIGHT COLUMN (Stacked Top & Bottom)
========================================================= */
.dashboard-right {
    flex: 1; /* takes ~30% of width */
    display: flex;
    flex-direction: column;
    gap: 10px; /* space between top/bottom panels */
    height: 100%;
}

/* Top and bottom each take 50% of column */
.right-top,
.right-bottom {
    flex: 1;
    background: #f6f8fc;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* =========================================================
   CARD STYLING (Reusable)
========================================================= */
.card {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    border: 1px solid #d6d9e1;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.card-header {
    background: #24285B;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.card-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

    /* Optional scroll styling */
    .dashboard-left::-webkit-scrollbar,
    .card-body::-webkit-scrollbar {
        width: 8px;
    }

    .dashboard-left::-webkit-scrollbar-thumb,
    .card-body::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 4px;
    }

/* =========================================================
   RESPONSIVE (Collapse Right Column Below Left)
========================================================= */
@media (max-width: 1024px) {
    .dashboard-flex-container {
        flex-direction: column;
    }

    .dashboard-left {
        flex: none;
        height: 60vh;
    }

    .dashboard-right {
        flex: none;
        height: 40vh;
        flex-direction: row;
    }

    .right-top,
    .right-bottom {
        flex: 1;
    }
}



.e-label {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

.e-chat-ui .e-left .e-text {
    font-weight: bold !important;
}

.e-chat-ui .e-right .e-text {
    font-weight: bold !important;
}

.e-portafind-button {
    background-color: #007BFF; /* Blue background */
    color: white; /* White text */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-weight: bold; /* Bold text */
    font-size: 14px; /* Font size */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}


/* Base style for all status tags */
.status-tag {
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: bold;
    color: #fff; /* white text for contrast */
}

/* Specific statuses */
.status-pending {
    background-color: orange;
}

.status-quoted {
    background-color: yellow;
    color: #000; /* better contrast on yellow */
}

.status-shortlisted {
    background-color: lightgreen;
    color: #000; /* better contrast on light background */
}

.status-rejected {
    background-color: red;
}

.status-booked {
    background-color: red;
}

.status-green {
    background-color: green;
}


.blogs-under-construction {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    background: #f9f9f9;
    text-align: center;
    padding: 20px;
}

    .blogs-under-construction .message-box {
        background: white;
        padding: 40px 60px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        max-width: 600px;
    }

    .blogs-under-construction h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #ff9800;
    }

    .blogs-under-construction p {
        font-size: 1.2rem;
        color: #555;
    }

.project-header {
    background-color: #0F73CF; /* Blue background */
    color: #ffffff; /* White text */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* Always keep message dialog above Syncfusion overlays */
.dialog-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999 !important; /* higher than SfDialog (9998) and Toast overlays */
}

.dialog-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
