.course-code-preview{
    margin-bottom:18px;
    padding:15px 17px;
    border:1px dashed #a8bbea;
    border-radius:15px;
    background:#f6f9ff;
}

.course-code-preview span,
.course-code-preview strong,
.course-code-preview small{
    display:block;
}

.course-code-preview span{
    color:var(--muted);
    font-size:8px;
    text-transform:uppercase;
    letter-spacing:.09em;
    font-weight:850;
}

.course-code-preview strong{
    margin:6px 0;
    color:var(--blue);
    font-size:21px;
}

.course-code-preview small{
    color:var(--muted);
    font-size:9px;
}

.public-selection{
    margin-top:19px;
    padding:18px;
    border:1px solid var(--border);
    border-radius:16px;
    background:#fbfcff;
}

.public-selection-title{
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:center;
    margin-bottom:13px;
}

.public-selection-title strong,
.public-selection-title span{
    display:block;
}

.public-selection-title span{
    margin-top:4px;
    color:var(--muted);
    font-size:9px;
}

.public-selection-title b{
    padding:6px 10px;
    border-radius:999px;
    background:#edf1f6;
    color:#667085;
    font-size:9px;
}

.public-selection-title b[data-type="enf"]{
    background:var(--blue-soft);
    color:var(--blue);
}

.public-selection-title b[data-type="adu"]{
    background:var(--green-soft);
    color:var(--green);
}

.public-selection-title b[data-type="mix"]{
    background:var(--purple-soft);
    color:var(--purple);
}

.public-choice-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.public-choice{
    display:grid;
    grid-template-columns:auto 48px 1fr;
    gap:11px;
    align-items:center;
    padding:15px;
    border:2px solid transparent;
    border-radius:15px;
    background:#fff;
    cursor:pointer;
    transition:.18s;
}

.public-choice.child{
    border-color:#dce7ff;
}

.public-choice.adult{
    border-color:#d8f0e1;
}

.public-choice.is-selected.child{
    border-color:var(--blue);
    background:var(--blue-soft);
}

.public-choice.is-selected.adult{
    border-color:var(--green);
    background:var(--green-soft);
}

.public-choice input{
    width:19px;
    height:19px;
}

.public-icon{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:#f4f6fa;
    font-size:24px;
}

.public-choice strong,
.public-choice small{
    display:block;
}

.public-choice small{
    margin-top:4px;
    color:var(--muted);
    font-size:9px;
}

.music-child-warning{
    margin-top:15px;
    padding:15px 17px;
    border-left:5px solid var(--orange);
    border-radius:13px;
    background:var(--orange-soft);
}

.music-child-warning strong{
    color:#94570f;
}

.music-child-warning p{
    margin:5px 0 0;
    color:#775629;
    font-size:10px;
    line-height:1.5;
}

.course-empty{
    min-height:350px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.course-empty>div{
    font-size:42px;
}

.course-empty h3{
    margin:13px 0 6px;
}

.course-empty p{
    max-width:470px;
    margin:0 0 17px;
    color:var(--muted);
}

.course-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.course-card{
    padding:19px;
    border:1px solid var(--border);
    border-radius:19px;
    background:#fff;
    box-shadow:var(--shadow);
}

.course-card-header{
    display:grid;
    grid-template-columns:54px 1fr auto;
    gap:13px;
    align-items:center;
}

.course-card-icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    border-radius:16px;
    background:linear-gradient(
        135deg,
        var(--blue-soft),
        var(--purple-soft)
    );
    font-size:25px;
}

.course-card-header>div:nth-child(2)>span{
    color:var(--blue);
    font-size:8px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.09em;
}

.course-card-header h3{
    margin:4px 0;
    font-size:16px;
}

.course-card-header p{
    margin:0;
    color:var(--muted);
    font-size:9px;
}

.course-code{
    padding:6px 8px;
    border-radius:9px;
    background:#f1f4f9;
    color:#526078;
    font-size:8px;
}

.course-public-badges{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
    margin:15px 0;
}

.public-badge{
    display:inline-flex;
    align-items:center;
    padding:6px 9px;
    border-radius:999px;
    font-size:9px;
    font-weight:850;
}

.public-badge.child{
    background:var(--blue-soft);
    color:var(--blue);
}

.public-badge.adult{
    background:var(--green-soft);
    color:var(--green);
}

.public-badge.mixed{
    background:var(--purple-soft);
    color:var(--purple);
}

.course-card-metrics{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:9px;
}

.course-card-metrics div{
    padding:11px;
    border-radius:12px;
    background:#f8faff;
}

.course-card-metrics strong,
.course-card-metrics span{
    display:block;
}

.course-card-metrics strong{
    font-size:13px;
}

.course-card-metrics span{
    margin-top:3px;
    color:var(--muted);
    font-size:8px;
}

.course-card-footer{
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:14px;
    padding-top:13px;
    border-top:1px solid var(--border);
}

.course-card-footer a{
    margin-left:auto;
    color:var(--blue);
    font-size:9px;
    font-weight:850;
    text-decoration:none;
}

@media(max-width:950px){
    .course-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:650px){
    .public-choice-grid{
        grid-template-columns:1fr;
    }

    .course-card-header{
        grid-template-columns:52px 1fr;
    }

    .course-code{
        grid-column:1/-1;
        width:max-content;
    }

    .course-card-metrics{
        grid-template-columns:1fr;
    }
}
