.arc-landing,
.arc-download {
    max-width: 600px;
}

.arc-spots     { font-weight: 600; margin-bottom: 12px; }
.arc-spots-low { color: #c94f00; }
.arc-full      { font-weight: 600; }

/* Submit button spinner */
.arc-btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.arc-btn-loading::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    top: 50%;
    left: 50%;
    margin: -7px 0 0 -7px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: arc-spin .6s linear infinite;
}

@keyframes arc-spin {
    to { transform: rotate(360deg); }
}

/* Success overlay */
#arc-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s ease;
}

#arc-success-overlay.arc-visible {
    opacity: 1;
}

#arc-success-modal {
    background: #fff;
    border-radius: 4px;
    padding: 40px;
    max-width: 480px;
    width: calc(100% - 48px);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.arc-email-warning {
    background: #fff8e1;
    border-left: 4px solid #f0a500;
    padding: 10px 14px;
    margin: 0 0 20px;
    font-size: .9rem;
}

/* Error modal */
#arc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#arc-modal {
    background: #fff;
    border-radius: 4px;
    padding: 32px;
    max-width: 420px;
    width: calc(100% - 48px);
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

#arc-modal-message {
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.5;
}

#arc-modal-actions {
    display: flex;
    gap: 12px;
}

/* Let the theme style inputs; just ensure they fill their label container */
.arc-landing input[type="text"],
.arc-landing input[type="email"],
.arc-landing input[type="url"] {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}
