/* Kitty Kissed Photography - Client gallery invites */

.gallery-invite-open-button {
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
}

.gallery-invite-modal[hidden] {
    display: none;
}

.gallery-invite-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: clamp(16px, 3vw, 36px);
    background: rgba(5, 5, 7, 0.84);
    backdrop-filter: blur(10px);
}

.gallery-invite-panel {
    display: grid;
    gap: 16px;
    width: min(100%, 560px);
    max-height: 92vh;
    overflow: auto;
    padding: clamp(18px, 3vw, 26px);
    border-radius: 28px;
    background: rgba(26, 26, 29, 0.97);
    border: 1px solid rgba(247, 180, 210, 0.20);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.gallery-invite-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.gallery-invite-topbar h2 {
    margin: 0;
    color: #F5F5F5;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.gallery-invite-status {
    padding: 12px 14px;
    border-radius: 16px;
    color: #F5F5F5;
    background: rgba(10, 10, 12, 0.48);
    border: 1px solid rgba(247, 180, 210, 0.14);
    font-size: 0.9rem;
    line-height: 1.45;
}

.gallery-invite-status[data-status-type="success"] {
    color: #DFFFE3;
    border-color: rgba(122, 255, 144, 0.24);
    background: rgba(63, 154, 78, 0.14);
}

.gallery-invite-status[data-status-type="error"] {
    color: #FFEAEA;
    border-color: rgba(255, 112, 112, 0.28);
    background: rgba(255, 112, 112, 0.14);
}

.gallery-invite-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.gallery-invite-actions .btn-secondary,
.gallery-invite-actions .btn-primary {
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
}

.gallery-invite-actions button:disabled {
    opacity: 0.65;
    cursor: wait;
}

@media (max-width: 760px) {
    .gallery-invite-modal {
        padding: 10px;
    }

    .gallery-invite-panel {
        border-radius: 22px;
    }

    .gallery-invite-topbar {
        align-items: flex-start;
    }

    .gallery-invite-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-invite-actions .btn-secondary,
    .gallery-invite-actions .btn-primary {
        width: 100%;
    }
}