/* Transfer Components Styles */

.transfer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.transfer-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.transfer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transfer-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.transfer-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-gradient);
    transition: all 0.3s ease;
}

.transfer-item.urgent::before {
    background: var(--danger-gradient);
}

.transfer-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.player-info-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-avatar-small {
    width: 45px;
    height: 45px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.player-details-mini strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.player-details-mini span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.transfer-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.club-interest {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.club-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.club-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.offer-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
    background: var(--bg-card);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.transfer-status {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transfer-status.hot {
    background: var(--danger-gradient);
    color: white;
    animation: pulse 2s infinite;
}

.transfer-status.negotiating {
    background: var(--gold-gradient);
    color: white;
}

.transfer-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-success {
    background: var(--success-gradient);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.3);
}

.card-badge.urgent {
    background: var(--danger-gradient);
    animation: pulse 2s infinite;
}

/* Activity Timeline */
.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 60px;
    bottom: -1px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item:hover {
    background: var(--bg-secondary);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 12px;
    border-bottom: 1px solid transparent;
}

.timeline-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.timeline-icon.success {
    background: var(--success-gradient);
}

.timeline-icon.warning {
    background: var(--gold-gradient);
}

.timeline-icon.danger {
    background: var(--danger-gradient);
}

.timeline-content strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 0.25rem 0;
}

.timeline-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timeline-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    background: var(--bg-card);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.timeline-amount.success {
    color: white;
    background: var(--success-gradient);
    border-color: transparent;
}

.timeline-amount.rejected {
    color: white;
    background: var(--danger-gradient);
    border-color: transparent;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .transfer-sections {
        grid-template-columns: 1fr;
    }
    
    .transfer-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .transfer-actions {
        justify-content: center;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .timeline-item::before {
        display: none;
    }
}