/* Dialog styles */
.consult-modal {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 14px;
    transform: translateY(20px);
    opacity: 0;
}

.consult-close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
}

.consult-visual {
    background: url('/img/background_dialog.jpg') center/cover no-repeat;
    min-height: 360px;
}

#consultForm .form-control {
    border-radius: 10px;
}

/* Glassmorphism for form to let background show through */
.consult-form-pane {
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Dialog animation */
@keyframes consultIn {
    0% { transform: translateY(24px) scale(.98); opacity: 0; }
    60% { transform: translateY(-4px) scale(1); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

.consult-modal.animate {
    animation: consultIn .5s cubic-bezier(.2,.8,.2,1) forwards;
}