/* Agents Page Specific Styles - Social Media Platform Design */


/* Homogenous Hero Section -- Apply to all main subpage heroes */
.hero-section {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #111 100%);
    padding: 2.5rem 5% 1.2rem 5%;
    text-align: center;
    border-bottom: 1px solid #333;
}

.hero-content h1 {
    font-family: 'Archive', sans-serif;
    font-size: 2.5rem; /* Strong, modern headline */
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px #111;
}

.hero-content p {
    font-size: 1.15rem;
    color: #e0e0e0;
    letter-spacing: 0.08em;
    opacity: 0.88;
    margin-bottom: 0.5rem;
    max-width: 620px;
    margin: 0 auto;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .hero-content p {
        font-size: 1.05rem;
    }
    .hero-section {
        padding: 1.5rem 3vw 0.8rem 3vw;
    }
}
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 0.7rem;
    }
    .hero-section {
        padding: 1rem 3vw 0.5rem 3vw;
    }
    .hero-content p {
        font-size: 0.99rem;
        margin-bottom: 0.2rem;
    }
}
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }
}

/* Feed Container - Social Media Layout */
#agents-feed {
    background: #0a0a0a;
    padding: 4rem 5%;
    min-height: 100vh;
}

.feed-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Agent Profile Cards - Social Media Style */
.agent-profile-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
    opacity: 1 !important; /* Force visible */
    transform: none !important; /* Remove translation */
}


/* Profile Header - Centered layout with left avatar */

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    gap: 0;
}


.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    border: 3px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.scout-avatar {
    background: linear-gradient(135deg, #4187C1 0%, #2563eb 100%);
    border-color: #4187C1;
}

.kont-avatar {
    background: linear-gradient(135deg, #fa3e05 0%, #dc2626 100%);
    border-color: #fa3e05;
}

.ticket-avatar {
    background: linear-gradient(135deg, #51cf66 0%, #10b981 100%);
    border-color: #51cf66;
}

.custom-avatar {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e42 100%);
    border-color: #fbbf24;
}

.avatar-icon:hover {
    transform: scale(1.05);
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
}

.status-indicator.online {
    background: #51cf66;
    box-shadow: 0 0 8px rgba(81, 207, 102, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .profile-header,
    .profile-info {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
}


.profile-info h2 {
    font-family: 'Archive', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.profile-tagline {
    color: #4187C1;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: 'Archive', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 0.2rem;
    letter-spacing: 0.05em;
}

.stat-number.animated {
    transition: color 0.4s, transform 0.4s;
    will-change: color, transform;
}
.stat-number.animated:hover {
    color: #fbbf24;
    transform: scale(1.08);
}

/* Post Content */
.profile-content {
    padding: 0;
}

.post {
    padding: 2rem 2.5rem 2.5rem 2.5rem;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

.post-time {
    color: #888;
}

.post-status {
    color: #51cf66;
    font-weight: 600;
}

.post-content h3 {
    font-family: 'Archive', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.post-content p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Capabilities Grid - 2 per row */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.capability {
    display: flex;
    flex-direction: column;     /* Stack icon above label */
    align-items: center;        /* Center horizontally */
    justify-content: center;    /* Center vertically (if block is taller) */
    text-align: center;         /* Center the text */
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}


.capability:hover {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.12);
    border-color: #fbbf24;
}

.capability-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.capability span:last-child {
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Recent Activity */
.recent-activity {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.recent-activity h4 {
    font-family: 'Archive', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.recent-activity ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-activity li {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    padding-left: 0;
    line-height: 1.4;
}

.recent-activity li:last-child {
    margin-bottom: 0;
}

/* Post Actions */
.post-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.05em;
}

.action-btn.primary {
    background: linear-gradient(135deg, #4187C1 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(65, 135, 193, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(65, 135, 193, 0.4);
}

.action-btn.secondary {
    background: transparent;
    color: #4187C1;
    border: 2px solid #4187C1;
}

.action-btn.secondary:hover {
    background: rgba(65, 135, 193, 0.1);
}

.engagement {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Agent-specific styling */
#scout-profile {
    border-top: 3px solid #4187C1;
}

#kont-profile {
    border-top: 3px solid #fa3e05;
}

#ticket-profile {
    border-top: 3px solid #51cf66;
}

/* CTA Section */
#agents-cta {
    background: linear-gradient(135deg, 
        rgba(65, 135, 193, 0.15) 0%, 
        rgba(38, 50, 106, 0.25) 50%, 
        rgba(65, 135, 193, 0.15) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    margin: 4rem 5% 2rem 5%;
    padding: 4rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    box-sizing: border-box;
}


#agents-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        transparent 50%, 
        rgba(65, 135, 193, 0.05) 100%
    );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Archive', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}



/* Responsive Design */
@media (max-width: 768px) {
    .agents-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .agents-hero-content p {
        font-size: 1.1rem;
    }
    
    #agents-feed {
        padding: 2rem 3%;
    }
    
    .feed-container {
        gap: 2rem;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .post {
        padding: 1.5rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    /* Override to keep button centered and not stretched */
    .post-actions {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .action-btn {
        width: auto !important;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .agents-hero-content h1 {
        font-size: 2rem;
    }
    
    .profile-info h2 {
        font-size: 1.6rem;
    }
    
    .avatar-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .profile-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
}

.hero-section, #agents-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-content, .agents-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.hero-content h1, .hero-content p,
.agents-hero-content h1, .agents-hero-content p {
    text-align: center;
}


/* Workshop graphic sections (Workshops page) */
.workshop-graphic-section {
    padding: 3rem 5%;
    border-bottom: 1px solid #333;
    background: #0a0a0a;
}

.graphic-card {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(145deg, #111 0%, #1c1c1c 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.graphic-card h2 {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
}

.graphic-image {
    width: 100%;
    display: block;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.graphic-caption {
    color: #bcbcbc;
    font-size: 0.95rem;
    margin-top: 0.8rem;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .graphic-card { padding: 1.2rem; }
    .graphic-card h2 { font-size: 1.4rem; }
}

.status-indicator {
    display: none !important;
}
.avatar-icon {
    display: none !important;
}

.profile-avatar {
    display: none !important;
}

/* Agent Navigation Buttons */
.agent-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.agent-nav-btn {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.agent-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.agent-nav-btn:hover::before {
    left: 100%;
}

.agent-nav-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.agent-nav-btn:active {
    transform: translateY(0);
}

.agent-nav-btn .nav-icon {
    font-size: 1.25rem;
    display: block;
}

.agent-nav-btn .nav-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Agent-specific button styles */
.scout-nav:hover {
    border-color: #51cf66;
    box-shadow: 0 8px 25px rgba(81, 207, 102, 0.2);
}

.kont-nav:hover {
    border-color: #4187C1;
    box-shadow: 0 8px 25px rgba(65, 135, 193, 0.2);
}

.ticket-nav:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

/* Responsive design for navigation */
@media (max-width: 768px) {
    .agent-nav-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .agent-nav-btn {
        min-width: 140px;
        padding: 0.75rem 1.25rem;
    }
}