/* =========================
   INVOICES WRAPPER
========================= */
.mh-invoices {
    font-family: "DM Sans", sans-serif;
}

/* =========================
   NO DATA
========================= */
.mh-invoices__no-data {
    background-color: #ffffff;
    color: #000000;
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
    margin: 10px 0;
    border: 1px solid #d5dfff;
}

/* =========================
   TITLE / TEXT
========================= */
.my-account-page-breadcrumb {
	font-size: 15px;
}

.my-account-page-breadcrumb a {
	color: #1D1E20;
    transition-duration: 350ms;
}

.my-account-page-breadcrumb a:hover {
	color: #673DE6;
}
.mh-invoices__title {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mh-invoices__text {
    font-size: 15px;
    margin-bottom: 15px;
}

/* =========================
   TABLE
========================= */
.mh-invoices__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #d5dfff;
    border-radius: 8px;
    background: #fff;
}

.mh-invoices__table thead {
    background: #fafbff;
}

.mh-invoices__table thead tr:first-child th:first-child {
    border-top-left-radius: 8px;
}

.mh-invoices__table thead tr:first-child th:last-child {
    border-top-right-radius: 8px;
}

.mh-invoices__table th,
.mh-invoices__table td {
    padding: 18px 20px;
    border-bottom: 1px solid #d5dfff;
    font-size: 15px;
    text-align: left;
}

.mh-invoices__table th {
    font-weight: 600;
}

.mh-invoices__table tbody tr:last-of-type td {
    border-bottom: none;
}

/* =========================
   STATUS
========================= */
.mh-invoices__status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mh-invoices__status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mh-invoices__status--paid .mh-invoices__status-dot {
    background: #7ddf7d;
}

.mh-invoices__status--unpaid .mh-invoices__status-dot {
    background: #fca5a5;
}

/* =========================
   BUTTON
========================= */
.mh-invoices__button {
    text-align: right;
}

.mh-invoices__button a {
    background: #673DE6;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
	transition: 350ms ease-in-out;
}

.mh-invoices__button a:hover {
    background: #5025D1;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    .mh-invoices__table {
        border: none;
        background: transparent;
    }

    .mh-invoices__table thead {
        display: none;
    }

    .mh-invoices__table tbody {
        display: block;
    }

    .mh-invoices__table tr {
        display: block;
        border: 1px solid #d5dfff;
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 12px;
        background: #fff;
    }

    .mh-invoices__table td {
        display: block;
        border-bottom: 1px solid #d5dfff !important;
        padding: 8px 0;
    }

    .mh-invoices__table tr td:last-child {
        border-bottom: none !important;
    }

    .mh-invoices__button {
        text-align: left;
        padding-top: 10px;
    }
	.mh-invoices__table::before {
	    content: attr(data-mobile-title);
	    display: block;
	    font-size: 16px;
	    font-weight: 600;
	    color: #333;
	    background-color: #fafbff;
	    border: 1px solid #d5dfff;
	    border-bottom: none;
	    border-top-left-radius: 8px;
	    border-top-right-radius: 8px;
	    padding: 14px 16px;
	    margin-bottom: -8px;
}
}