﻿*, *:focus, *:hover {
    outline: none;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(https://fonts.gstatic.com/s/materialicons/v92/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

#notificationList {
    max-height: 60vh;
    overflow-y: auto;
}

#title {
    opacity: 0;
}
.ql-container {
    height: unset;
}
.alert {
    display: none;
}

.chat-toggle {
    margin: .652rem .652rem;
    padding: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border-radius: 50%
}

.modal {
    z-index: 2000;
}

.modal-backdrop {
	z-index: 1999;
	opacity: 0.6 !important;
}

.dropzone .dz-default {
    padding: 1rem;
    font-size: 90%;
}

.field-validation-error {
	font-size: 80%;
}

.loader {
    border: 8px solid #cccccc; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 4px auto;
}

.loader-small {
    border: 3px solid #cccccc; /* Light grey */
    border-top: 3px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 2s linear infinite;
    margin: 4px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 480px) {
    .alertContainer {
        padding-left: 70px;
    }
}

@media (max-width: 480px) {
    .alertContainer{
        padding-left: 0px;
    }
}

@media (max-width: 480px) {
    .w-sm-100 {
        width: 100% !important;
    }
}

.quill-contents {
    font-weight: normal;
}

    .quill-contents p, .ql-editor p, .ql-editor ol, .ql-editor ul {
        margin-bottom: .5em;
    }

.ql-html-buttonGroup button {
    background-color: var(--blue);
    border-radius: 4px;
    border-style: none;
    box-sizing: border-box;
    color: var(--white);
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    list-style: none;
    margin: 6px 2px;
    outline: none;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .ql-html-buttonGroup button:hover,
    .ql-html-buttonGroup button:focus {
        background-color: var(--gray);
    }

.font-size-90 {
    font-size: 90% !important;
}

.font-size-80 {
    font-size: 80% !important;
}

.font-size-70 {
    font-size: 70% !important;
}

.popover {
    font-size: .9em;
}

.card-accent {
    box-shadow: inset 0 4px 0 0 #007cc5;
    border-radius: .625rem;
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fadeInOut {
    animation: fade 3s infinite 0s;
}


@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}

.leaflet-control-container .leaflet-control-attribution a[href="https://leafletjs.com"] {
    display: none !important;
}

.dz-button {
    border: none;
    background: none;
    color: var(--gray);
}

.bg-blue {
    background-color: var(--blue);
    color: var(--white);
}

.bg-red {
    background-color: var(--red);
    color: var(--white);
}

.bg-red-dark {
    background-color: var(--red-dark);
    color: var(--white);
}

.bg-yellow {
    background-color: var(--yellow);
    color: var(--dark);
}

.bg-yellow-dark {
    background-color: var(--yellow-dark);
    color: var(--white);
}

.bg-green {
    background-color: var(--green);
    color: var(--white);
}

.bg-green-dark {
    background-color: var(--green-dark);
    color: var(--white);
}

.bg-teal {
    background-color: var(--teal);
    color: var(--white);
}

.bg-teal-dark {
    background-color: var(--teal-dark);
    color: var(--white);
}

.bg-gray {
    background-color: var(--gray);
    color: var(--white);
}

.bg-gray-dark {
    background-color: var(--gray-dark);
    color: var(--white);
}

.bg-gray-light {
    background-color: var(--gray-light);
    color: var(--dark);
}

.bg-indigo {
    background-color: var(--indigo);
    color: var(--white);
}

.bg-purple {
    background-color: var(--purple);
    color: var(--white);
}

.bg-pink {
    background-color: var(--pink);
    color: var(--white);
}

.bg-orange {
    background-color: var(--orange);
    color: var(--white);
}

.bg-cyan {
    background-color: var(--cyan);
    color: var(--white);
}

/* AI Button Styling */
.magical-button {
    background: linear-gradient(135deg, #80BEE2, #007CC5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(128, 190, 226, 0.5), 0 0 20px rgba(0, 124, 197, 0.3);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

    .magical-button i {
        margin-right: 6px;
    }

    .magical-button::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 80%);
        animation: sparkle 2.5s linear infinite;
        pointer-events: none;
    }

    .magical-button:hover {
        box-shadow: 0 0 15px rgba(128, 190, 226, 0.7), 0 0 30px rgba(0, 124, 197, 0.6);
        transform: scale(1.05);
    }

.btn.magical-button:focus, .btn.magical-button:active {
    background: linear-gradient(135deg, #007CC5, #0056A8) !important;
    box-shadow: 0 0 5px rgba(0, 124, 197, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.2) !important;
    color: white !important;
    outline: none !important;
}

@keyframes sparkle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.ql-toolbar button[title="Show HTML source"] {
    color: #858EA1 !important;
}

.datepicker {
    z-index: 9999 !important;
}

/* Orchard Forms Bootstrap styling */

.widget-body {
    font-weight: normal;
}

/* space above the submit widget across Orchard forms */
.form-content .widget.widget-button {
    margin-top: 1.25rem; /* ~20px */
}

/* Reduce space between label and input */
.form-content .form-label {
    margin-bottom: 0.25rem; /* default is usually .5rem */
}

/* Increase space between input blocks */
.form-content .widget-input {
    margin-bottom: 0.75rem; /* add vertical gap between each field */
}

/* make validation messages red & smaller */
.field-validation-error {
    color: var(--danger);
}

/* valid span stays hidden */
.field-validation-valid {
    display: none;
}

/* highlight invalid inputs */
input.input-validation-error,
textarea.input-validation-error,
select.input-validation-error {
    border-color: var(--danger);
}

    input.input-validation-error:focus,
    textarea.input-validation-error:focus,
    select.input-validation-error:focus {
        border-color: var(--danger);
        box-shadow: 0 0 0 .25rem rgba(220,53,69,.25);
    }