/* Transfer News Styles – Futbol.az */
:root {
    --bg: #0f1923;
    --surface: #1a2634;
    --card: #243447;
    --text: #e8edf2;
    --text-muted: #8899a6;
    --primary: #1da1f2;
    --primary-hover: #1a91da;
    --success: #17bf63;
    --danger: #e0245e;
    --warning: #ffad1f;
    --border: #38444d;
    --radius: 12px;
}

body.light {
    --bg: #f5f8fa;
    --surface: #ffffff;
    --card: #f0f3f5;
    --text: #14171a;
    --text-muted: #657786;
    --border: #e1e8ed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 1rem;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover, .nav a.active {
    color: var(--primary);
}

.theme-btn {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main */
.transfer-container {
    flex: 1;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Filter */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card);
    border: 2px solid var(--border);
    color: var(--text);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Transfer List */
.transfer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transfer-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: slideIn 0.3s ease;
}

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

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.transfer-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.transfer-info {
    flex: 1;
}

.transfer-player {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.transfer-clubs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.transfer-clubs .arrow {
    color: var(--primary);
    font-weight: 700;
}

.transfer-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.transfer-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-confirmed {
    background: rgba(23, 191, 99, 0.15);
    color: var(--success);
}

.badge-rumor {
    background: rgba(255, 173, 31, 0.15);
    color: var(--warning);
}

.badge-loan {
    background: rgba(29, 161, 242, 0.15);
    color: var(--primary);
}

.transfer-fee {
    font-weight: 600;
    color: var(--text);
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.hidden {
    display: none !important;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

/* Responsive */
@media (max-width: 600px) {
    .page-title {
        font-size: 1.5rem;
    }

    .transfer-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .transfer-icon {
        font-size: 2rem;
    }

    .nav {
        gap: 0.4rem;
        font-size: 0.85rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
