@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html, body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZ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AyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }
    
    
    .image-button {
        width: 100%; /* Make the button take up the full width of the container */
        height: 100%; /* Make the button take up the full height of the container */
        border: none; /* Remove border */
        padding: 0; /* Remove padding */
    }
    
    
    
 
    
    img {
        width: 100%;
        height: auto;
        display: block; /* Ensures the image scales well within the label */
    }
    
    .no-image-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        background-color: pink; /* Background color for the 'No Image' scenario */
    }
    .image-button,
.plain-pink-background {
    width: 100%; /* Make the button take up the full width of the container */
    height: 100%; /* Make the button take up the full height of the container */
    border: none; /* Remove border */
    padding: 0; /* Remove padding */
    display: block; /* Make it a block-level element */
    background-size: cover; /* Ensure background image covers the button */
    background-position: center; /* Center the background image */
    cursor: pointer; /* Change cursor to pointer on hover */
}


.image-button,
.plain-pink-background {
    width: 100%; /* Make the button take up the full width of the container */
    height: 100%; /* Make the button take up the full height of the container */
    border: none; /* Remove border */
    padding: 0; /* Remove padding */
    display: block; /* Make it a block-level element */
    background-size: cover; /* Ensure background image covers the button */
    background-position: center; /* Center the background image */
    cursor: pointer; /* Change cursor to pointer on hover */
    overflow: hidden; /* Prevent contents from overflowing */
    position: relative; /* Needed for overlay text positioning */
}



.image-label {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    border: none; /* Remove border */
    padding: 0; /* Remove padding */
    display: block; /* Make it a block element */
    cursor: pointer; /* Show pointer cursor on hover */
    overflow: hidden; /* Ensure contents don't overflow */
    position: relative; /* Position relative for overlay text */
    background-size: cover; /* Ensure background image covers the label */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent background image from repeating */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust the minmax values as needed */
    gap: 10px; /* Spacing between grid items */
}

   

/* Add a hover effect using JavaScript for a dynamic tilt */
.product-image img {
    max-height: 150px;
    max-width: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.product-details {
    margin-left: 0px;
   
}

.product-details h3 {
    margin-top: 0;
}

.product-details p {
    margin: 0px;
}

.product-details button {
    margin-top: 12px;
}


.product-main {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}




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


.input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;  /* Adjust width */
    height: 40px;  /* Adjust height */
    padding: 12px 20px;  /* Add padding for touch area */
    font-size: 24px;  /* Increase font size */
    border-radius: 8px;  /* Rounded corners */
    border: none;  /* Remove default border */
    background-color: #007bff;  /* Background color */
    color: white;  /* Text color */
    cursor: pointer;  /* Cursor pointer */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Add shadow for depth */
}

.btn-large:hover {
    background-color: #0056b3;  /* Darken background on hover */
}

.btn-large:active {
    transform: scale(0.98);  /* Add a small effect when button is pressed */
}


.overlay-text1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);  /* Semi-transparent background */
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0;  /* Start hidden */
    transition: opacity 0.3s ease;  /* Smooth transition */
    border-radius: 8px;  /* Optional: Match image rounded corners */
}


.d-none {
    display: none;  /* Utility class to hide elements */
}
/* Swipe Container */
.swipe-container {
    position: relative;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    overflow: hidden;
}

/* Swiped State */
.swiped {
    transform: translateX(-100px); /* Adjust based on delete button width */
}

/* Delete Button */
.delete-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px; /* Match the translateX value */
    background-color: #ffc107;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Show Delete Button When Swiped */
.swiped .delete-button {
    opacity: 1;
    pointer-events: auto;
}

/* Always Show Delete Button on Larger Screens */
@media (min-width: 768px) {
    .delete-button {
        position: static;
        width: auto;
        opacity: 1;
        pointer-events: auto;
        margin-left: 10px;
    }

    .swipe-container {
        transform: none !important;
    }
}



/*this code for this report section code*/

/* General print styles */

/* Scroll Animation */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for each card */
.animate-card {
    animation: slideFromLeft 0.5s ease-out;
}

/* Change direction based on the card's position */
.card:nth-child(odd) .animate-card {
    animation: slideFromRight 0.5s ease-out;
}

.card:nth-child(even) .animate-card {
    animation: slideFromBottom 0.5s ease-out;
}

/* Mobile view - Remove border radius and adjust gaps */
@media (max-width: 576px) {
    .card {
        border-radius: 0 !important;  /* Remove border radius */
    }

    .col-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .col-sm-6, .col-md-4, .col-lg-3 {
        padding: 0 !important; /* Remove side gaps */
    }
}
/*this is the settings page media query*/

/* Responsive Design */
/* @media (max-width: 768px) {
    .settings-wrapper {
        padding: 20px;
    }

    .page-title {
        font-size: 26px;
    }

    .settings-card-header {
        font-size: 16px;
    }

    .input-group {
        flex-direction: column;
        gap: 10px;
    }

    .input-field {
        font-size: 14px;
        padding: 12px;
    }

    .btn-primary {
        width: 100%;
        padding: 12px;
    }

    .btn-danger {
        padding: 8px 12px;
    }

    .color-picker {
        width: 50px;
        height: 50px;
    }
} */



@media (max-width: 575.98px) {
    .card {
        margin-bottom: 0.5rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
}


  /* Responsive Styles */
  /* Responsive Styles */
  @media (max-width: 767px) {
    .professional-settings-wrapper {
        padding: 15px;
    }

    .professional-title {
        font-size: 22px;
    }

    .professional-input-group {
        flex-direction: column;
    }

    .professional-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .professional-btn {
        width: 100%;
        font-size: 16px;
        margin-top: 10px;
    }

    .professional-btn-danger {
        width: 100%;
    }

    .professional-no-data {
        font-size: 14px;
    }

    .professional-color-picker-section {
        margin-top: 20px;
    }

    .professional-color-picker {
        width: 40px;
        height: 40px;
    }
}











/*  */



/* Keyframes for checkmark animation */
@keyframes checkmarkAnimation {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ensure columns fit on small mobile screens without scrolling */
@media (max-width: 600px) {
    .mobile-view .header, .mobile-view .row {
        grid-template-columns: repeat(6, 1fr); /* Ensure all columns fit on screen */
        font-size: 12px; /* Adjust font size for mobile readability */
    }
}


    .snackbar {
        visibility: hidden;
        min-width: 250px;
        margin-left: -125px;
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 2px;
        padding: 16px;
        position: fixed;
        z-index: 9999;
        left: 50%;
        bottom: 30px;
        font-size: 17px;
    }
    .snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }
    @-webkit-keyframes fadein {
        from { bottom: 0; opacity: 0; }
        to { bottom: 30px; opacity: 1; }
    }
    @keyframes fadein {
        from { bottom: 0; opacity: 0; }
        to { bottom: 30px; opacity: 1; }
    }
    @-webkit-keyframes fadeout {
        from { bottom: 30px; opacity: 1; }
        to { bottom: 0; opacity: 0; }
    }
    @keyframes fadeout {
        from { bottom: 30px; opacity: 1; }
        to { bottom: 0; opacity: 0; }
    }





