.apply-modal-backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.apply-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.apply-modal-content {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.apply-modal-backdrop.active .apply-modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.apply-modal-btn-hover {
    transition: all 0.3s ease;
}
.apply-modal-btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4);
}

/* Typography styles for modal content (since Tailwind resets default HTML) */
.prose {
    color: #374151;
    font-size: 1rem;
    line-height: 1.75;
}
.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}
.prose h1, .prose h2, .prose h3, .prose h4, .prose .wp-block-heading {
    color: #111827;
    font-weight: 800;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}
.prose h1 { font-size: 1.875rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol, .prose .wp-block-list {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-inline-start: 1.625em;
}
.prose ul, .prose ul.wp-block-list {
    list-style-type: disc;
}
.prose ol, .prose ol.wp-block-list {
    list-style-type: decimal;
}
.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.prose strong, .prose b {
    font-weight: 700;
    color: #111827;
}
.prose a {
    color: #0ea5e9;
    text-decoration: underline;
    font-weight: 600;
}
.prose a:hover {
    color: #0284c7;
}
.prose blockquote {
    border-inline-start-width: 4px;
    border-inline-start-color: #e5e7eb;
    font-style: italic;
    color: #4b5563;
    padding-inline-start: 1em;
    margin-top: 1.6em;
    margin-bottom: 1.6em;
}
