@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

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

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyN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wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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





/*COPIED FROM PDFFILLER*/
.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");
}

/* Custom Styles */
.container {
    position: relative;
    text-align: center;
    color: white;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Panel Menu Container */
.panel-menu {

 
    border-radius: 5px;

    padding: 10px;

}

/* Menu Item Style */
.panel-menu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s;
}

    /* Remove border for the last item */
    .panel-menu-item:last-child {
        border-bottom: none;
    }

    /* Icon Style */
    .panel-menu-item i {
        font-size: 20px;
        margin-right: 10px;

    }

    /* Link Style */
    .panel-menu-item a {
        text-decoration: none;
        font-size: 16px;

        font-weight: bold;
        flex-grow: 1;
    }

    /* Hover Effect */
    .panel-menu-item:hover {
        background-color: #0078d4;
    }

        .panel-menu-item:hover a,
        .panel-menu-item:hover i {
            color: #fff;
        }



/* Custom Responsive Text Style */
.responsive-text {
    text-shadow: 0px 0px 30px #ffffff;
    font-size: 20px; /* Default size for very small screens */
    font-weight: bold;
}

@media (min-width: 600px) {
    .responsive-text {
        font-size: 2.5vw; /* Dynamically adjust for medium screens */
    }
}

@media (min-width: 1200px) {
    .responsive-text {
        font-size: 36px; /* Maximum size for large screens */
    }
}


/*Override form field for search bar*/
.custom-form-field .rz-form-field-content {
    margin-top: 0 !important;
}




/*No flex*/

.no-flex {
    display: block !important; /* Or any other layout type you want */
}



/*Table stuff*/
.responsive-table-container {
    width: 100%;
    overflow-x: auto; /* Adds horizontal scroll for small screens */
}

.entity-table {
    width: 100%;
    border-collapse: collapse; /* Ensure table borders look clean */
}

    .entity-table td, .entity-table th {
        padding: 8px;
        text-align: center;
        border: 0px solid #ddd;
    }

@media (max-width: 768px) {
    .entity-table td, .entity-table th {
        font-size: 14px; /* Adjust font size for smaller screens */
    }
}



/*button styles*/

/* Centering the container */
.button-container {
    text-align: center;
 
    margin: 20px;
}

/* General button styling */
button {
    padding: 10px 20px; /* Adjusted padding for better shape */
    font-size: 16px; /* Slightly larger font for readability */
    font-weight: bold; /* Bold text for emphasis */
    color: #fff; /* White text for contrast */
    background-color: #007BFF; /* Flat blue color */
    border: none; /* Removed border for clean look */
    border-radius: 20px; /* Rounded corners for modern feel */
    cursor: pointer; /* Pointer cursor for interactivity */
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

    /* Hover effect */
    button:hover {
        background-color: #0056b3; /* Slightly darker blue on hover */
    }

    /* Disabled button styling */
    button:disabled {
        background-color: #cccccc; /* Light gray background */
        color: #666666; /* Gray text */
        cursor: not-allowed; /* Disabled cursor */
    }

.rz-panel-content-wrapper{
    text-align:justify !important;
}



/*Overide Radzen background image*/
body {
    background-image: none !important;
}

/*User image overlap stuff*/
.responsive-image {
    width: 100px; /* Default size */
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007BFF;
}

/* Adjust image size for smaller screens */
@media (max-width: 768px) {
    .responsive-image {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .responsive-image {
        width: 60px;
        height: 60px;
    }
}


/*Home icons click and Hover effect*/
.no-click {
    pointer-events: none; /* Disable pointer events on the parent */
}

.clickable {
    pointer-events: auto; /* Re-enable pointer events for the clickable elements */
    
}

/* Hover effect for images */
.hover-effect {
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

    .hover-effect:hover {
        transform: scale(1.1); /* Scale up the image slightly */
        opacity: 0.8; /* Reduce opacity slightly */
        text-decoration: underline;
    }

/* Hover effect for text */
.hover-text {
    transition: color 0.3s ease; /* Smooth color change */
}

    .hover-text:hover {
        color: #007BFF; /* Change text color on hover (Bootstrap blue) */
    }


.hover-effectt {
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

    .hover-effectt:hover {
        transform: scale(1.02); /* Scale up the image slightly */
        opacity: 0.9; /* Reduce opacity slightly */
        /*text-decoration: underline;*/
        border-radius: 3px;
    }




/*no padding for search*/
.no-padding-right {
    padding-right: 0px !important; /* Remove padding on the right side */
}
.no-padding-button {
    padding-right: 0px !important; /* Remove right padding */
    margin-right: 0px !important; /* Remove right margin (if any) */
}

.custom-form-field .rz-form-field-end {
    padding-right: 0 !important; /* Remove padding on RadzenFormField's End section */
}


/*Results number growth to show a change was made*/


/* Grow effect for the number */
.results-number-grow {
    animation: number-grow-animation 0.5s ease-in-out;
}

@keyframes number-grow-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
        color: #007bff; /* Optional: Temporary highlight color */
    }

    100% {
        transform: scale(1);
    }
}

/* Glow effect for the number */
.results-number-glow {
    animation: number-glow-animation 0.5s ease-in-out;
}

@keyframes number-glow-animation {
    0% {
        text-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 15px rgba(0, 123, 255, 1);
    }

    100% {
        text-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }
}













/*toogle menu stuff*/
#vector-layers-menu {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    
    border-radius: 4px;
}


/*adaptive feature list stuff*/
@media (max-width: 768px) {
    .map-container,
    #info-panel {
        height: 100%; /* Adjust for smaller screens */
    }

    #info-panel {
        max-height: 100%;
    }
}







