@import url("../components/box-list.css");

.tab::before {
    background-color: #F5F9FF;
}

/* ==== Content01 ==== */
.bg-height {
    background-color: #F5F9FF;
    height: 30px;
    margin-top: -30px;
    margin-bottom: 20px;
}

.cont1 {
    background-color: #F5F9FF;
}

.cont1 .usage-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cont1 .card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background-color: white;
    border: 1px solid #E3E3E3;
    border-radius: 10px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cont1 .card:hover {
    border-color: #004ECE;
    box-shadow: 0 2px 5px rgba(0, 78, 206, 0.2);
}

.cont1 .badge {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: rgba(58, 132, 255, 0.1);
    color: #004ECE;
    font-size: var(--font-lg);
    font-weight: 600;
    line-height: 32px;
}

.cont1 .card:hover .badge {
    background-color: #0464FF;
    color: white;
}

.cont1 .text {
    flex: 1;
    font-size: var(--font-lg);
    font-weight: 500;
    line-height: 1.6;
}

.cont1 .card:hover .text {
    font-weight: 600;
}

@media (max-width:1280px) {
    .bg-height {
        height: 24px;
        margin-top: -24px;
        margin-bottom: 16px;
    }

    .cont1 .usage-list {
        gap: 18px;
    }

    .cont1 .card {
        gap: 16px;
        padding: 18px 26px;
        border-radius: 10px;
    }

    .cont1 .badge {
        width: 38px;
        height: 38px;
        font-size: var(--font-md);
        line-height: 1;
    }

    .cont1 .text {
        font-size: var(--font-md);
        line-height: 1.6;
    }
}

@media (max-width:1024px) {
    .bg-height {
        height: 22px;
        margin-top: -22px;
        margin-bottom: 14px;
    }

    .cont1 .usage-list {
        gap: 16px;
    }

    .cont1 .card {
        gap: 14px;
        padding: 17px 22px;
        border-radius: 10px;
    }

    .cont1 .badge {
        width: 36px;
        height: 36px;
    }

    .cont1 .text {
        line-height: 1.55;
    }
}

@media (max-width:768px) {
    .bg-height {
        height: 20px;
        margin-top: -20px;
        margin-bottom: 12px;
    }

    .cont1 .usage-list {
        gap: 12px;
    }

    .cont1 .card {
        gap: 12px;
        padding: 15px 18px;
        border-radius: 8px;
    }

    .cont1 .badge {
        width: 34px;
        height: 34px;
        border-radius: 6px;
        font-size: var(--font-base);
    }

    .cont1 .text {
        font-size: var(--font-md);
        line-height: 1.5;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
}

@media (max-width:480px) {
    .bg-height {
        height: 16px;
        margin-top: -16px;
        margin-bottom: 10px;
    }

    .cont1 .usage-list {
        gap: 10px;
    }

    .cont1 .card {
        gap: 10px;
        padding: 14px;
        border-radius: 8px;
    }

    .cont1 .badge {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        font-size: var(--font-sm);
    }

    .cont1 .text {
        font-size: var(--font-base);
        line-height: 1.5;
    }
}


/* ==== Content02 ==== */
.cont2 .expenses-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cont2 .item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #E3E3E3;
    background: #F5F9FF;
    border-radius: 10px;
}

.cont2 .item:hover {
    border-color: #08429F;
    box-shadow: 0px 4px 15px rgba(13, 96, 230, 0.3);
}

.cont2 .item img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.cont2 .info {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}

.cont2 .info h3 {
    font-size: var(--font-lg);
    font-weight: 600;
    color: #08429F;
    margin: 0 0 10px 0;
}

.cont2 .info p {
    font-size: var(--font-md);
    color: #414141;
    line-height: 1.6;
}

@media (max-width:1280px) {
    .cont2 .item img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width:1024px) {

    .cont2 .item img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width:768px) {
    .cont2 .expenses-grid {
        gap: 18px;
    }

    .cont2 .item {
        flex-direction: row;
        padding: 18px;
        border-radius: 8px;
    }

    .cont2 .item img {
        width: 80px;
        height: 80px;
    }

    .cont2 .info {
        margin-left: 16px;
    }

    .cont2 .info h3 {
        font-size: var(--font-md);
    }

    .cont2 .info p {
        font-size: var(--font-base);
        line-height: 1.5;
    }
}

@media (max-width:480px) {
    .cont2 .expenses-grid {
        gap: 10px;
    }

    .cont2 .item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px;
    }

    .cont2 .item img {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .cont2 .info {
        margin-left: 0;
    }

    .cont2 .info h3 {
        margin-bottom: 6px;
    }

    .cont2 .info p {
        line-height: 1.5;
    }
}