﻿
.dxbl-modal > .dxbl-modal-root > .dxbl-popup > .dxbl-modal-content > .dxbl-modal-body {
    background-color: white;
    color: black;
}
.flash-deferred {
    animation: flashDeferred 2s linear infinite;
}
.dxc-grids-group path {
    opacity: 0.3 !important;
}
.flash-blue-reg {
    animation: flash-bluereg 2s linear infinite;
    border-color: #90caf9 !important;
}

@keyframes flash-bluereg {
    0% {
        background-color: #ccffcc;
    }

    40% {
        background-color: #ffe8cc; /* light blue */
    }

    60% {
        background-color: #e3f0ff; /* light blue */
    }

    100% {
        background-color: #ffffff;
    }
}
@keyframes flashDeferred {
    0% {
        background-color: #ffffff;
    }

    40% {
        background-color: #ffe8cc; /* light blue */
    }

    60% {
        background-color: #e3f0ff; /* light blue */
    }

    100% {
        background-color: #ffffff;
    }
}

.nowrap {
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: normal;
    white-space: nowrap;
    width: 1px;
}
/* For the top safe area */
body {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

.dxc-val-elements text {
    fill: Goldenrod !important; /* your desired color */
    top: 60px !important;
    font-size: 18px !important;
}
/* Target the constant line path */
.dxc-val-constant-lines path {
    stroke: goldenrod !important;
    stroke-width: 2;
}
.scorecard-page .dxc-val-constant-lines path {
    stroke: red !important;
}
.dxc-val-line path>g {
    stroke: black !important;
    stroke-width: 1;
}

.dxc-axes-group dxc-val-line path[stroke="#767676"] {
    stroke: black !important;
}
/*.dxc-markers {
    fill:cadetblue;
}*/
.legend-chart {
    background-color: transparent !important;
}
.dxc-val-constant-lines text {
    fill: Goldenrod !important;
    font-weight:100 !important;
    font-size: 16px !important;
}
/* Change argument axis labels */
.dxc-arg-elements text {
    fill: Goldenrod !important; /* your desired color */
    font-size: 18px !important;
}
/* Optional: You can apply safe area to specific elements */
header {
    padding-top: env(safe-area-inset-top);
}

footer {
    padding-bottom: env(safe-area-inset-bottom);
}

.dxbl-grid > .dxbl-grid-top-panel > .dxbl-grid-search-box-container {
    margin-left: 10px !important;
    margin-right: 10px !important;
    min-width: 270px !important;
  
}

/* Target the internal input */
.custom-searchbox input[type="text"] {
    font-size: 16px !important; /* Prevent iOS zoom */
    font-family: 'Segoe UI', sans-serif; /* Or your preferred font */
    color: #333;
}

.dxbl-grid .dxbl-text-edit {
  
    font-size: 17px !important;
    color:blue;
}
.dxbl-grid-search-box {
    font-size: 17px;
    color: brown !important;
}
.dxbl-grid {
    height: 92vh; /* 90% of the viewport height */
    max-height: calc(100vh - 20px); /* Prevents overflowing */
}
/* Unique styling for card-like buttons */
.uro-button-group {
    display: flex;
    gap: 10px;
    padding: 10px;
}

:root {
    --z-index-drawer: 1100; /* Drawer above all */
    --z-index-sticky-header: 1000; /* Sticky header below drawer */
    --z-index-overlay: 1200; /* Modal overlay if needed */
    --z-index-sidebar: 1100; /* Drawer above all */
}

.uro-card-button {
    background: linear-gradient(71deg, #0d1212, #3da077, #0d1212);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    min-width: 90px;
}

    .uro-card-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 10px rgba(61, 160, 119, 0.8);
    }

    .uro-card-button:active {
        transform: translateY(0);
        box-shadow: none;
    }

    /* Red Gradient for "All" Button */
    .uro-card-button:last-child {
        background: linear-gradient(71deg, #121012, #ff4d4d, #121012);
    }

@media screen and (max-width: 768px) {
    .uro-card-button {
        padding: 8px 12px;
        font-size: 14px;
    }
    .dxc-val-constant-lines text {
        fill: Goldenrod !important;
        font-weight: 100 !important;
        font-size: 12px !important;
    }
}



/* Unique class prefix: uro- */
.uro-card {
    max-width: 100%;
    font-weight: bold;
    border-radius: 20px;
    overflow: hidden;
    margin: 10px 0;
    transition: transform 1.3s ease;
    padding: 5px;
    color: black;
}

/* Green Gradient for Closed Tasks */
.uro-bg-green-box {
    background: darkseagreen;
}

#components-reconnect-modal {
    display: none !important;
}

.components-reconnect-modal {
    display: none !important;
}
/* Red Gradient for Open Tasks */
.uro-bg-red-box {
    background: #C83F55;
}
.uro-bg-blue-box {
    background: lightblue;
}
/* Card Container */
.uro-container-card {
    padding: 8px;
    border-radius: 20px;
    background: transparent; /* Ensure the background shows the gradient */
    text-align: center;
}

/* Card Title */
.uro-card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Card Description */
.uro-card-description {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

/* Hover Effect */
.uro-card:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .uro-card-title {
        font-size: 20px;
    }

    .uro-card-description {
        font-size: 18px;
    }
}



/* ===== Full Calendar Modern Style ===== */

/* Global Reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Martel Sans", sans-serif;
    background: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.fm-calendar {
    padding: 1rem;
}

.fm-card {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.fm-card-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

/* Calendar Wrapper */
.fm-calendar {
    padding: 0 0.1rem 0.1rem 0.1rem;
    margin: 0 auto;
}

/* Month Title */
.fm-month-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #3d7cbf;
    text-align: center;
}

