@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Montserrat', Arial, sans-serif !important;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: auto;    
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.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;
}
.text-zac {
    color: #d49943;
}
.bg-zac {
    background-color: #d49943;
}
.border-zac {
    border-color: #d49943 !important;
}
.text-bg-red {
    background-color: firebrick;
    color:white;
    font-weight:700;
}
#map {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
}
.hover-warning:hover {
    color: var(--bs-warning) !important; /* Uses Bootstrap 5.3's built-in warning color */
}

 

a,
a:hover,
a:active,
a:visited,
a:focus {
     
    text-decoration: none;
    outline: 0;
}

a {
    transition: all .3s ease;
}

.text-border {
    color: #fff;
    text-shadow: -1px -1px 0 #000, /* Top-left */
    1px -1px 0 #000, /* Top-right */
    -1px 1px 0 #000, /* Bottom-left */
    1px 1px 0 #000; /* Bottom-right */
}

/* Individual letter animation */
.spin-in {
    display: inline-block;
    opacity: 0;
    transform: rotate(360deg) scale(0.5);
    animation: spinIn 0.8s ease forwards;
}

/* Keyframes for spinning and glowing */
@keyframes spinIn {
    0% {
        opacity: 0;
        transform: rotate(360deg) scale(0.5);
        
    }

    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}


.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1s ease-in forwards;
}

@keyframes fadeInAnimation {
    to {
        opacity: 1;
    }
}

.article-body p {
    margin: 0  ;
    padding: 0 ;
}

a {
    color: inherit !important;
    text-decoration: underline;
    font-weight: 700;
}

    a:hover {
        color: #d49943 !important;
        text-decoration: underline;
    }

    /* Indentation */
.ql-indent-1 { margin-left: 3em !important; }
.ql-indent-2 { margin-left: 6em !important; }
.ql-indent-3 { margin-left: 9em !important; }
.ql-indent-4 { margin-left: 12em !important; }
.ql-indent-5 { margin-left: 15em !important; }
.ql-indent-6 { margin-left: 18em !important; }
.ql-indent-7 { margin-left: 21em !important; }
.ql-indent-8 { margin-left: 24em !important; }

/* Text alignment */
.ql-align-center { text-align: center !important; }
.ql-align-right { text-align: right !important; }
.ql-align-justify { text-align: justify !important; }

/* RTL support */
.ql-direction-rtl { direction: rtl !important; text-align: right !important; }

/* Text colors */
.ql-color-white { color: #ffffff !important; }
.ql-color-black { color: #000000 !important; }
.ql-color-red { color: #e60000 !important; }
.ql-color-orange { color: #ff9900 !important; }
.ql-color-yellow { color: #ffff00 !important; }
.ql-color-green { color: #008a00 !important; }
.ql-color-blue { color: #0066cc !important; }
.ql-color-purple { color: #9900ff !important; }
.ql-color-pink { color: #ff66cc !important; }
.ql-color-brown { color: #a52a2a !important; }
.ql-color-gray { color: #808080 !important; }

/* Background colors */
.ql-bg-white { background-color: #ffffff !important; }
.ql-bg-black { background-color: #000000 !important; }
.ql-bg-red { background-color: #e60000 !important; }
.ql-bg-orange { background-color: #ff9900 !important; }
.ql-bg-yellow { background-color: #ffff00 !important; }
.ql-bg-green { background-color: #008a00 !important; }
.ql-bg-blue { background-color: #0066cc !important; }
.ql-bg-purple { background-color: #9900ff !important; }
.ql-bg-pink { background-color: #ff66cc !important; }
.ql-bg-brown { background-color: #a52a2a !important; }
.ql-bg-gray { background-color: #808080 !important; }


.custom-drop-zone {
    padding: 0 !important;
    border-style: dashed;
    border-width: 2px !important;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(183, 183, 183, 0.1);
}

    .custom-drop-zone.custom-drop-zone-hover {
        border-style: solid;
    }

    .custom-drop-zone svg {
        width: 42px;
        height: 42px;
    }

    .custom-drop-zone > *:not(#overviewDemoSelectButton) {
        pointer-events: none;
    }

.tooltip-inner {
    background-color: #ff0000 !important; /* Bootstrap "danger" red */
    color: #fff !important; /* white text */
    font-weight: 600; /* optional: make text bolder */
    padding: 8px 12px; /* optional: more padding */
    border-radius: 6px; /* optional: rounded corners */
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #ff0000 !important;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #ff0000 !important;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #ff0000 !important;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #dc3545 !important;
}