/* Default Grid Layout for Larger Screens */
#layout-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 10px;
    height: 800px;
}

/* Breakpoint for Smaller Screens */
@media (max-width: 768px) {
    #layout-container {
        display: flex;
        flex-direction: column;
    }

    .map-container {
        height: 400px; /* Adjust map height for smaller screens */
    }

    #info-panel {
        height: auto;
    }
}




.map-container {
    height: 800px;
}

#info-panel {
    height: 100%; /* Adjust to your padding or margins */
     /* Matches the map-container height */
    overflow-y: auto;
    box-sizing: border-box;
}

#vector-layers-menu {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}


.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #28a745;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}




/*email loading*/
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
    margin-right: 5px;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}





/*
input[type="text"], input[type="checkbox"] {
    background-color: transparent;
    border: none;
    outline: none;
    color: #000;
    position: absolute;

}


.pdf-page-container {
    position: relative;
    width: 100%;
    max-width: 1020px;
    height: auto;
    aspect-ratio: 1020 / 1320;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 30px;
    border: 1px solid #ccc;
    margin: auto;
    transform-origin: top left;
}


.debug-message {
    color: red;
    font-weight: bold;
}

.signature-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.signature-box {
    background-color: var(--rz-card-background-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 800px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
}

.submit-container {
    position: fixed;
    top: 0;
    right: 5px;
    z-index: 999;
    margin: 10px;
}

.highlight {
    border: 1px solid red !important;
}

.signature-canvas {
    background-color: #fff;
    border: 1px solid black;
}

.alert-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--rz-base-background-color);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    z-index: 1000;
    width: 450px;
    display: none;
}

    .alert-box.show {
        display: block;
    }

.alert-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.alert-content {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background: var(--rz-base-background-color);
    text-align: left;
}

.alert-box button {
    margin-top: 10px;
    padding: 5px 10px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.form-header-container {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--rz-body-background-color);
    padding: 10px;
    z-index: 1000;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.scrollable-content {
    margin-top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 10px;
}*/

/* Responsive Adjustments */
/*@media (max-width: 768px) {
    .pdf-page-container {
        width: 100%;
        height: auto;
    }

    .form-header-container {
        flex-direction: column;
        text-align: center;
    }

    .form-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .signature-box {
        width: 90%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .form-actions select,
    .form-actions button {
        width: 100%;
    }
}*/
