/* ==========================================================================
   ALPHENA — SENTIMENT PARTICIPATION
   ========================================================================== */

.sentiment-auth-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(440px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow-y: auto;
    background: #15191d;
    border: 1px solid #343c43;
    border-radius: 10px;
    color: #edf0f2;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.sentiment-auth-modal::backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.participation-modal-content {
    padding: 24px;
}

.participation-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.participation-brand {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1.4px;
}

.participation-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #89939c;
    font-size: 24px;
    cursor: pointer;
}

.participation-close:hover {
    background: #252c32;
    color: #edf0f2;
}

#participation-modal-title {
    margin-bottom: 10px;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.participation-description {
    margin-bottom: 20px;
    color: #a2aab2;
    font-size: 13px;
    line-height: 1.6;
}

.participation-selection {
    padding: 16px;
    margin-bottom: 20px;
    background: #0d1012;
    border: 1px solid #292f35;
    border-radius: 6px;
}

.participation-label {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.8px;
    color: #89939c;
}

#participation-question {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.participation-answer {
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
}

.participation-answer-yes {
    background: rgba(44, 197, 160, 0.1);
    border: 1px solid rgba(44, 197, 160, 0.25);
    color: #2cc5a0;
}

.participation-answer-no {
    background: rgba(229, 115, 120, 0.1);
    border: 1px solid rgba(229, 115, 120, 0.25);
    color: #e57378;
}

#participation-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.participation-primary-button,
.participation-secondary-button {
    width: 100%;
    min-height: 42px;
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.participation-primary-button {
    background: #2cc5a0;
    border: 1px solid #2cc5a0;
    color: #0d1012;
}

.participation-primary-button:hover {
    background: #48d4b2;
}

.participation-secondary-button {
    background: #1b2025;
    border: 1px solid #343c43;
    color: #edf0f2;
}

.participation-secondary-button:hover {
    background: #252c32;
}

#participation-modal-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#participation-modal-message {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #a2aab2;
}

#participation-modal-message:empty {
    display: none;
}

.participation-message-error {
    color: #e57378 !important;
}

.participation-message-success {
    color: #2cc5a0 !important;
}

.participation-disclosure {
    margin-top: 20px;
    color: #89939c;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 480px) {

    .participation-modal-content {
        padding: 18px;
    }

}

/* ==========================================================================
   PARTICIPATION CONSENT
   ========================================================================== */

.participation-consent {
    padding: 14px;
    margin-bottom: 16px;
    background: #0d1012;
    border: 1px solid #292f35;
    border-radius: 6px;
}

.participation-consent[hidden],
.participation-privacy-link[hidden],
#participation-context[hidden] {
    display: none !important;
}

.participation-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #a2aab2;
    font-size: 12px;
    line-height: 1.6;
    cursor: pointer;
}

.participation-consent-label input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #2cc5a0;
    cursor: pointer;
}

.participation-privacy-link {
    display: inline-block;
    margin-top: 10px;
    margin-left: 26px;
    color: #2cc5a0;
    font-size: 11px;
    text-decoration: underline;
}

#participation-context {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.6;
}

.participation-close:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}