.educreator-sidebar-summary {
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.educreator-sidebar-summary.is-collapsed {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.educreator-sidebar-summary-toggle {
    color: #d10070;
}

.educreator-sidebar-summary-toggle:hover,
.educreator-sidebar-summary-toggle:focus {
    color: #8f1bb2;
}

.educreator-sidebar-public-profile {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #eef2f7;
}

.educreator-sidebar-public-profile .btn {
    font-weight: 700;
}

.educreator-sidebar-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 0.1rem;
}

.educreator-sidebar-social-link {
    color: #111827 !important;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    font-weight: 700;
    flex: 0 1 auto;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.educreator-sidebar-social-link:hover,
.educreator-sidebar-social-link:focus {
    color: #111827;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.educreator-public-profile-btn {
    color: #fff;
    border: 0;
    background: linear-gradient(90deg, #ff3d7f, #8a2be2);
    box-shadow: 0 8px 18px rgba(255, 61, 127, 0.18);
}

.educreator-public-profile-btn:hover,
.educreator-public-profile-btn:focus {
    color: #fff;
    filter: brightness(0.98);
}

.educreator-sidebar-social-link {
    padding: 8px 16px;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    min-height: 36px;
    color: #111827 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.educreator-public-profile-btn {
    padding: 12px 24px;
    font-weight: 600;
    min-height: 44px;
    color: #fff;
    border: 0;
    background: linear-gradient(90deg, #ff3d7f, #8a2be2);
}

.educreator-sidebar-summary {
    font-size: 12px;
}

.profile-sidebar .educreator-sidebar-badge {
    font-size: 0.75rem !important;
    padding: 8px 8px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.profile-sidebar .profile-location {
    margin-bottom: 12px !important;
}

.profile-sidebar .educreator-sidebar-summary {
    margin-bottom: 16px !important;
    line-height: 1.55 !important;
}

.profile-sidebar .educreator-sidebar-summary-toggle {
    min-height: auto !important;
    padding: 0 !important;
    margin-top: 4px !important;
    margin-bottom: 12px !important;
}

.profile-sidebar .educreator-sidebar-public-profile {
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}

.educreator-breadcrumb-nav {
    margin-bottom: 0.5rem;
}

.educreator-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.educreator-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.25;
}

.educreator-breadcrumb-item + .educreator-breadcrumb-item::before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.55rem;
    color: #9ca3af;
    margin: 0 0.55rem;
    display: inline-block;
}

.educreator-breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
    border-radius: 0.25rem;
    padding: 0.15rem 0;
}

.educreator-breadcrumb-item a:hover {
    color: #c10d81;
}

.educreator-breadcrumb-item.active {
    color: #111827;
    font-weight: 700;
}

.educreator-page-header {
    margin-bottom: 1rem;
}

.educreator-page-header h1 {
    margin-bottom: 0;
    letter-spacing: 0;
}

.educreator-section-heading {
    padding-bottom: 0.9rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.educreator-section-heading h2 {
    margin-bottom: 0.25rem;
    color: #081525;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0;
}

.educreator-section-heading p {
    margin-bottom: 0;
    color: #607086;
    font-size: 0.95rem;
}

.educreator-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.educreator-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.educreator-filter-btn {
    min-height: 42px;
    padding: 0.55rem 1.15rem;
    border: 1px solid rgba(196, 20, 132, 0.16);
    border-radius: 999px;
    background: #fff;
    color: #3b4556;
    font-weight: 700;
    line-height: 1;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.educreator-filter-btn:hover,
.educreator-filter-btn.active {
    border-color: rgba(193, 13, 129, 0.38);
    background: linear-gradient(
        135deg,
        rgba(127, 42, 168, 0.08),
        rgba(225, 0, 83, 0.08)
    );
    color: #c10d81;
}

.educreator-search {
    max-width: 340px;
    min-width: min(100%, 260px);
    overflow: hidden;
    border: 1px solid #c3cfe2;
    border-radius: 999px;
    background: #fff;
}

.educreator-search .input-group-text,
.educreator-search .form-control {
    border: 0;
    background: transparent;
}

.educreator-search .form-control {
    min-height: 46px;
}

.educreator-buyers-search {
    width: 100%;
    max-width: 300px;
    min-width: 220px;
}

.educreator-mutation-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.educreator-mutation-status-filter {
    width: 100%;
    max-width: 220px;
    min-height: 44px;
    padding: 0.55rem 2.5rem 0.55rem 0.9rem;
    border: 1px solid #c3cfe2;
    border-radius: 999px;
    background-color: #fff;
    color: #081525;
    font-size: 0.92rem;
    font-weight: 600;
}

.educreator-mutation-status-filter:focus {
    border-color: #c3cfe2;
    box-shadow: none;
}

.educreator-mutation-search {
    width: 100%;
    max-width: 360px;
    min-width: min(100%, 240px);
}

.educreator-mutation-search .form-control {
    min-height: 44px;
    font-size: 0.92rem;
}

.educreator-mutation-proof {
    max-height: 260px;
    object-fit: contain;
}

.educreator-mutation-note {
    min-height: 44px;
    white-space: pre-wrap;
}

@media (min-width: 992px) {
    .educreator-mutation-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.educreator-table-card {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #f3f4f6;
    border-radius: 0.875rem;
    background: #fff;
}

.educreator-table {
    min-width: 720px;
    margin-bottom: 0;
}

.educreator-table.table-sm {
    min-width: max-content;
}

.educreator-table thead,
.educreator-table-head {
    border-bottom: 1px solid #f3f4f6;
    background: #f9fafb;
    color: #6b7280;
}

.educreator-table th {
    padding: 1rem 0.75rem;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.educreator-table td {
    padding: 1rem 0.75rem;
    border-top: 1px solid #f3f4f6;
    color: #4b5563;
    font-size: 0.875rem;
    vertical-align: middle;
}

.educreator-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

.educreator-table tbody tr:hover {
    background: #f9fafb;
}

.educreator-table td.text-center.text-muted.py-5 {
    height: 170px;
    color: #607086 !important;
    font-weight: 600;
}

.educreator-table th:last-child,
.educreator-table td:last-child,
.fin-table th:last-child,
.fin-table td:last-child {
    color: #6b7280;
}

.educreator-table td:last-child .btn,
.fin-table td:last-child .btn {
    border-color: #d1d5db !important;
    background: #fff !important;
    color: #374151 !important;
    -webkit-text-fill-color: #374151 !important;
    background-image: none !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
}

.educreator-table td:last-child .btn i,
.educreator-table td:last-child .btn span,
.fin-table td:last-child .btn i,
.fin-table td:last-child .btn span {
    color: #374151 !important;
    -webkit-text-fill-color: #374151 !important;
}

.educreator-table td:last-child .btn:hover,
.fin-table td:last-child .btn:hover {
    border-color: #d1d5db !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
}

.educreator-table td:last-child .btn:hover i,
.fin-table td:last-child .btn:hover i {
    color: #374151 !important;
}

.educreator-type-badge {
    color: #fff;
    font-weight: 700;
}

.educreator-type-badge.type-tryout {
    background: #7f2aa8;
}

.educreator-type-badge.type-bimbel {
    background: #3b82f6;
}

.educreator-type-badge.type-kelas {
    background: #e10053;
}

.badge-status {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-status.paid {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.badge-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.badge-status.failed {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.educreator-empty-state {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: #607086;
    text-align: center;
}

.educreator-empty-state .empty-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(127, 42, 168, 0.1),
        rgba(225, 0, 83, 0.1)
    );
    color: #c10d81;
}

.educreator-pagination .page-link {
    min-width: 38px;
    min-height: 38px;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #6b7280;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.educreator-pagination {
    gap: 0.5rem;
    justify-content: center !important;
    margin-bottom: 0;
}

.educreator-pagination-bar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.educreator-pagination-info {
    color: #607086;
    font-size: 0.875rem;
}

.educreator-pagination-bar nav {
    width: 100%;
}

.educreator-page .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.educreator-page .fin-table {
    min-width: 720px;
}

@media (min-width: 768px) {
    .educreator-pagination-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .educreator-pagination-bar nav {
        width: auto;
    }

    .educreator-pagination {
        justify-content: flex-end !important;
    }
}

.educreator-pagination .page-item.active .page-link {
    border-color: transparent;
    background: linear-gradient(90deg, #7f2aa8, #e10053);
    color: #fff;
    box-shadow: 0 10px 24px rgba(193, 13, 129, 0.18);
}

.educreator-pagination .page-item.disabled .page-link {
    color: #a8b1bf;
    box-shadow: none;
    background: #fff;
}

.educreator-pagination .page-link:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #374151;
}

.educreator-pagination .page-item.active .page-link:hover {
    border-color: transparent;
    background: linear-gradient(90deg, #7f2aa8, #e10053);
    color: #fff;
}

.educreator-commission-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 2px 3px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.educreator-commission-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #7f2aa8, #e10053);
}

.educreator-commission-card:hover {
    transform: translateY(-2px);
    border-color: rgba(193, 13, 129, 0.16);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.12);
}

.educreator-commission-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.educreator-commission-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(
        135deg,
        rgba(127, 42, 168, 0.12),
        rgba(225, 0, 83, 0.12)
    );
    color: #c10d81;
    font-size: 1.25rem;
}

.educreator-commission-card.accent-blue::before {
    background: linear-gradient(180deg, #2563eb, #06b6d4);
}

.educreator-commission-card.accent-blue::after {
    background: rgba(37, 99, 235, 0.08);
}

.educreator-commission-card.accent-blue .educreator-commission-icon {
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.12),
        rgba(6, 182, 212, 0.12)
    );
    color: #2563eb;
}

.educreator-commission-card.accent-green::before {
    background: linear-gradient(180deg, #059669, #84cc16);
}

.educreator-commission-card.accent-green::after {
    background: rgba(5, 150, 105, 0.08);
}

.educreator-commission-card.accent-green .educreator-commission-icon {
    background: linear-gradient(
        135deg,
        rgba(5, 150, 105, 0.12),
        rgba(132, 204, 22, 0.12)
    );
    color: #059669;
}

.educreator-commission-label {
    color: #607086;
    font-size: 0.875rem;
    font-weight: 600;
}

.educreator-commission-value {
    margin-top: 0.15rem;
    color: #111827;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.15;
}

.educreator-page .ck.ck-sticky-panel .ck-sticky-panel__content,
.educreator-page .ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
    position: static !important;
    top: auto !important;
    width: auto !important;
    transform: none !important;
}

.educreator-page .ck.ck-sticky-panel .ck-sticky-panel__placeholder {
    display: none !important;
}

.wizard-choice {
    border-color: rgba(15, 23, 42, 0.08) !important;
    border-radius: 1rem !important;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.wizard-choice:hover,
.wizard-choice.active {
    border-color: rgba(193, 13, 129, 0.45) !important;
    background: linear-gradient(
        135deg,
        rgba(127, 42, 168, 0.075),
        rgba(225, 0, 83, 0.075)
    );
    box-shadow: 0 18px 40px rgba(193, 13, 129, 0.14);
    transform: translateY(-1px);
}

.wizard-choice.active {
    outline: 2px solid rgba(193, 13, 129, 0.2);
    outline-offset: 2px;
}

.educreator-option-hero {
    position: relative;
    overflow: hidden;
    padding: 2.25rem;
    border: 1px solid #c3cfe2;
    border-radius: 1rem;
    text-align: center;
}

.educreator-option-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(193, 13, 129, 0.18);
    border-radius: 999px;
    background: rgba(193, 13, 129, 0.07);
    color: #c10d81;
    font-size: 0.82rem;
    font-weight: 800;
}

.educreator-option-title {
    max-width: 760px;
    margin: 0 auto 1rem;
    color: #081525;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0;
}

.educreator-option-stats {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
}

.educreator-option-stats > div {
    min-width: 110px;
    padding: 0.7rem 1rem;
    border: 1px solid #c3cfe2;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.78);
}

.educreator-option-stats span {
    display: block;
    color: #c10d81;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.educreator-option-stats small {
    color: #607086;
    font-weight: 700;
}

.educreator-option-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.educreator-option-panel {
    padding: 1.25rem;
    border: 1px solid #c3cfe2;
    border-radius: 1rem;
    background: #fff;
}

.educreator-pretest-card {
    min-width: 240px;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.educreator-pretest-card.is-good {
    border-color: rgba(25, 135, 84, 0.32);
    background: rgba(25, 135, 84, 0.035);
}

.educreator-pretest-card.is-risk {
    border-color: rgba(220, 53, 69, 0.32);
    background: rgba(220, 53, 69, 0.035);
}

.educreator-pretest-card.is-empty {
    border-color: rgba(108, 117, 125, 0.28);
}

.educreator-form-card {
    padding: 1.25rem;
    border: 1px solid #c3cfe2;
    border-radius: 1rem;
    background: #fff;
}

.educreator-promo-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.educreator-promo-type-option {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid #dbe3ef;
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.educreator-promo-type-option.active {
    border-color: rgba(193, 13, 129, 0.42);
    background: linear-gradient(
        135deg,
        rgba(127, 42, 168, 0.06),
        rgba(225, 0, 83, 0.06)
    );
    box-shadow: 0 10px 24px rgba(193, 13, 129, 0.08);
}

.educreator-promo-type-option .form-check-input {
    margin: 0;
}

.educreator-promo-config-card {
    padding: 1rem;
    border: 1px solid #dbe3ef;
    border-radius: 1rem;
    background: #fff;
}

.educreator-form-card .form-group {
    margin-bottom: 0.75rem !important;
}

.educreator-settings-meta,
.educreator-settings-label {
    font-size: 0.9375rem;
}

.educreator-settings-label {
    color: var(--text-primary);
}

.educreator-min-w-0 {
    min-width: 0;
}

.educreator-sosmed-link {
    max-width: 100%;
}

.educreator-settings-textarea {
    min-height: 120px;
    overflow: hidden;
    resize: none;
}

.educreator-confirm-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.educreator-confirm-modal .modal-body {
    padding: 0;
}

.educreator-confirm-hero {
    padding: 1.5rem 1.5rem 1.25rem;
    background: linear-gradient(
        135deg,
        rgba(127, 42, 168, 0.09),
        rgba(225, 0, 83, 0.09)
    );
    text-align: center;
}

.educreator-confirm-icon {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: #c10d81;
    font-size: 1.8rem;
    box-shadow: 0 14px 34px rgba(193, 13, 129, 0.18);
}

.educreator-confirm-content {
    padding: 1.5rem;
    text-align: center;
}

.educreator-confirm-content h6 {
    color: #081525;
    font-size: 1.15rem;
    font-weight: 800;
}

.educreator-confirm-content p {
    max-width: 420px;
    margin: 0 auto;
    color: #607086;
    font-size: 0.95rem;
}

.educreator-confirm-actions {
    padding: 0 1.5rem 1.5rem;
}

#saveEducreatorSettingsModal .educreator-confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(520px, calc(100vw - 2rem));
    max-width: 520px;
    margin: 0;
    transform: translate(-50%, -50%) scale(0.96);
    transform-origin: center center;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

#saveEducreatorSettingsModal.show .educreator-confirm-modal {
    transform: translate(-50%, -50%) scale(1);
}

.educreator-attachment-form-grid {
    align-items: stretch;
}

.educreator-attachment-status-switch {
    min-height: 38px;
}

.educreator-attachment-current-file {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.875rem;
}

.educreator-attachment-current-file a {
    color: #c10d81;
    word-break: break-word;
}

.educreator-attachment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.educreator-underlined-input {
    min-height: 58px;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.educreator-underlined-input:focus-within {
    border-color: rgba(193, 13, 129, 0.32) !important;
    box-shadow: 0 12px 28px rgba(193, 13, 129, 0.08);
}

.educreator-underlined-input.border-danger {
    border-color: #dc3545 !important;
}

.educreator-underlined-input .form-floating {
    width: 100%;
}

.educreator-underlined-input .form-control,
.educreator-underlined-input .form-select {
    border-radius: 0.9rem;
    background: transparent;
}

@media (max-width: 575.98px) {
    .educreator-toolbar {
        align-items: stretch;
    }

    .educreator-search {
        max-width: 100%;
    }

    .educreator-filter-btn {
        flex: 1 1 auto;
    }

    .educreator-mutation-status-filter,
    .educreator-mutation-search {
        max-width: 100%;
    }

    .educreator-option-hero {
        padding: 1.35rem;
    }

    #saveEducreatorSettingsModal .educreator-confirm-modal {
        width: calc(100vw - 1.25rem);
    }

    .educreator-attachment-actions {
        flex-direction: column-reverse;
    }

    .educreator-attachment-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .educreator-finance-page #summary-cards > [class*="col-"] {
        width: 100%;
        flex: 0 0 auto;
    }

    .educreator-finance-page #summary-cards .card-body {
        align-items: center !important;
        padding: 0.875rem 1rem !important;
    }
}

@keyframes dashFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dash-animate {
    animation: dashFadeUp 0.45s ease-out both;
}

.dash-animate-delay-1 {
    animation-delay: 0.06s;
}

.dash-animate-delay-2 {
    animation-delay: 0.12s;
}

.dash-animate-delay-3 {
    animation-delay: 0.18s;
}

.dash-animate-delay-4 {
    animation-delay: 0.24s;
}

.dash-welcome {
    background: linear-gradient(
        135deg,
        rgba(127, 42, 168, 0.06) 0%,
        rgba(225, 0, 83, 0.06) 100%
    );
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.dash-welcome h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.dash-welcome p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.dash-stat-card {
    background: #fff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dash-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(127, 42, 168, 0.12);
}

.dash-stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 1rem 0 0 1rem;
}

.dash-stat-card.accent-purple::before {
    background: linear-gradient(180deg, #7f2aa8, #a855f7);
}

.dash-stat-card.accent-pink::before {
    background: linear-gradient(180deg, #e10053, #f472b6);
}

.dash-stat-card.accent-blue::before {
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
}

.dash-stat-card.accent-amber::before {
    background: linear-gradient(180deg, #f59e0b, #fbbf24);
}

.dash-stat-card.accent-green::before {
    background: linear-gradient(180deg, #10b981, #34d399);
}

.dash-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-stat-icon.icon-purple {
    background: rgba(127, 42, 168, 0.1);
    color: #7f2aa8;
}

.dash-stat-icon.icon-pink {
    background: rgba(225, 0, 83, 0.1);
    color: #e10053;
}

.dash-stat-icon.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.dash-stat-icon.icon-amber {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.dash-stat-icon.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.dash-stat-icon i,
.dash-stat-icon svg {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.dash-stat-label {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.dash-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(128deg, #7f2aa8 8%, #e10053 81%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-progress-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.dash-product-item {
    background: #f9fafb;
    border-radius: 0.875rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid transparent;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.dash-product-item:hover {
    background: #f3f4f6;
}

.dash-product-item:last-child {
    margin-bottom: 0;
}

.dash-product-enter {
    animation: dashFadeUp 0.4s ease-out both;
}

.dash-product-item.type-tryout {
    border-left-color: #7f2aa8;
}

.dash-product-item.type-bimbel {
    border-left-color: #3b82f6;
}

.dash-product-item.type-kelas {
    border-left-color: #e10053;
}

.dash-badge-tryout {
    background: #7f2aa8 !important;
}

.dash-badge-bimbel {
    background: #3b82f6 !important;
}

.dash-badge-kelas {
    background: #e10053 !important;
}

.dash-progress {
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
}

.dash-progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.dash-progress-bar.bar-tryout {
    background: linear-gradient(90deg, #7f2aa8, #a855f7);
}

.dash-progress-bar.bar-bimbel {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.dash-progress-bar.bar-kelas {
    background: linear-gradient(90deg, #e10053, #f472b6);
}

.dash-percent {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

.dash-empty svg,
.dash-empty-icon {
    width: 120px;
    height: 120px;
    opacity: 0.7;
}

.dash-empty-icon {
    color: #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 84px;
}

.dash-empty h6 {
    font-weight: 700;
    color: #374151;
}

.dash-empty p {
    font-size: 0.875rem;
    color: #9ca3af;
}

@keyframes finFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fin-animate {
    animation: finFadeUp 0.45s ease-out both;
}

.fin-animate-delay-1 {
    animation-delay: 0.06s;
}

.fin-animate-delay-2 {
    animation-delay: 0.12s;
}

.fin-animate-delay-3 {
    animation-delay: 0.18s;
}

.fin-animate-delay-4 {
    animation-delay: 0.24s;
}

.fin-welcome {
    background: linear-gradient(
        135deg,
        rgba(127, 42, 168, 0.05) 0%,
        rgba(225, 0, 83, 0.05) 100%
    );
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(127, 42, 168, 0.08);
}

.fin-welcome h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.fin-welcome p {
    margin-bottom: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.fin-stat-card {
    background: #fff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.fin-stat-card .card-body {
    min-width: 0;
}

.fin-stat-card .card-body > div:last-child {
    min-width: 0;
    flex: 1 1 auto;
}

.fin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(127, 42, 168, 0.1);
}

.fin-stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 1rem 0 0 1rem;
}

.fin-stat-card.accent-purple::before {
    background: linear-gradient(180deg, #7f2aa8, #a855f7);
}

.fin-stat-card.accent-blue::before {
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
}

.fin-stat-card.accent-amber::before {
    background: linear-gradient(180deg, #f59e0b, #fbbf24);
}

.fin-stat-card.accent-red::before {
    background: linear-gradient(180deg, #ef4444, #f87171);
}

.fin-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fin-stat-icon.icon-purple {
    background: rgba(127, 42, 168, 0.1);
    color: #7f2aa8;
}

.fin-stat-icon.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.fin-stat-icon.icon-amber {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.fin-stat-icon.icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.fin-stat-icon i,
.fin-stat-icon svg {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.fin-stat-label {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.fin-stat-value {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 800;
    line-height: 1.2;
    color: #1f2937;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.fin-stat-value.revenue-text {
    background: linear-gradient(128deg, #7f2aa8 8%, #e10053 81%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fin-link-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.fin-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(127, 42, 168, 0.08);
    border-color: rgba(127, 42, 168, 0.15);
}

.fin-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s ease,
        color 0.2s ease;
    flex: 0 0 44px;
}

.fin-link-card > div {
    min-width: 0;
}

.fin-link-card .fw-bold,
.fin-link-card .small {
    overflow-wrap: anywhere;
}

.fin-link-icon.purple {
    background: rgba(127, 42, 168, 0.1);
    color: #7f2aa8;
}

.fin-link-icon.pink {
    background: rgba(225, 0, 83, 0.1);
    color: #e10053;
}

.fin-link-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.fin-link-card:hover .fin-link-icon.purple {
    background: #7f2aa8;
    color: #fff !important;
}

.fin-link-card:hover .fin-link-icon.pink {
    background: #e10053;
    color: #fff !important;
}

.fin-link-card:hover .fin-link-icon.blue {
    background: #3b82f6;
    color: #fff !important;
}

.fin-section-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.01);
    padding: 1.25rem;
}

.fin-search {
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb !important;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.fin-search:focus-within {
    border-color: #7f2aa8 !important;
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(127, 42, 168, 0.08);
}

.fin-search .form-control:focus,
.fin-search .input-group-text:focus {
    box-shadow: none !important;
    outline: 0 !important;
}

.fin-select {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.5rem 2rem 0.5rem 1rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.fin-select:focus {
    border-color: #7f2aa8;
    box-shadow: none;
}

.fin-table-card {
    border-radius: 0.875rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #f3f4f6;
}

.fin-table {
    min-width: 720px;
}

.fin-table thead {
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

.fin-table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6b7280;
    padding: 1rem 0.75rem;
}

.fin-table td {
    font-size: 0.875rem;
    color: #4b5563;
    padding: 1rem 0.75rem;
}

.fin-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

.fin-table tbody tr:hover {
    background: #f9fafb;
}

.fin-date-range {
    cursor: pointer;
    font-size: 0.875rem;
}

.fin-type-select {
    width: auto;
    min-width: 160px;
}

.fin-table-search {
    min-width: 240px;
    width: 100%;
    max-width: 320px;
}

@media (max-width: 767.98px) {
    .fin-type-select,
    .fin-table-search {
        width: 100%;
        max-width: 100%;
    }
}

#incomeDetailModal .modal-footer {
    gap: 0.5rem;
}

#incomeDetailModal .modal-footer .btn,
#incomeDetailModal #btn-refund {
    min-height: 38px !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
}

@media (max-width: 575.98px) {
    .fin-stat-icon {
        width: 36px;
        height: 36px;
        border-radius: 0.65rem;
    }

    .fin-stat-label {
        font-size: 0.68rem;
    }

    .fin-stat-value {
        font-size: 1.15rem;
    }
}
