/* Mentor Matching UI Styles */

/* 1. Mentor Recommendation Entry Screen */
.mentor-entry-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.mentor-entry-content {
    text-align: center;
    max-width: 600px;
}

.mentor-entry-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.mentor-entry-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.mentor-entry-subtext {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.mentor-entry-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

/* 2. Mentor Recommendations List Screen */
.mentor-recommendations-screen {
    padding: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.mentors-matching-container {
    margin-top: 32px;
}

.mentor-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mentor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.mentor-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 16px;
}

.mentor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #EC4899 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 700;
    flex-shrink: 0;
}

.mentor-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.mentor-card-info {
    flex: 1;
}

.mentor-card-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.mentor-card-name {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #D1FAE5;
    color: #059669;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.verification-badge::before {
    content: "✓";
    font-weight: 700;
}

.mentor-label-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #EDE9FE;
    color: #6A5DFF;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.mentor-expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.expertise-tag {
    padding: 6px 12px;
    background: #F3F4F6;
    color: #374151;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.mentor-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rating-stars {
    color: #FBBF24;
    font-size: 16px;
}

.rating-count {
    color: #6B7280;
    font-size: 14px;
}

.mentor-bio {
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.mentor-recommendation-reason {
    padding: 12px;
    background: #F0F9FF;
    border-left: 4px solid #3B82F6;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #1E40AF;
}

.mentor-card-actions {
    display: flex;
    gap: 12px;
}

.btn-mentor-primary {
    flex: 1;
    padding: 12px 24px;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #EC4899 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-mentor-primary:hover {
    opacity: 0.9;
}

.btn-mentor-secondary {
    padding: 12px 24px;
    background: white;
    color: #6A5DFF;
    border: 2px solid #6A5DFF;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-mentor-secondary:hover {
    background: #F3F4F6;
}

.btn-text-link {
    background: none;
    border: none;
    color: #6A5DFF;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    text-decoration: underline;
}

.btn-text-link:hover {
    color: #554AD8;
}

.request-helper-text {
    font-size: 14px;
    color: #6B7280;
    margin-top: 8px;
    line-height: 1.5;
}

.report-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.report-option-btn {
    width: 100%;
    padding: 14px 16px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.report-option-btn:hover {
    border-color: #6A5DFF;
    background: #F9FAFB;
}

/* 3. Mentor Profile Screen */
.mentor-profile-screen {
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.mentor-profile-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E5E7EB;
}

.mentor-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #EC4899 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.mentor-profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.mentor-profile-headline {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 16px;
}

.mentor-profile-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mentor-profile-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.mentor-profile-bio {
    color: #374151;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.mentor-support-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.support-area {
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
    border-left: 4px solid #6A5DFF;
}

.support-area-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.support-area-desc {
    font-size: 14px;
    color: #6B7280;
}

.mentor-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.mentor-stat {
    text-align: center;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
}

.mentor-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.mentor-stat-label {
    font-size: 13px;
    color: #6B7280;
}

.mentor-profile-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* 4. Request Introduction Screen */
.mentor-request-screen {
    padding: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.mentor-request-header {
    text-align: center;
    margin-bottom: 32px;
}

.mentor-request-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.context-summary {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.context-summary-item {
    display: flex;
    margin-bottom: 12px;
}

.context-summary-item:last-child {
    margin-bottom: 0;
}

.context-label {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
}

.context-value {
    color: #6B7280;
}

.message-box {
    margin-bottom: 24px;
}

.message-box label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.message-box textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
}

.message-box textarea:focus {
    outline: none;
    border-color: #6A5DFF;
}

.mentor-request-actions {
    display: flex;
    gap: 12px;
}

/* 5. Request Sent / Pending Screen */
.mentor-request-sent-screen {
    padding: 24px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.request-sent-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.request-sent-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.request-sent-message {
    font-size: 16px;
    color: #6B7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #FEF3C7;
    color: #92400E;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 32px;
}

.status-indicator.accepted {
    background: #D1FAE5;
    color: #059669;
}

.status-indicator.declined {
    background: #FEE2E2;
    color: #DC2626;
}

/* 6. Mentor Conversation Screen */
.mentor-conversation-screen {
    padding: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.conversation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 24px;
}

.conversation-header-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #EC4899 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.guidelines-banner {
    background: #F0F9FF;
    border-left: 4px solid #3B82F6;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #1E40AF;
}

.chat-area {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 24px;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    margin-bottom: 24px;
}

.message {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.mentor {
    align-items: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.message.user .message-bubble {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #EC4899 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.mentor .message-bubble {
    background: white;
    color: #111827;
    border: 1px solid #E5E7EB;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 4px;
}

.chat-input-area {
    display: flex;
    gap: 12px;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
}

.chat-input:focus {
    outline: none;
    border-color: #6A5DFF;
}

.conversation-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* 7. Conversation End & Feedback Screen */
.mentor-feedback-screen {
    padding: 24px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.feedback-prompt {
    margin-bottom: 32px;
}

.feedback-prompt h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.feedback-prompt p {
    font-size: 16px;
    color: #6B7280;
}

.rating-input {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.rating-star {
    font-size: 40px;
    color: #D1D5DB;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-star:hover,
.rating-star.active {
    color: #FBBF24;
}

.feedback-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 24px;
}

.feedback-textarea:focus {
    outline: none;
    border-color: #6A5DFF;
}

/* 8. No Match Screen */
.mentor-no-match-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.mentor-no-match-content {
    text-align: center;
    max-width: 500px;
}

.no-match-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.mentor-no-match-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.mentor-no-match-content p {
    font-size: 16px;
    color: #6B7280;
    margin-bottom: 32px;
}

.no-match-suggestions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Mobile Responsive - Mobile-First Design */
@media (max-width: 768px) {
    /* One clear action per screen */
    .mentor-entry-actions {
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        padding: 18px 24px;
        font-size: 16px;
    }
    
    .btn-text-link {
        width: 100%;
        text-align: center;
        margin-top: 12px;
    }
    
    /* No dense text - larger spacing */
    .mentor-entry-subtext {
        font-size: 16px;
        line-height: 1.7;
        padding: 0 20px;
    }
    
    /* Thumb-friendly buttons */
    .btn-mentor-primary,
    .btn-mentor-secondary {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        min-height: 48px;
    }
    
    /* Vertical stacking only */
    .mentor-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .mentor-avatar {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .mentor-card-info {
        width: 100%;
    }

    .mentor-card-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }

    .mentor-profile-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    /* One card visible at a time (stacked scroll) */
    .mentors-matching-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .mentor-card {
        width: 100%;
        margin-bottom: 0;
    }
    
    /* Collapsed sections by default */
    .mentor-profile-section {
        margin-bottom: 16px;
    }
    
    .mentor-profile-section h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .mentor-profile-bio {
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Stats very light */
    .mentor-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .mentor-stat {
        padding: 12px;
    }
    
    .mentor-stat-value {
        font-size: 20px;
    }
    
    /* Chat UI mobile */
    .message-bubble {
        max-width: 85%;
        font-size: 15px;
        padding: 10px 14px;
    }
    
    .chat-input-area {
        flex-direction: column;
    }
    
    .chat-input {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }
    
    /* Request screen mobile */
    .mentor-request-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .message-box textarea {
        min-height: 100px;
        font-size: 16px;
    }
    
    /* Feedback screen mobile */
    .rating-star {
        font-size: 36px;
    }
    
    .feedback-textarea {
        min-height: 100px;
        font-size: 16px;
    }
    
    /* Guidelines banner mobile */
    .guidelines-banner {
        font-size: 13px;
        padding: 12px;
        line-height: 1.5;
    }
    
    /* Report menu mobile */
    .report-option-btn {
        padding: 16px;
        font-size: 16px;
    }
}

