/* Assessment Results Page Styles */

.assessment-results-page {
    background: #e8f5e9;
    min-height: 100vh;
    padding: 2rem 0;
}

.results-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Back Button */
.back-button-wrapper {
    margin-bottom: 2rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #764ba2;
    transform: translateX(-5px);
}

/* Title */
.results-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2rem;
    text-align: left;
}

/* Results Card */
.results-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

.header-icon {
    font-size: 2rem;
    color: #667eea;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

/* Analysis Content */
.analysis-intro {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9ff;
    border-left: 4px solid #667eea;
    border-radius: 4px;
}

.analysis-intro p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

.analysis-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    line-height: 1.8;
    color: #212529;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.analysis-content strong {
    color: #667eea;
    font-weight: 600;
}

.analysis-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.analysis-content li {
    margin-bottom: 0.5rem;
}

/* Email Confirmation */
.email-confirmation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    color: #155724;
}

.email-confirmation i {
    font-size: 1.25rem;
}

/* Action Buttons */
.action-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.btn-get-map {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-get-map:hover {
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

.btn-get-map i {
    font-size: 1.25rem;
}

/* Loading State */
.loading-message {
    text-align: center;
    padding: 3rem;
}

.loading-message p {
    margin-top: 1rem;
    color: #667eea;
    font-weight: 600;
}

/* Error State */
.error-message {
    text-align: center;
    padding: 2rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-message p {
    margin: 0;
    font-weight: 500;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 3rem;
}

.no-results p {
    margin-bottom: 1.5rem;
    color: #6c757d;
    font-size: 1.125rem;
}

.btn-back {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #5568d3;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .assessment-results-page {
        padding: 1rem 0;
    }

    .results-title {
        font-size: 1.5rem;
    }

    .results-card {
        padding: 2rem 1.5rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-header h2 {
        font-size: 1.25rem;
    }

    .analysis-content {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .btn-get-map {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .results-container {
        padding: 0 15px;
    }

    .results-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .results-card {
        padding: 1.5rem 1rem;
    }

    .analysis-intro {
        padding: 0.875rem;
    }

    .analysis-content {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .btn-get-map {
        font-size: 0.95rem;
    }
}
