* {
    box-sizing: border-box;
}

body {

    margin: 0;

    padding: 30px;

    background: #f4f6f9;

    font-family: Arial, Helvetica, sans-serif;
}

.container {

    max-width: 1200px;

    margin: auto;
}

header {

    text-align: center;

    margin-bottom: 30px;
}

header h1 {

    margin-bottom: 10px;
}

header p {

    color: #666;
}

.home-button {

    display: inline-block;

    margin-top: 10px;

    padding: 10px 20px;

    text-decoration: none;

    border-radius: 6px;

    background: #004a99;

    color: white;
}

.home-button:hover {

    background: #003366;
}


/* ===============================
   CATEGORY SELECTION (UPDATED)
================================= */

.selection-box {

    background: white;

    padding: 20px;

    margin-bottom: 30px;

    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;
}

.selection-box label {

    font-size: 18px;

    font-weight: bold;

    color: #444;
}

.selection-box select {

    padding: 10px 14px;

    font-size: 16px;

    border: 1px solid #ccc;

    border-radius: 6px;

    min-width: 260px;

    background: white;

    cursor: pointer;
}

.selection-box select:focus {

    outline: none;

    border-color: #004a99;

    box-shadow: 0 0 6px rgba(0, 74, 153, 0.25);
}

.selection-box small {

    font-size: 12px;

    color: #777;

    text-align: center;
}


/* ===============================
   CARDS
================================= */

.cards {

    display: grid;

    grid-template-columns: 1fr;

    gap: 20px;

    margin-bottom: 30px;
}

.card {

    background: white;

    padding: 20px;

    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card h3 {

    margin-top: 0;

    color: #555;
}

.card p {

    font-size: 22px;

    font-weight: bold;

    margin-bottom: 0;
}


/* ===============================
   CHART
================================= */

.chartBox {

    background: white;

    border-radius: 10px;

    padding: 20px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

    height: 600px;

    position: relative;
}

#inflationChart {

    width: 100% !important;

    height: 100% !important;
}