/* ===================== GRID ===================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

/* ===================== CARD ===================== */
.selectable-card {
    position: relative;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.selectable-card:hover {
    background: #e6f0ff;
}

.selectable-card.selected {
    border: 2px solid #004494;
    background: #d0e4ff;
}

.selectable-card.selected::after {
    content: "✔";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #004494;
}

/* ===================== TYPO ===================== */
.selectable-card h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.2rem !important;
    color: #004494;
    margin: 0.5rem 0;
}

.selectable-card .tax-description {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 0.9rem !important;
    color: #00B8F2;
}

/* ===================== CHILDREN BLOCK ===================== */
.children-section {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
}

.children-section h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #004494;
    font-family: Poppins, sans-serif;
}

.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.child-card {
    background: #EEF2FF !important;
}

/* ===================== ACTION BUTTONS ===================== */
.actions-area {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    visibility: hidden;
}

.actions-area .button {
    padding: 0.8rem 1.5rem;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    border-radius: 100px;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
}

.actions-area .button-alt {
    background: #00b8f2;
    color: #fff !important;
}

.actions-area .button {
    background: #0d29f9;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