/* Grid Layout: 7 Cards per Row */
.fm-card-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    padding: 1rem 0;
   
}

@media (max-width: 1024px) {
    .fm-card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .fm-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fm-card-grid {
        grid-template-columns: 1fr;
    }
}
/* Month Title */
.fm-month-title {
    font-size: 2.2rem;
    color: #3d7cbf;
    text-align: center;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.2rem;
}
/* Individual Card */
.fm-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 300px;
}

    .fm-card:hover {
        transform: translateY(-5px);
    }

/* Card Header */
.fm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.fm-card-date {
    font-size: 1.25rem;
    font-weight: bold;
    color: #4169e1;
}

.fm-card-tug {
    font-size: 1rem;
    color: #555;
}

/* Card Content */
.fm-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Content Sections */
.fm-card-section {
    padding: 0.5rem 0;
    border-top: 1px solid #eee;
}

    .fm-card-section strong {
        display: block;
        margin-bottom: 0.25rem;
        color: #333;
    }

    .fm-card-section ul {
        padding: 0;
        list-style: none;
        margin: 0;
    }

    .fm-card-section li {
        background: #f0f8ff;
        padding: 0.25rem 0.5rem;
        border-radius: 5px;
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
        color: #555;
    }

/* No Data Placeholder */
.fm-no-data {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}




html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
}

/**/
/* Grid Layout for Cards */

.fuel-card {
    background-color: black;
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Consolas', monospace;
    max-width: 450px;
    margin: auto;
    text-align: center;
}

.roster-card {
    width: 350px;
    border: 1px solid black;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 18px;
    position: relative;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.leave-popup {
    padding: 30px;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}


.or {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color);
        width: 100%;
        opacity: 0.2;
    }

    .or .or-text {
        padding: 0 0.625rem 0px 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color);
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;



        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color);
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.icon-external-provider {
    width: 1rem;
    height: 1rem;
}

.icon-google {
    background-image: url("/images/account/providers/google-logo.svg")
}

.icon-facebook {
    background-image: url("/images/account/providers/facebook-logo.svg")
}

