.spoc-card {
    max-width: 480px;
    margin: 20px auto;
    padding: 24px 20px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.spoc-title {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 600;
}

.spoc-sub {
    margin: 0 0 16px;
    color: #555;
    font-size: 0.95rem;
}

.spoc-field {
    margin-bottom: 14px;
}

.spoc-field label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-weight: 500;
}

.spoc-input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.spoc-input:focus {
    outline: none;
    border-color: #006bb3;
    box-shadow: 0 0 0 1px rgba(0,107,179,0.2);
}

.spoc-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #006bb3;
    color: #fff;
    border-radius: 4px;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
}

.spoc-btn:hover {
    background: #005a96;
}

.spoc-btn-secondary {
    background: #777;
}

.spoc-btn-secondary:hover {
    background: #666;
}

.spoc-link {
    font-size: 0.9rem;
    color: #006bb3;
}

.spoc-message {
    margin-top: 10px;
    font-size: 0.9rem;
}

.spoc-message-error {
    color: #b00020;
}

.spoc-message-success {
    color: #1b5e20;
}

.spoc-message-info {
    color: #004c8c;
}

/* CAPTCHA layout */
.spoc-captcha {
    display: flex;
    gap: 8px;
    align-items: center;
}

.spoc-captcha-question {
    font-weight: 600;
}

/* SPINNER overlay */
.spoc-spinner {
    position: absolute;
    inset: 0;
    z-index: 20;
}

.spoc-spinner-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
}

.spoc-spinner-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
}

.spoc-spinner-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #ccc;
    border-top-color: #006bb3;
    animation: spoc-rotate 0.8s linear infinite;
    margin-bottom: 8px;
}

.spoc-spinner-text {
    font-size: 0.9rem;
    color: #333;
}

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