/* Finished Pages Styles - for funnel completion, results, and status pages */

/* Finished Page Styles */
.finished-content {
    text-align: center;
    width: 100%;
}

.success-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background: #F0FDF4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #32D583;
}

.success-checkmark {
    width: 40px;
    height: 40px;
    color: #32D583;
}

.finished-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-gray-900);
}

.finished-subtitle {
    color: var(--color-gray-600);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
}

.completion-stats {
    background: var(--color-gray-100);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-item:last-child .stat-number {
    color: var(--color-success);
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray-600);
}

.participant-info {
    background: #EFF6FF;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid #BFDBFE;
}

.participant-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-gray-900);
}

.participant-message {
    color: var(--color-gray-600);
    font-size: 14px;
    line-height: 1.4;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    align-items: center;
    width: 100%;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 40px;
}

.primary-btn {
    background: var(--color-primary);
    color: white;
}

.primary-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(127, 86, 217, 0.3);
}

.secondary-btn {
    background: var(--color-gray-200);
    color: var(--color-gray-800);
}

.secondary-btn:hover {
    background: var(--color-gray-300);
}

.outline-btn {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.outline-btn:hover {
    background: var(--color-primary);
    color: white;
}

.funnel-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
}

.funnel-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-gray-900);
}

.funnel-description {
    color: var(--color-gray-600);
    font-size: 14px;
    line-height: 1.4;
}

/* Result Page Styles */
.result-content {
    width: 100%;
}

.result-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.result-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-gray-900);
    text-align: center;
}

.result-subtitle {
    color: var(--color-gray-600);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.participant-email {
    color: var(--color-gray-600);
    margin-bottom: 4px;
}

.participant-date {
    font-size: 14px;
    color: var(--color-gray-500);
}

.responses-section {
    margin-bottom: 24px;
}

.responses-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--color-gray-900);
    text-align: left;
}

.response-card {
    background: var(--color-gray-100);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    text-align: left;
}

.response-step-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-gray-900);
}

.response-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.response-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-label {
    font-weight: 500;
    color: var(--color-gray-700);
    font-size: 14px;
}

.field-value {
    color: var(--color-gray-600);
    font-size: 14px;
    padding-left: 8px;
}

.no-response {
    color: var(--color-gray-500);
    font-style: italic;
    font-size: 14px;
}

.response-time {
    font-size: 12px;
    color: var(--color-gray-400);
    margin-top: 8px;
}

.no-responses {
    background: var(--color-gray-100);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.no-responses p {
    color: var(--color-gray-500);
}

/* Profile Data Display Styles */
.profile-data-display {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
    border: 1px solid var(--color-gray-200);
}

.profile-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-align: center;
}

.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--color-gray-50);
    border-radius: 8px;
}

.score-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.score-label {
    font-size: 14px;
    color: var(--color-gray-600);
    font-weight: 500;
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 8px;
    text-align: center;
}

.info-description {
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.4;
    margin-bottom: 16px;
    text-align: center;
}

.motivation-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.motivation-item {
    background: var(--color-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.chart-data {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-200);
}

.chart-data h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 12px;
    text-align: center;
}

.chart-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--color-gray-50);
    border-radius: 6px;
    font-size: 14px;
}

.chart-category {
    font-weight: 600;
    color: var(--color-gray-900);
    min-width: 80px;
}

.chart-label {
    color: var(--color-gray-600);
    flex: 1;
    text-align: center;
}

.chart-percentage {
    font-weight: 600;
    color: var(--color-primary);
    min-width: 50px;
    text-align: right;
}

/* Completed Status Page Styles */
.completed-status-content {
    text-align: center;
    width: 100%;
}

.status-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.status-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-gray-900);
}

.status-subtitle {
    color: var(--color-gray-600);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
}

.completion-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    background: var(--color-gray-100);
    border-radius: 12px;
    padding: 20px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray-600);
}

.stat-divider {
    font-size: 16px;
    color: var(--color-gray-500);
    font-weight: 500;
}

.status-actions {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.actions-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--color-gray-900);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 40px;
}

.additional-info {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.info-card {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.info-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-gray-900);
}

.info-card p {
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.4;
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-gray-900);
}

.modal-content p {
    color: var(--color-gray-600);
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Responsive Design for Desktop */
@media (min-width: 992px) {
    .finished-content,
    .result-content,
    .completed-status-content {
        width: 100%;
        max-width: 100%;
    }
    
    .result-card {
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    
    .completion-stats {
        max-width: 100%;
    }
    
    .stats-grid {
        max-width: 100%;
    }
    
    .action-buttons {
        max-width: 100%;
        align-items: center;
    }
    
    .action-btn {
        max-width: 280px;
        min-height: 40px;
    }
    
    .additional-info {
        align-items: center;
    }
    
    .info-card {
        max-width: 100%;
    }
    
    .profile-data-display {
        max-width: 100%;
    }
    
    .chart-items {
        max-width: 100%;
    }
}

/* Responsive Design for Mobile */
@media (max-width: 480px) {
    .finished-title,
    .result-title,
    .status-title {
        font-size: 20px;
    }
    
    .completion-stats {
        padding: 20px;
    }
    
    .stats-grid {
        gap: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .result-card {
        padding: 20px;
    }
    
    .response-card {
        padding: 12px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .action-btn {
        max-width: 100%;
    }
    
    .score-number {
        font-size: 28px;
    }
    
    .chart-item {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .chart-category,
    .chart-label,
    .chart-percentage {
        min-width: auto;
        text-align: center;
    }
} 