.icon-microsoft {
    background-image: url("/images/account/providers/microsoft-logo.svg")
}

.icon-twitter {
    background-image: url("/images/account/providers/x-logo.svg")
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}


/*# OLD CSS */

.card-wrapper-DCS {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    background-color: #000;
    padding: 20px;
}

/* Individual Card */
.card-for-DCS {
    background-color: #000;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 16px;
    flex: 1 1 calc(33.333% - 20px); /* Three columns */
    max-width: calc(33.333% - 20px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #fff;
}

@media (max-width: 1024px) {
    .card-for-DCS {
        flex: 1 1 calc(50% - 20px); /* Two columns on medium screens */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .card-for-DCS {
        flex: 1 1 100%; /* Single column on smaller screens */
        max-width: 100%;
    }
}

/* Group Header */
.group-header-DCS {
    font-size: 1.2rem;
    font-weight: bold;
    color: limegreen;
    margin-bottom: 12px;
    border-bottom: 2px solid limegreen;
    padding-bottom: 4px;
}

/* Row Styling */
.row-DCS {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

/* Header and Value Styling */
.label-DCS {
    font-weight: bold;
    color: limegreen;
}

.value-DCS {
    color: white;
}

.value-DCS-red {
    color: limegreen;
    font-weight: bold;
    text-decoration: underline;
}

.row-two-columns-DCS {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 20px;
}

.column-DCS {
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.card-container2 {
    padding: 16px;
    display: flex;
    justify-content: center;
}

.card2 {
    background-color: black; /* Black background */
    border: 1px solid #444; /* Subtle border */
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    max-width: 900px;
}

.grid-container2 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    align-items: center;
    color: white; /* Green font for headers */
}

.row2 {
    display: contents; /* Ensures rows align properly */
}

.header2 {
    font-weight: bold;
    text-align: left;
    grid-column: span 2;
    color: limegreen; /* Green font for headers */
    display: flex;
    align-items: center; /* Align items vertically */
    gap: 1rem; /* Add spacing between items */
}

.value21 {
    text-align: left;
    grid-column: span 4;
    color: white !important; /* Fix misplaced `!important` */
    font-size: 1.2rem;
    flex: 1;
}

.group-header2 {
    grid-column: span 6; /* Make the header span the entire row */
    font-size: 1.3rem; /* Larger font size for headers */
    font-weight: bold;
    color: limegreen; /* Green font for group headers */
    margin-top: 16px;
    text-align: left;
    padding: 8px 0;
    border-bottom: 2px solid limegreen; /* Underline for separation */
}

@media (max-width: 600px) {
    .grid-container2 {
        grid-template-columns: 1fr; /* Single column layout for smaller screens */
    }

    .header2,
    .value2,
    .group-header2 {
        grid-column: span 1; /* Full-width for smaller screens */
    }

    .group-header2 {
        text-align: center; /* Center-align group headers on small screens */
    }
}


@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr; /* Single column layout for small screens */
    }

    .header, .value {
        grid-column: span 1; /* Each takes up a full row */
    }
}


@media screen and (max-width: 768px) {
    .dx-form-layout-item {
        width: 100% !important;
    }
}


.form-grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Adjust column widths as needed */
    gap: 10px 20px; /* Add spacing between rows and columns */
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa; /* Light background for contrast */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.form-label {
    font-weight: bold;
    color: #333; /* Label color */
    text-align: right;
}

.form-value {
    color: #555; /* Value color */
    background: #f0f0f0; /* Light background for values */
    padding: 5px 10px;
    border-radius: 4px;
}

/* Apply gray background to FormLayout groups */
.dx-form-group {
    background-color: gray;
    padding: 10px;
    border-radius: 5px;
}

/* Style text boxes with black background and green font */
.dxbl-input-editor {
    background-color: black;
    color: black;
}

/* Ensure captions have green font */
.dx-form-item-label {
    color: green;
}

/* Optional: Style borders and padding for text boxes */
.dx-textbox input {
    border: 1px solid green;
    padding: 5px;
}

.bottom-memo {
    position: absolute;
    align-content: end;
}

.card-memo2a {
    background-color: cornsilk;
    top: 17px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid groove;
    margin-top: 10px; /* Space to push it below the day-number-container */
    border: 1px solid blue;
}

.dxbl-memo-editor {
    background-color: transparent;
}

.card-memo2 {
    top: 40px;
    position: absolute !important;
    align-self: flex-end !important;
    width: 100%;
    border: 1px solid blue;
    border-radius: 4px;
    left: 0 !important;
}

.card-AppointmentMemo {
    position: absolute !important;
    align-self: flex-end !important;
    width: 100%;
    background-color: #ffe6e6;
    border: 1px solid green;
    border-radius: 4px;
    left: 0 !important;
}

.card-leave-memo {
    position: absolute !important;
    align-self: flex-end !important;
    width: 100%;
    background-color: #ffe6e6;
    border: 1px solid #cc0000;
    border-radius: 4px;
    left: 0 !important;
}

.leave-label {
    margin-top: 5px;
    font-size: 0.9rem;
    color: indianred;
}

.day-number-container {
    background-color: cornsilk;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-start-end-radius: 16px;
    border-start-start-radius: 16px;
    text-align: center;
    background-color: #f8f9fa; /* Optional: Background for better visibility */
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 1; /* Ensure it stays on top */
    border-bottom: 1px solid #ddd; /* Optional: Separator line */
}

    .day-number-container.weekend {
        background-color: indianred; /* Light red background for weekends */
        color: black; /* Dark red text color for weekends */
        font-weight: bold; /* Emphasize weekends */
        border: groove;
    }

.calendar-card {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 10px;
    margin: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 450px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px; /* Space between memo and day number */
}



.day-number {
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: auto;
    white-space: nowrap;
}

.calendar-container {
    width: 100%;
    padding: 20px;
}

.calendar-header {
    text-align: center;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    gap: 10px;
}

.header {
    grid-template-columns: repeat(7, 1fr);
}

.days {
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}



.calendar-card.empty {
    background-color: transparent;
    border: none;
    box-shadow: none;
}



.card-middle {
    position: absolute; /* Positions the day number absolutely */
    top: 0; /* Aligns to the top */
    right: 0; /* Aligns to the right */
    text-align: right; /* Ensures text is aligned to the right */
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.9); /* Optional background for better visibility */
    border-radius: 4px; /* Optional rounded corners */
    font-size: 1rem;
    font-weight: bold;
    z-index: 1; /* Ensures it appears above other elements */
}

