/* =========================================================
   BODY TEMPERATURE TRENDS
   ========================================================= */
body {
    background:
        radial-gradient(
            circle at 50% 0%,
            #1c242c 0%,
            #11161b 45%,
            #0d1115 100%
        );
    color:
        #e5e9ed;
    min-height:
        100vh;
}

h1 {

color: #d6b56c;
}
/* =========================================================
   TEMPERATURE TRENDS PAGE
   ========================================================= */

.temperature-page {

    width: min(1100px, 94%);

    margin: 35px auto 55px auto;
}


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

.temperature-card {

    background:
        linear-gradient(
            145deg,
            #252b32,
            #171b20
        );

    border: 1px solid #3b444d;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 8px 22px rgba(0,0,0,.25);
}


.temperature-table-card {

    margin-top: 22px;
}


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

.temperature-card-heading {

    padding: 12px 16px;

    background:
        linear-gradient(
            145deg,
            #3a434d,
            #292f36
        );

    border-bottom: 1px solid #3b444d;

    text-align: center;

    font-size: 1.1rem;
    
    font-family:
        "Oswald",
        Arial,
        sans-serif;

    font-weight: 600;

    letter-spacing: .4px;
}


/* =========================================================
   CONTROLS
   ========================================================= */

.temperature-controls {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin: 14px auto 5px auto;

    font-size: .9rem;
}


.temperature-controls label {

    color: #aeb6bf;
}


.temperature-select {

    appearance: none;

    -webkit-appearance: none;

    background:
        linear-gradient(
            145deg,
            #303840,
            #252c33
        );

    color: #fff;

    border: 1px solid #3b444d;

    border-radius: 6px;

    padding: 6px 28px 6px 9px;
    width: 200px;

    font-family: inherit;

    font-size: .9rem;
    
    font-family:
        "Oswald",
        Arial,
        sans-serif;

    cursor: pointer;
}


.temperature-select:hover {

    border-color: #596571;
}


.temperature-select:focus {

    outline: none;

    border-color: #d6b56c;
}


/* =========================================================
   CHART
   ========================================================= */

.temperature-chart-container {

    position: relative;

    width: 100%;

    height: 500px;

    padding: 10px 15px 20px 15px;

    box-sizing: border-box;
}


/* =========================================================
   TABLE SCROLL
   ========================================================= */

.temperature-table-scroll {

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   TABLE
   ========================================================= */

.temperature-table {

    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;

    font-size: .92rem;
    
    font-family:
        "Oswald",
        Arial,
        sans-serif;
}


.temperature-table th,
.temperature-table td {

    padding: 8px 10px;

    border-bottom: 1px solid #343c44;

    text-align: center;

    white-space: nowrap;
}


/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.temperature-table thead th {

    background:
        linear-gradient(
            145deg,
            #303840,
            #252c33
        );

    color: #dce2e7;

    font-weight: 600;

    border-bottom: 1px solid #46515b;
}


/* ---------------------------------------------------------
   Body
   --------------------------------------------------------- */

.temperature-table tbody td {

    color: #e3e7ea;
}


.temperature-table tbody tr:hover {

    background: rgba(255,255,255,.035);
}


/* ---------------------------------------------------------
   Month column
   --------------------------------------------------------- */

.temperature-table .month-cell {

    text-align: left;

    font-weight: 600;
    
    font-family:
        "Oswald",
        Arial,
        sans-serif;

    color: #c5ccd2;
}


/* ---------------------------------------------------------
   Current month
   --------------------------------------------------------- */

.temperature-table tbody tr.current-month td {

    color: #d6b56c;

    font-weight: 600;
    font-family:
        "Oswald",
        Arial,
        sans-serif;
}


.temperature-table tbody tr.current-month
.month-cell {

    color: #d6b56c;
}


/* =========================================================
   TABLE FOOTER / INFORMATION
   ========================================================= */

.temperature-info {

    text-align: center;

    padding: 9px 12px 12px;

    color: #8f9aa5;
    font-family:
        "Oswald",
        Arial,
        sans-serif;

    font-size: .78rem;
}


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

@media (max-width: 700px) {

    .temperature-page {

        width: 96%;
    }


    .temperature-chart-container {

        height: 420px;

        padding-left: 5px;

        padding-right: 5px;
    }


    .temperature-controls {

        flex-wrap: wrap;
    }


    .temperature-table {

        min-width: 650px;
    }

}

</style>
