/* =========================
   WRAPPER
========================= */
.cd-wrapper {
    font-family: "DM Sans", sans-serif;
}

/* =========================
   TYPOGRAPHY
========================= */

.cd-breadcrumb {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    margin-bottom: 10px;
}

.cd-breadcrumb a {
    color: #1D1E20;
    transition: 350ms ease;
    text-decoration: none;
}

.cd-breadcrumb a:hover {
    color: #673DE6;
}

.cd-title {
    font-family: "DM Sans", sans-serif;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cd-text {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    margin-bottom: 15px;
}

/* =========================
   NO DATA
========================= */

.cd-no-data {
    font-family: "DM Sans", sans-serif;
    background: #fff;
    border: 1px solid #d5dfff;
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
}

/* =========================
   TABLE (CE STYLE MATCH)
========================= */

.cd-table {
	font-family: "DM Sans", sans-serif;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #d5dfff;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

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

.cd-table thead {
    background: #fafbff;
}

.cd-table tbody tr:last-child td {
    border-bottom: none;
}

/* =========================
   STATUS
========================= */

.cd-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cd-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.cd-status.active .cd-status-dot {
    background: #22c55e;
}

.cd-status.pending .cd-status-dot {
    background: #f59e0b;
}

.cd-status.inactive .cd-status-dot {
    background: #ef4444;
}

/* =========================
   ACTION BUTTON
========================= */

.cd-manage {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

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

.cd-manage a:hover {
    background: #5025D1;
}

/* =========================
   MOBILE (CE STYLE MATCH)
========================= */

@media (max-width: 768px) {

    .cd-table {
        border: none;
        background: transparent;
    }

	.cd-table::before {
        content: attr(data-mobile-title);
        display: block;
        font-size: 16px;
        font-weight: 600;
        background: #fafbff;
        border: 1px solid #d5dfff;
        border-bottom: none;
        padding: 14px 16px;
        border-radius: 8px 8px 0 0;
        margin-bottom: -8px;
    }

    .cd-table thead {
        display: none;
    }

    .cd-table tbody {
        display: block;
    }

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

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

    .cd-table td:last-child {
        border-bottom: none !important;
    }

    .cd-manage {
        text-align: left;
        padding-top: 10px;
    }
}