.empathy-form {
    max-width: 900px;
    margin: 0 auto;
}

.progress-tracker {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.progress-tracker h3 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.progress-count {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
}

.progress-count.complete {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.progress-checkmark {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    font-size: 5rem;
    color: #10b981;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-checkmark.visible {
    opacity: 1;
}

.empathy-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empathy-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.question-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.question-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.question-text {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.question-number {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.2);
    margin-right: 0.5rem;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.question-check {
    font-size: 1.5rem;
    color: #10b981;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: 0.5rem;
}

.question-check.visible {
    opacity: 1;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2.5px solid #7c3aed;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    background: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:hover {
    border-color: #a855f7;
    transform: scale(1.05);
}

.radio-option input[type="radio"]:checked {
    border-color: #7c3aed;
    background: transparent;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7c3aed;
}

.radio-option label {
    font-size: 0.95rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.tips-section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tips-textarea {
    width: 100%;
    min-height: 250px;
    padding: 1rem;
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
}

.tips-textarea:focus {
    outline: none;
    border-color: #7c3aed;
}

.submit-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(124, 58, 237, 0.3);
}

.consent-group {
    margin-bottom: 1.5rem;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.consent-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-item label {
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
}

.email-input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.email-input:focus {
    outline: none;
    border-color: #7c3aed;
}

.manifesto-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.manifesto-content h1,
.manifesto-content h2 {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.manifesto-content h1 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
}

.manifesto-content h2 {
    font-size: 1.5rem;
    color: #7c3aed;
}

.manifesto-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.manifesto-content ul,
.manifesto-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.manifesto-content li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.manifesto-content strong {
    color: #fff;
}

.scale-legend {
    background: rgba(124, 58, 237, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.scale-legend-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.scale-legend-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 2.5px solid #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #7c3aed;
    flex-shrink: 0;
}

.scale-legend-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.scale-option {
    font-size: 0.9rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
}

.scale-option strong {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 0.25rem;
    font-weight: 600;
}

/* TIPS Legend Styles */
.tips-legend {
    background: rgba(124, 58, 237, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 0 auto 2rem;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.tips-legend-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.tips-legend-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 2.5px solid #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #7c3aed;
    flex-shrink: 0;
}

.tips-legend-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.tips-option {
    font-size: 0.9rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.tips-option-title {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tips-option-body {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 5rem auto 3rem;
    max-width: 800px;
    padding: 0 1rem;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.workflow-step:hover .workflow-step-circle {
    transform: scale(1.05);
    border-color: #7c3aed;
}

.workflow-step:hover .workflow-step-label {
    color: #fff;
}

.workflow-step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.workflow-step-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 110px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.workflow-step-connector {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
    margin-top: 23px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

/* Active state - current step */
.workflow-step.active .workflow-step-circle {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-color: #7c3aed;
    color: #fff;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    transform: scale(1.1);
}

.workflow-step.active .workflow-step-label {
    color: #fff;
    font-weight: 600;
}

/* Completed state - checkmark */
.workflow-step.completed .workflow-step-circle {
    background: #10b981;
    border-color: #10b981;
    color: transparent;
    position: relative;
}

.workflow-step.completed .workflow-step-circle::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #fff;
}

.workflow-step.completed .workflow-step-label {
    color: rgba(255, 255, 255, 0.8);
}

.workflow-step.completed+.workflow-step-connector {
    background: #10b981;
}

/* Mobile (Tablet and smaller) responsive */
@media (max-width: 768px) {
    .workflow-steps {
        transform: scale(0.85);
        margin: 1.5rem auto 1rem;
    }

    .workflow-step-circle {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .workflow-step-connector {
        width: 40px;
    }

    .workflow-step-label {
        font-size: 0.75rem;
        max-width: 90px;
    }

    .radio-group {
        gap: 2rem;
    }

    .radio-option input[type="radio"] {
        width: 32px;
        height: 32px;
        border-width: 3px;
    }

    .radio-option label {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .radio-option input[type="radio"]:checked::after {
        width: 16px;
        height: 16px;
    }

    .scale-legend-options {
        grid-template-columns: 1fr;
    }

    .tips-legend-options {
        grid-template-columns: 1fr;
    }

    .scale-legend-header {
        font-size: 0.95rem;
    }

    .progress-tracker {
        padding: 1.5rem;
    }

    .progress-tracker {
        padding: 1.5rem;
    }

    .progress-count {
        font-size: 1.75rem;
    }

    .progress-count.complete {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }

    .progress-checkmark {
        font-size: 2.5rem;
        right: 1rem;
    }
}

/* Mobile Adjustments for very small displays */
@media (max-width: 650px) {
    #empathy-test .radio-group {
        gap: 0.1em;
    }

    #empathy-test .radio-option {
        gap: 0.1em;
        font-size: 4vw;
    }

    #empathy-test .radio-option input[type="radio"] {
        width: 2em;
        height: 2em;
        border-width: 3px;
    }

    #empathy-test .radio-option label {
        font-size: 0.7em;
        padding: 0.5em;
    }

    #empathy-test .radio-option input[type="radio"]:checked::after {
        width: 1em;
        height: 1em;
    }
}

/* Success Banner */
.success-banner {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    max-width: 600px;
    width: 90%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.success-banner.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.success-banner-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.success-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2.5px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.success-banner-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
}

.success-banner-message {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 3rem;
}

/* Validation Modal */
.validation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.validation-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.validation-modal-content {
    background: var(--bg-section);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.validation-modal.show .validation-modal-content {
    transform: scale(1);
}

.validation-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.validation-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 2.5px solid #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ef4444;
    flex-shrink: 0;
}

.validation-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ef4444;
}

.validation-modal-message {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.validation-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.validation-modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.validation-modal-btn-primary {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
}

.validation-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

/* Character Counter */
.char-counter-container {
    position: relative;
}

.char-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.char-counter-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.char-counter-check {
    font-size: 1.25rem;
    color: #10b981;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.char-counter-check.visible {
    opacity: 1;
}

.char-count {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.char-count.complete {
    color: #10b981;
}

@media (max-width: 640px) {
    .success-banner {
        padding: 1.25rem;
    }

    .success-banner-message {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .validation-modal-content {
        padding: 1.5rem;
    }
}