/* =========================================================
   Favorites
   ========================================================= */

#favorites-page {
    width: 100%;
}


/* =========================================================
   Favorites — Top Section
   ========================================================= */

.favorites-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;

    width: 100%;
    max-width: 390px;

    margin: 0 auto;
    padding: 32px 16px;
}


/* ---------- Illustration + Text ---------- */

.favorites-empty__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;

    width: 100%;
}

.favorites-empty__illustration {
    position: relative;

    width: 190.744px;
    height: 95.033px;

    flex-shrink: 0;
}

.favorites-empty__illustration img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
}


/* ---------- Text ---------- */

.favorites-empty__text {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    color: var(--color-text-main);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    text-align: center;
}

.favorites-empty__text h2 {
    margin: 0;
    color: var(--color-text-main);
    font-family: var(--font-main);
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: inherit;
}

.favorites-empty__text p {
    margin: 0;
    color: var(--color-text-main);
}


/* ---------- Select Team Button ---------- */

.favorites-empty__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 160px;
    height: 42px;

    padding: 8px;

    flex-shrink: 0;

    border: 1px solid rgba(59, 130, 246, 0.45);
    border-radius: var(--radius-sm);

    background: rgba(59, 130, 246, 0.17);

    cursor: pointer;
}


/* ---------- Button Icon ---------- */

.favorites-empty__icon {
    position: relative;

    width: 22.415px;
    height: 22.415px;

    flex-shrink: 0;
}

.favorites-empty__icon svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* ---------- Button Label ---------- */

.favorites-empty__label {
    color: var(--color-text-main);
    font-family: var(--font-main);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    white-space: nowrap;
}


/* =========================================================
   Favorites — Team List
   ========================================================= */

.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 12px;

    width: 100%;

    padding: 24px 16px 0;
}


/* ---------- Team Card ---------- */

.favorites-team-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: 370px;
    height: 64px;

    margin-left: auto;
    margin-right: auto;

    padding: 12px;

    border-radius: var(--radius-sm);

    background:
        radial-gradient(
            ellipse at 85% 50%,
            rgba(59, 130, 246, 0.10) 0%,
            rgba(59, 130, 246, 0.035) 35%,
            transparent 70%
        ),
        linear-gradient(
            212.16deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.0988) 100.43%
        ),
        var(--color-glass-blue);

    border: 1px solid rgba(59, 130, 246, 0.32);

    box-shadow:
        0 4px 16px rgba(30, 60, 180, 0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    direction: ltr;

    cursor: pointer;
}


/* ---------- Team Info ---------- */

.favorites-team-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;

    width: 109px;
    height: 53px;

    direction: rtl;
}


/* ---------- Team Name ---------- */

.favorites-team-name {
    width: 44px;

    color: var(--color-text-main);
    font-family: var(--font-main);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    line-height: 23px;

    text-align: right;
    white-space: nowrap;
}


/* ---------- Team Logo ---------- */

.favorites-team-logo {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;
}

.favorites-team-logo img {
    display: block;

    width: 36px;
    height: 36px;

    object-fit: contain;
}


/* ---------- Favorite Star ---------- */

.favorites-team-star {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    margin-left: 3px;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.favorites-team-star svg {
    display: block;

    width: 24px;
    height: 24px;
}

/* =========================================================
   Favorites — Page Scroll
========================================================= */

#favorites-page {
    min-height: 100dvh;
    padding-bottom: 110px;
}

body {
    overflow-y: auto !important;
}