/**
 * XYZ Age Verification — Age Gate Styles
 *
 * @package XYZ_Age_Verify
 * @since 2.2.0
 */

.xyz-av-gate {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.xyz-av-gate h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.xyz-av-gate .subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
}

.xyz-av-gate .tier-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #0369a1;
}

.xyz-av-qr {
    margin: 24px 0;
    text-align: center;
}

.xyz-av-qr canvas {

    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: white;
}

.xyz-av-qr p {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

.xyz-av-qrcode {
	display:inline-block;
}

.xyz-av-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 13px;
}

.xyz-av-divider::before,
.xyz-av-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.xyz-av-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s;
    cursor: pointer;
    border: none;
}

.xyz-av-btn:hover {
    background: #1d4ed8;
    color: white;
}

.xyz-av-btn:visited {
    color: white;
}

.xyz-av-status {
    margin-top: 24px;
    padding: 16px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: none;
}

.xyz-av-status .status-text {
    font-size: 14px;
    color: #374151;
}

.xyz-av-status .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: xyz-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes xyz-spin {
    to { transform: rotate(360deg); }
}

.xyz-av-approved {
    color: #059669 !important;
    font-weight: 600;
}

.xyz-av-note {
    margin-top: 16px;
    font-size: 12px;
    color: #9ca3af;
}
