body {
    font-family: 'Inter', sans-serif;
    background-color: #F4F1EA;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding-top: 60px;
    padding-bottom: 120ps;
}

#issues-section,
#goals-section {
    display: none;
}

/* Main container */
.topics-container {
    width: 80%;
    max-width: 900px;

    text-align: center;
}

/* Headings */
h1 {
    color: #232826;
    margin-bottom: 40px;
    font-size: 26px;
}

h2 {
    color: #232826;
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

/* Topic Grid */

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* Topic cards */
.topic-card {
    background-color: #FAF8F3;

    border: 2px solid #D8D3CA;
    border-radius: 14px;

    padding: 25px;

    cursor: pointer;

    transition: all 0.2s ease;

    color: #232826;
    font-weight: 500;
}

/* Hover */
.topic-card:hover {
    transform: translateY(-3px);
    border-color: #556B5D;
}

/* Selected topic */
.topic-card.selected {
    background-color: #556B5D;
    color: white;
    border-color: #556B5D;
}

/* Issues + Goals Section */

#issues-section,
#goals-section {
    margin-top: 50px;
    text-align: center;
}

/* Chip-style cards */
.issue-card,
.goal-card {
    display: inline-flex;
    align-items: center;

    margin: 8px;
    padding: 12px 18px;

    background-color: #FAF8F3;

    border: 2px solid #D8D3CA;
    border-radius: 999px; /* pill shape */

    cursor: pointer;

    transition: all 0.2s ease;

    color: #232826;
    font-size: 14px;
}

/* Hover */
.issue-card:hover,
.goal-card:hover {
    border-color: #556B5D;
    transform: translateY(-2px);
}

/* Button */

.continue-btn {
    margin-top: 50px;

    padding: 12px 30px;

    background-color: #556B5D;
    color: white;

    border: none;
    border-radius: 10px;

    cursor: pointer;

    font-size: 16px;

    transition: background-color 0.2s ease;
}

.continue-btn:hover {
    background-color: #44574B;
}

/* =========================
   Agree State
========================= */

.issue-card.agree,
.goal-card.agree {

    background-color: #556B5D;
    border-color: #556B5D;
    color: white;
}

/* =========================
   Disagree State
========================= */

.issue-card.disagree,
.goal-card.disagree {

    background-color: #B85C5C;
    border-color: #B85C5C;
    color: white;
}

#next-btn {

    margin-top: 50px;
    margin-bottom: 40px;

    padding: 14px 32px;

    background-color: #556B5D;
    color: white;

    border: none;
    border-radius: 10px;

    font-size: 16px;
    font-weight: 500;

    cursor: pointer;

    transition: background-color 0.2s ease;

    align-self: flex-end;

    margin-right: 60px;
}

#next-btn:hover {

    background-color: #44574B;
}
