/**
 * FlyMacroPilot - Career System Styles
 * Scout Daily Quick Win - March 4, 2026
 */

/* Career Progress Bar */
.career-progress {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #0f3460;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.career-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.title-label {
    color: #8892b0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-name {
    color: #64ffda;
    font-weight: 600;
    font-size: 14px;
}

.next-milestone {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.next-label {
    color: #ccd6f6;
    font-size: 13px;
}

.progress-bar {
    background: #0a192f;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    border: 1px solid #233554;
}

.progress-fill {
    background: linear-gradient(90deg, #64ffda 0%, #00d9ff 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease-out;
}

.progress-text {
    color: #8892b0;
    font-size: 11px;
    text-align: right;
}

/* Milestone Notification */
.milestone-notification {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border: 2px solid #64ffda;
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10000;
    animation: milestoneSlideIn 0.5s ease-out, milestoneGlow 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
}

@keyframes milestoneSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes milestoneGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(100, 255, 218, 0.6);
    }
}

.milestone-icon {
    font-size: 48px;
    animation: iconBounce 0.6s ease-out;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.milestone-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.milestone-label {
    color: #64ffda;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.milestone-name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.milestone-desc {
    color: #8892b0;
    font-size: 13px;
}

.milestone-title {
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

/* Career Complete */
.career-complete {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 15px;
}

/* Career Stats Panel */
.career-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.career-stat {
    background: #0a192f;
    border: 1px solid #233554;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
}

.career-stat-value {
    color: #64ffda;
    font-size: 24px;
    font-weight: 700;
}

.career-stat-label {
    color: #8892b0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Title Badge in Header */
.player-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid #64ffda;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    color: #64ffda;
}

.player-title-badge::before {
    content: '🎖️';
}
