/* /try — demo entry (QR + link), aligned with guest/organizer share patterns */

.page-loading-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #166534 0%, #22c55e 50%, #16a34a 100%); transition: opacity 0.35s ease, visibility 0.35s ease; }
.page-loading-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loading-overlay .loader-content { text-align: center; padding: 1.5rem; }
.page-loading-overlay .loader-spinner { width: clamp(40px, 10vw, 56px); height: clamp(40px, 10vw, 56px); border: 4px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: try-spin 0.9s linear infinite; margin: 0 auto 1rem; }
.page-loading-overlay .loader-text { color: rgba(255,255,255,0.95); font-size: clamp(0.875rem, 2.5vw, 1rem); font-weight: 500; }
@keyframes try-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.try-home-link { color: inherit; text-decoration: none; }

/* Match event/demo: fixed header clears via --header-h (set in try.js). Extra top gap below header. */
.container.try-container {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
}

.try-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    padding: 1.25rem 1rem 1.5rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.try-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #050505;
    margin-bottom: 0.35rem;
}

.try-section-desc {
    font-size: 0.9375rem;
    color: #65676b;
    margin: 0 0 1.25rem;
    line-height: 1.45;
}

.qr-display {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.qr-code-wrapper {
    flex-shrink: 0;
}

.qr-code-image {
    width: 200px;
    height: 200px;
    border: 2px solid #e4e6eb;
    border-radius: 12px;
    padding: 1rem;
    background: white;
    display: block;
}

.qr-info {
    flex: 1;
    min-width: min(100%, 260px);
}

.qr-url-group .form-label {
    display: block;
    margin-bottom: 0.35rem;
}

.url-display {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.url-input {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
}

.btn-copy {
    flex-shrink: 0;
    white-space: nowrap;
}

.try-cta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e4e6eb;
    text-align: center;
}

.try-continue-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: min(100%, 280px);
}

.try-cta-note {
    margin: 0.75rem 0 0;
    font-size: 0.8125rem;
    color: #9ca3af;
    line-height: 1.4;
}

.try-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--border-light, #e4e6eb);
    background: var(--bg-page, #fafdfb);
}

body.has-event-footer .container {
    padding-bottom: 4rem;
}

@media (max-width: 520px) {
    .qr-display {
        flex-direction: column;
        align-items: center;
    }
    .qr-info {
        width: 100%;
    }
    .url-display {
        flex-direction: column;
    }
    .btn-copy {
        width: 100%;
    }
}
