/* ============================================================
   TBANav — CONDITION CARDS
   Five supporting navigation cards
   ============================================================

   Applies to:

   - Locks & Access
   - Weather
   - Tidal Data
   - Navigation Notices
   - Vessel Restrictions

   The River Level Assessment card is deliberately excluded.

   Design:
   - Large centred icon
   - Strong centred title
   - Prominent status
   - Clear supporting description
   - Generous vertical spacing
   - Equal portrait cards
   ============================================================ */


/* ============================================================
   CARD
   ============================================================ */

.frozen-condition-tile {
    width: 100%;
    height: 308px;
    min-height: 308px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #dbe3ec;
    border-radius: 8px;

    box-shadow:
        0 2px 7px rgba(20, 45, 75, 0.05);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 24px 14px;

    overflow: hidden;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}


/* ============================================================
   HOVER
   ============================================================ */

.frozen-condition-tile:hover {
    border-color: #b7c9dc;

    box-shadow:
        0 5px 14px rgba(20, 45, 75, 0.09);

    transform: translateY(-1px);
}


/* ============================================================
   LARGE ICON
   ============================================================ */

.frozen-condition-tile .tile-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 52px;

    margin: 0 0 18px;

    color: #0b3f7f;

    font-size: 42px;
    line-height: 1;

    font-weight: 400;

    text-align: center;
}


/* ============================================================
   CARD TITLE
   ============================================================ */

.frozen-condition-tile strong {
    display: block;

    width: 100%;

    margin: 0 0 18px;

    color: #0b3f7f;

    font-size: 14px;
    line-height: 1.15;

    font-weight: 900;

    text-transform: uppercase;

    text-align: center;
}


/* ============================================================
   STATUS
   ============================================================ */

.frozen-condition-tile .tile-status {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    margin: 0 0 17px;

    color: #f28c00;

    font-size: 18px;
    line-height: 1;

    font-weight: 900;

    text-align: center;
}


/* ============================================================
   STATUS DOT
   ============================================================ */

.frozen-condition-tile .tile-status i {
    display: inline-block;

    width: 9px;
    height: 9px;

    flex: 0 0 9px;

    border-radius: 50%;

    background: #f28c00;
}


/* ============================================================
   SUPPORTING DESCRIPTION
   ============================================================ */

.frozen-condition-tile small {
    display: block;

    width: 100%;
    max-width: 150px;

    margin: 0 auto;

    color: #27456b;

    font-size: 11px;
    line-height: 1.35;

    font-weight: 400;

    text-align: center;
}


/* ============================================================
   PENDING
   ============================================================ */

.frozen-condition-tile.pending .tile-status {
    color: #f28c00;
}

.frozen-condition-tile.pending .tile-status i {
    background: #f28c00;
}


/* ============================================================
   REVIEW
   ============================================================ */

.frozen-condition-tile.review .tile-status {
    color: #079658;
}

.frozen-condition-tile.review .tile-status i {
    background: #079658;
}


/* ============================================================
   ICON-SPECIFIC SIZING
   ============================================================

   The Unicode icons have different natural proportions.
   These adjustments make their visual weight more consistent.
   ============================================================ */

.frozen-condition-tile .tile-icon {
    transform: none;
}


/* Locks */

.frozen-condition-tile[href="#lock-access"] .tile-icon {
    font-size: 42px;
}


/* Weather */

.frozen-condition-tile[href="#weather"] .tile-icon {
    font-size: 45px;
}


/* Tidal */

.frozen-condition-tile[href="#tidal-conditions"] .tile-icon {
    font-size: 43px;
}


/* Navigation Notices */

.frozen-condition-tile[href="#navigation-notices"] .tile-icon {
    font-size: 47px;
    font-weight: 400;
}


/* Vessel Restrictions */

.frozen-condition-tile[href="#vessel-restrictions"] .tile-icon {
    font-size: 43px;
}


/* ============================================================
   DESKTOP — LARGE SCREENS
   ============================================================ */

@media (min-width: 1251px) {

    .frozen-condition-tile {
        height: 308px;
        min-height: 308px;

        padding: 26px 16px;
    }

    .frozen-condition-tile .tile-icon {
        height: 56px;

        margin-bottom: 18px;
    }

    .frozen-condition-tile strong {
        font-size: 14px;

        margin-bottom: 19px;
    }

    .frozen-condition-tile .tile-status {
        font-size: 18px;

        margin-bottom: 18px;
    }

    .frozen-condition-tile small {
        font-size: 11px;
        line-height: 1.4;
    }
}


/* ============================================================
   MEDIUM DESKTOP
   ============================================================ */

@media (max-width: 1250px) and (min-width: 1001px) {

    .frozen-condition-tile {
        height: 300px;
        min-height: 300px;

        padding: 22px 10px;
    }

    .frozen-condition-tile .tile-icon {
        height: 48px;

        margin-bottom: 15px;

        font-size: 37px;
    }

    .frozen-condition-tile strong {
        font-size: 12px;

        margin-bottom: 15px;
    }

    .frozen-condition-tile .tile-status {
        font-size: 16px;

        margin-bottom: 15px;
    }

    .frozen-condition-tile small {
        max-width: 135px;

        font-size: 10px;
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) and (min-width: 801px) {

    .frozen-condition-tile {
        height: 290px;
        min-height: 290px;

        padding: 20px 7px;
    }

    .frozen-condition-tile .tile-icon {
        height: 44px;

        margin-bottom: 13px;

        font-size: 34px;
    }

    .frozen-condition-tile strong {
        font-size: 10px;

        margin-bottom: 13px;
    }

    .frozen-condition-tile .tile-status {
        font-size: 14px;

        margin-bottom: 13px;
    }

    .frozen-condition-tile .tile-status i {
        width: 8px;
        height: 8px;
        flex-basis: 8px;
    }

    .frozen-condition-tile small {
        max-width: 115px;

        font-size: 9px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 800px) {

    .frozen-condition-tile {
        height: 190px;
        min-height: 190px;

        padding: 18px 10px;
    }

    .frozen-condition-tile .tile-icon {
        height: 38px;

        margin-bottom: 10px;

        font-size: 31px;
    }

    .frozen-condition-tile strong {
        font-size: 10px;

        margin-bottom: 10px;
    }

    .frozen-condition-tile .tile-status {
        font-size: 13px;

        margin-bottom: 10px;
    }

    .frozen-condition-tile small {
        max-width: 120px;

        font-size: 8px;
    }
}