﻿.transfers-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #f6f8fb 0%, #eef3f8 100%);
}

.transfers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 26px 28px;
    border: 1px solid #e5eaf0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.transfers-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: #5b8c3b;
    font-size: 0.82rem;
    font-weight: 800;
}

.transfers-header h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 900;
}

.transfers-header p {
    max-width: 760px;
    margin: 10px 0 0;
    color: #697386;
    line-height: 1.8;
}

.transfers-primary-button {
    min-width: 170px;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 800;
}

.transfer-statistics-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.transfer-stat-card {
    padding: 20px;
    border: 1px solid #e5eaf0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

    .transfer-stat-card span {
        display: block;
        color: #697386;
        font-size: 0.88rem;
        font-weight: 700;
    }

    .transfer-stat-card strong {
        display: block;
        margin: 7px 0;
        color: #1b2436;
        font-size: 1.85rem;
        font-weight: 900;
    }

    .transfer-stat-card small {
        color: #8b95a7;
    }

.transfer-filter-card,
.transfer-list-card {
    margin-bottom: 24px;
    border: 1px solid #e5eaf0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.transfer-filter-card {
    padding: 24px;
}

    .transfer-filter-card .form-label {
        margin-bottom: 7px;
        color: #334155;
        font-size: 0.9rem;
        font-weight: 800;
    }

    .transfer-filter-card .form-control,
    .transfer-filter-card .form-select {
        min-height: 46px;
        border-color: #dfe5ec;
        border-radius: 12px;
    }

        .transfer-filter-card .form-control:focus,
        .transfer-filter-card .form-select:focus {
            border-color: rgba(91, 140, 59, 0.7);
            box-shadow: 0 0 0 0.2rem rgba(91, 140, 59, 0.12);
        }

.transfer-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

    .transfer-filter-actions .btn {
        min-width: 125px;
        padding: 10px 18px;
        border-radius: 12px;
        font-weight: 800;
    }

.transfer-list-card {
    overflow: hidden;
}

.transfer-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #edf0f4;
}

    .transfer-list-heading h2 {
        margin: 0;
        color: #1d2738;
        font-size: 1.25rem;
        font-weight: 900;
    }

    .transfer-list-heading p {
        margin: 7px 0 0;
        color: #7a8495;
        font-size: 0.9rem;
    }

.transfers-table {
    min-width: 1250px;
    margin: 0;
}

    .transfers-table thead th {
        padding: 15px 14px;
        border-bottom: 1px solid #dfe5ec;
        background: #f7f9fc;
        color: #526071;
        font-size: 0.82rem;
        font-weight: 900;
        white-space: nowrap;
    }

    .transfers-table tbody td {
        padding: 17px 14px;
        border-color: #edf0f4;
        vertical-align: middle;
    }

    .transfers-table tbody tr:hover {
        background: #fbfcfd;
    }

.transfer-player-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: inherit;
    text-decoration: none;
}

    .transfer-player-link strong {
        color: #1d2738;
        font-size: 0.96rem;
        font-weight: 900;
    }

    .transfer-player-link span {
        color: #7b8798;
        font-size: 0.78rem;
    }

.transfer-movement {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
    align-items: center;
    gap: 10px;
}

.transfer-club {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .transfer-club span {
        color: #8993a4;
        font-size: 0.72rem;
        font-weight: 700;
    }

    .transfer-club strong {
        color: #273245;
        font-size: 0.86rem;
        line-height: 1.45;
    }

.transfer-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(91, 140, 59, 0.1);
    color: #5b8c3b;
    font-weight: 900;
}

.transfer-direction {
    display: block;
    margin-top: 8px;
    color: #8993a4;
    font-size: 0.75rem;
}

.transfer-type-badge,
.transfer-status-badge,
.verification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    white-space: nowrap;
}

.transfer-type-badge {
    background: #edf4ff;
    color: #245da8;
}

.transfer-date-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 165px;
}

    .transfer-date-block strong {
        color: #273245;
        font-size: 0.86rem;
    }

    .transfer-date-block span {
        color: #7d8797;
        font-size: 0.76rem;
    }

.transfer-financial {
    min-width: 145px;
    color: #273245;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.6;
}

.status-draft {
    background: #eef1f5;
    color: #596579;
}

.status-submitted {
    background: #e9f1ff;
    color: #285fa9;
}

.status-review {
    background: #fff5d8;
    color: #9b6a00;
}

.status-approved,
.status-registered,
.status-completed {
    background: #e8f7ec;
    color: #28733b;
}

.status-rejected,
.status-cancelled {
    background: #feecec;
    color: #b23939;
}

.status-disputed {
    background: #f4eafe;
    color: #7540a0;
}

.status-expired {
    background: #f1f2f4;
    color: #687384;
}

.status-default {
    background: #eef1f5;
    color: #596579;
}

.verification-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.verification-badge.verified {
    background: #e8f7ec;
    color: #28733b;
}

.verification-badge.not-verified {
    background: #f3f4f6;
    color: #7b8492;
}

.transfer-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

    .transfer-actions .btn {
        border-radius: 9px;
        font-weight: 800;
    }

.transfer-empty-state {
    padding: 65px 20px;
    text-align: center;
}

.transfer-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    border-radius: 22px;
    background: rgba(91, 140, 59, 0.1);
    color: #5b8c3b;
    font-size: 2rem;
    font-weight: 900;
}

.transfer-empty-state h3 {
    margin: 0 0 8px;
    color: #283346;
    font-weight: 900;
}

.transfer-empty-state p {
    margin: 0;
    color: #7f8999;
}

.transfer-pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
    border-top: 1px solid #edf0f4;
}

    .transfer-pagination .page-link {
        min-width: 40px;
        margin: 0 3px;
        border-color: #e1e6ed;
        border-radius: 9px !important;
        color: #405067;
        text-align: center;
        font-weight: 800;
    }

    .transfer-pagination .page-item.active .page-link {
        border-color: #5b8c3b;
        background: #5b8c3b;
        color: #ffffff;
    }

@media (max-width: 1200px) {
    .transfer-statistics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .transfers-header {
        align-items: stretch;
        flex-direction: column;
        padding: 21px;
    }

    .transfers-primary-button {
        width: 100%;
    }

    .transfer-statistics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transfer-filter-card {
        padding: 18px;
    }

    .transfer-filter-actions {
        flex-direction: column-reverse;
    }

        .transfer-filter-actions .btn {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .transfer-statistics-grid {
        grid-template-columns: 1fr;
    }
}
