﻿.interest {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.interest-grid {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 20px;
    padding-right: 8px;
    align-content: start;
}

.interest-card {
    position: relative;
    height: 150px;
    border: 1px solid #E0E0E0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .2s;
    background-color: white;
    padding: 10px
}

    .interest-card:hover {
        border-color: var(--card-color);
        transform: translateY(-2px);
    }

    .interest-card.selected {
        border: 2px solid var(--card-color);
        background: color-mix(in srgb, var(--card-color) 12%, white);
    }

.interest-icon {
    font-size: 52px !important;
    color: var(--card-color);
    margin-bottom: 16px;
}

.interest-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #19346E;
}

.interest-info {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .interest-info:hover {
        background: #F3F5F8;
    }

    .interest-info .material-symbols-rounded {
        font-size: 25px;
        color: orange;
    }