.card-bottom {
    align-self: flex-end !important;
    margin-bottom: 20px;
}

.card-memo {
    left: 0;
    top: 0;
    width: 90%; /* Set memo width to 90% */
    background-color: #fff;
    border: 1px solid #ccc;
}



.labels-container {
    align-self: flex-end !important;
    display: flex !important;
    left: 0 !important;
    justify-content: space-between; /* Push items to the left and right edges */
    padding: 0 10px; /* Optional: Add padding for spacing */
    width: 100%; /* Ensure full width of the container */
}







html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-day-header {
    text-align: center;
    padding: 10px;
    font-weight: bold;
    border: 1px solid #ddd;
}

.weekday {
    background-color: #f9f9f9; /* Light gray for weekdays */
    color: #000; /* Black text */
}

.weekend {
    background-color: #ffe6e6; /* Light red for weekends */
    color: #d00; /* Dark red text */
}

.validation-message {
    color: red;
}
/* Default image size (for desktop) */
.responsive-image {
    width: auto;
    height: auto;
    zoom: 60%;
}

/* For screens less than 768px (mobile) */
@media (max-width: 768px) {
    .responsive-image {
        width: auto;
        height: auto;
    }

    .fuel-card {
        background-color: black;
        color: white;
        padding: 20px;
        border-radius: 10px;
        font-family: 'Consolas', monospace;
        width: 95%;
        margin: auto;
        text-align: center;
    }
}

