/*=========================================================
GERMAINE — APPLY PAGE BOTTOM NOTICE
Bottom-anchored notification for apply.html. Sits clear of
the WhatsApp floating button and never covers the form:
it is a short bar at the very bottom, dismissible, and
animates with transform/opacity only (no layout work).
=========================================================*/

.gti-apply-notice {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 900;                 /* below modals/search overlay, above page content */
    width: min(560px, calc(100vw - 32px));
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 46px 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(16, 42, 92, .28);
    transform: translate(-50%, calc(100% + 40px));
    opacity: 0;
    pointer-events: none;
    transition: transform .38s cubic-bezier(.22,.61,.36,1), opacity .38s ease;
    will-change: transform;
}

.gti-apply-notice.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.gti-apply-notice .gan-icon {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    font-size: 1rem;
}

.gti-apply-notice .gan-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.gti-apply-notice .gan-title { font-size: .95rem; font-weight: 700; }
.gti-apply-notice .gan-body  { font-size: .82rem; opacity: .93; }

.gti-apply-notice .gan-cta {
    flex: 0 0 auto;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    color: #9333ea;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.gti-apply-notice .gan-cta:hover { background: #fdf2f8; }
.gti-apply-notice .gan-cta[hidden] { display: none; }

.gti-apply-notice .gan-close {
    position: absolute;
    top: 8px; right: 10px;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: .75rem;
    cursor: pointer;
    transition: background .2s ease;
}
.gti-apply-notice .gan-close:hover { background: rgba(255,255,255,.34); }
.gti-apply-notice .gan-close:focus-visible,
.gti-apply-notice .gan-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Tablet / mobile: sit above the floating WhatsApp button and stack the CTA */
@media (max-width: 768px) {
    .gti-apply-notice {
        bottom: 96px;
        width: calc(100vw - 24px);
        padding: 12px 42px 12px 14px;
        gap: 11px;
    }
    .gti-apply-notice .gan-title { font-size: .88rem; }
    .gti-apply-notice .gan-body  { font-size: .76rem; }
    .gti-apply-notice .gan-cta   { padding: 8px 13px; font-size: .76rem; }
}

@media (max-width: 430px) {
    .gti-apply-notice { flex-wrap: wrap; }
    .gti-apply-notice .gan-cta { width: 100%; text-align: center; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .gti-apply-notice { transition: opacity .2s ease; transform: translate(-50%, 0); }
    .gti-apply-notice:not(.is-visible) { opacity: 0; }
}