@media (max-width: 641px) {
    .page {
        flex-direction: row;
    }

    .caption3 {
        font-size: 16px !important;
    }

    .caption2 {
        font-size: 16px !important;
    }

    .caption {
        font-size: 16px !important;
        color: green;
    }
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.test1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 90%;
}

.col {
    flex: 1;
    text-align: center;
    font-size: 1rem; /* Medium font size */
    padding: 2px; /* Smaller padding for each column */
}

.colv {
    flex: 1;
    text-align: center;
    font-size: 1.2rem; /* Medium font size */
    padding: 2px; /* Smaller padding for each column */
    color: green;
}

.col:first-child {
    text-align: left;
}

.col:last-child {
    text-align: right;
}

.card .row:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for alternating rows */
    border-radius: 4px;
}

.tug-label-red {
    display: flex; /* To center the content inside the circle */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    font-size: 1rem; /* Adjust font size as needed */
    color: #333; /* Text color */
    background-color: red; /* White background */
    border: 2px solid #ccc; /* Optional: Add a border */
    border-radius: 30%; /* Makes it a circle */
    width: 60px; /* Fixed width for the circle */
    height: 30px; /* Fixed height for the circle */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    text-align: center; /* Center text */
    white-space: nowrap; /* Prevent text wrapping */
    padding: 5px 20px 5px 20px; /* Correct syntax with units */
}

.tug-label {
    display: flex; /* To center the content inside the circle */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    font-size: 1rem; /* Adjust font size as needed */
    color: #333; /* Text color */
    background-color: lightgreen; /* White background */
    border: 2px solid #ccc; /* Optional: Add a border */
    border-radius: 30%; /* Makes it a circle */
    width: 60px; /* Fixed width for the circle */
    height: 30px; /* Fixed height for the circle */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    text-align: center; /* Center text */
    white-space: nowrap; /* Prevent text wrapping */
    padding: 5px 20px 5px 20px; /* Correct syntax with units */
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.calendar-container {
    background: linear-gradient(45deg, #88bdbc, #5a7d7c);
    display: flex;
    flex-direction: column; /* Stack header and grid vertically */
    gap: 0; /* Remove any gap between elements */
    margin: 0;
    padding: 0;
}

.calendar-grid.header {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 equal columns for days of the week */
    height: 40px; /* Header height */
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Optional background */
    border-bottom: 1px solid #ddd; /* Optional: separator line */
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 equal columns for days */
    margin: 0;
    padding: 0;
    gap: 3px; /* Remove spacing between cells */
}

.calendar-day-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: black;
    padding: 0;
    background: grey;
}

.calendar-day .day-number {
    position: absolute;
    top: 5px; /* Align to top */
    right: 5px; /* Align to right */
    font-size: 28px; /* Larger font size */
    font-weight: bold; /* Bold font */
    color: #333; /* Neutral color */
}

.calendar-day .day-Task {
    position: absolute;
    top: 0px; /* Align to top */
    left: 5px; /* Align to right */
    width: 75%; /* Ensure it takes most of the width */
}

.calendar-day .day-Leave {
    position: absolute;
    bottom: 20px; /* Align to top */
    left: 5px; /* Align to right */
    width: 75%; /* Ensure it takes most of the width */
}

.day-listbox-container {
    position: absolute;
    bottom: 0px; /* Place the ListBox near the bottom */
    left: 5px; /* Place the ListBox near the left */
    width: 50%; /* Ensure it takes most of the width */
    height: auto;
}

.grid-popup-style {
    min-width: 60%;
}

.cw-400 {
    width: 100%; /* Ensure the ListBox fits the container width */
}

.calendar-day .day-number-sm {
    display: none;
}

.chi-220 {
    height: auto; /* Optional: Control the ListBox height */
    max-height: 90px; /* Optional: Limit the ListBox height */
    overflow-y: auto; /* Add a scrollbar if content overflows */
}

.calendar-day {
    position: relative; /* Allows positioning of children */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px; /* Height of the calendar day */
    background-color: #f0f8ff; /* Default background color */
    border: 1px solid #ddd; /* Border around the day */
    font-size: 14px;
    margin: 0;
    padding: 0;
}


    .calendar-day.current-month {
        background-color: #e6f7ff;
    }

    .calendar-day.other-month {
        background-color: #f9f9f9;
        color: #aaa;
    }

.day-leave-label {
    position: absolute;
    text-align: left;
    font-size: 0.8em;
    left: 5px;
    bottom: -20px;
    color: red;
}

@media (max-width: 768px) {
    .calendar-container {
        padding: 0.5rem;
    }

    .day-listbox-container {
        background-color: antiquewhite;
        position: absolute;
        bottom: 0px; /* Place the ListBox near the bottom */
        left: 0px; /* Place the ListBox near the left */
        width: 40%; /* Ensure it takes most of the width */
        height: auto;
    }

    .calendar-day {
        padding: 0.5rem;
    }

    .day-listbox-container-label {
        display: flex;
        color: red;
        top: 0px; /* Place the ListBox near the bottom */
        left: 0px; /* Place the ListBox near the left */
    }

    .calendar-day .day-number {
        position: absolute;
        top: 5px; /* Align to top */
        right: 5px; /* Align to right */
        font-size: 12px; /* Larger font size */
        font-weight: bold; /* Bold font */
        color: #333; /* Neutral color */
    }

    .calendar-container {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .calendar-grid {
        display: grid;
        gap: 10px;
    }

    .header {
        grid-template-columns: repeat(7, 1fr); /* Always show days of the week */
    }

    .days {
        grid-template-columns: repeat(7, 1fr); /* Full month layout by default */
    }

    .calendar-day {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: center;
        position: relative;
        background-color: #f9f9f9;
    }

        .calendar-day.empty {
            background-color: transparent;
            border: none;
        }

    .day-number {
        font-weight: bold;
        margin-bottom: 5px;
        display: block;
    }

    .day-listbox-container {
        margin-top: 5px;
        font-size: 0.9rem;
        color: #555;
    }

    .day-number-sm {
        display: none;
    }
    /* Responsive Layout */
    @media (max-width: 768px) {
        .calendar-grid header {
            display: none; /* Hide day headers on small screens */
        }

        .calendar-day-header {
            display: none;
        }

        .calendar-day .day-number-sm {
            display: block;
            position: absolute;
            top: 5px; /* Align to top */
            right: 5px; /* Align to right */
            font-size: 12px; /* Larger font size */
            font-weight: bold; /* Bold font */
            color: #333; /* Neutral color */
        }

        .day-number {
            display: none;
        }

        .days {
            grid-template-columns: 1fr; /* Show one day per row */
        }

        .calendar-dayempty {
            display: none;
        }

        .calendar-day {
            padding: 15px;
            font-size: 1.2rem;
        }

        .day-listbox-container {
            font-size: 1rem;
        }
    }

    @media (min-width: 769px) {
        .days {
            grid-template-columns: repeat(7, 1fr); /* Full month layout on large screens */
        }
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: white;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

/* Container for each gauge */
.circle-gauge-container {
    display: flex;
    width: 220px;
    padding: 20px 0;
    border-radius: 8px;
    background-color: white;
    flex-direction: column;
    align-items: center;
}

/* Circular Progress */
.circular-progress {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background: conic-gradient(#7d2ae8 3.6deg, #ededed 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Inner white circle */
    .circular-progress::before {
        content: "";
        position: absolute;
        height: 130px;
        width: 130px;
        border-radius: 50%;
        background-color: #fff;
    }

/* Progress value text */
.progress-value {
    position: relative;
    font-size: 24px;
    font-weight: 600;
    color: green;
}

/* Label below the gauge */
.text {
    font-size: 18px;
    font-weight: bold;
    color: #606060;
}
.status-label{
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1px 0px;
}
/* ========================================= */
/* ✅ Reduce Gauge Size by Another 10% for Small Screens ✅ */
/* ========================================= */
.status-label.apu-info {
    font-size: 1.4rem !important;
    font-weight: bold;
    padding: 1px 0px;
}
@media (max-width: 768px) {
    .circle-gauge-container {
        width: 90px; /* Further reduced from 100px */
        padding: 4px 0;
    }
    .status-label.apu-info {
        font-size:1.2rem;
        font-weight: bold;
        padding: 1px 0px;
    }
    .circular-progress {
        height: 70px; /* Further reduced from 80px */
        width: 70px; /* Further reduced from 80px */
    }

        .circular-progress::before {
            height: 55px; /* Further reduced from 60px */
            width: 55px; /* Further reduced from 60px */
        }

    .progress-value {
        font-size: 14px; /* Reduce font size for better fit */
    }

    .text {
        font-size: 12px;
       font-weight:bold
    }
}

/* ========================================= */
/* ✅ Grid Layout Adjustments for Small Screens ✅ */
/* ========================================= */

.gauge-container {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Reduce gap for small screens */
    max-width: 900px;
    margin: auto;
}

/* Default row styling */
.gauge-row {
    display: flex;
    justify-content: center;
    gap: 8px; /* Reduced gap */
}

/* Grid layout to enforce row structure */
.four-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px; /* Reduce gap to fit all 4 gauges */
}

.three-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.two-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* Ensure all 4 gauges fit properly in first row */
@media (max-width: 768px) {
    .four-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 3px; /* Reduce gap further */
    }

    .three-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .two-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
}
.status-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px; /* Space between gauge and status labels */
}

.status-label {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 4px;
    border-radius: 5px;
    width: 70%; /* Matches the width of the gauge */
}
.section-divider-with-title {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    font-weight: bold;
    color: #333;
}

    .section-divider-with-title::before,
    .section-divider-with-title::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #007bff; /* Blue line */
        margin: 0 1rem;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .status-label {
        font-size: 11px; /* Adjust size for smaller screens */
        font-weight:bold;
    }
}
.apu-text {
    font-weight: bold;
    color: #007bff; /* Blue */
}
.gauge-row.four-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 8px; /* Space between items */
    justify-content: center; /* Center items */
    align-items: center;
}

.empty-item {
    visibility: hidden; /* Makes the placeholder occupy space without being visible */
}
.section-divider {
    border: none; /* Remove default border */
    height: 4px; /* Thickness */
    background-color: #007bff; /* Blue color */
    margin: 20px 0; /* Add spacing around the line */
    border-radius: 2px; /* Slightly rounded edges */
}
    .dxbl-text-edit-input[type=search]

{
    font-size: 17px !important;
    color: black !important;
}

.dxbl-text-edit-input {
    font-size: 17px !important;
    color: black !important;
}
.dxbl-grid .dxbl-text-edit {
    font-size: 17px !important;
    color: black;
}

.dxbl-text-edit {
    font-size: 17px !important;
    color: blue;
}
input,
textarea,
select {
    font-size: 16px;
}
.mobile-schedule-card {
    background-color: #fdfdfd;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .mobile-schedule-card .card {
        background-color: #fff;
        border: 1px solid #ddd;
        margin-bottom: 10px;
    }


@media (max-width: 850px) {
    .grid-row {
        display: flex !important;
        flex-direction: column;
        overflow-y: auto !important;
    }

    .grid-items {
        width: 100%;
        height: auto;
    }

    .body {
        overflow-y: hidden !important;
    }

    page {
        overflow-y: auto !important;
    }
}