

.dsm-front .dashicons{font-family:dashicons!important}
.dsm-client-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.dsm-client-kicker{font-size:10px;letter-spacing:1.8px;color:#a855f7;font-weight:800}
.dsm-client-head h2{font-size:27px!important;margin:7px 0 5px!important}
.dsm-client-head p{margin:0!important}
.dsm-account-pill{border:1px solid #4c3670;background:#24183d;color:#d8b4fe;border-radius:30px;padding:7px 12px;font-size:10px;font-weight:700;white-space:nowrap}
.dsm-client-stats{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:13px;margin:22px 0 28px}
.dsm-client-stat{background:#17112d;border:1px solid #302648;border-radius:13px;padding:19px;display:flex;flex-direction:column;gap:6px}
.dsm-client-stat small{font-size:11px;color:#a5a0b8}.dsm-client-stat strong{font-size:24px;color:#fff}.dsm-client-stat span{font-size:10px;color:#9189a6}
.dsm-client-balance{background:linear-gradient(125deg,#5421b8,#7c3aed 70%,#3b82f6);border-color:transparent}.dsm-client-balance small,.dsm-client-balance span{color:#eee2ff}.dsm-client-balance strong{font-size:22px}
.dsm-client-section-title{font-size:16px;color:#fff;margin:0 0 13px}
.dsm-client-modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dsm-client-modules a,.dsm-client-modules .dsm-module-card{display:flex;flex-direction:column;gap:8px;padding:17px;background:#17112d;border:1px solid #302648;border-radius:12px;text-decoration:none;transition:.2s}
.dsm-client-modules a:hover{border-color:#8b5cf6;transform:translateY(-2px)}
.dsm-client-modules .dashicons{font-size:22px;color:#a855f7;width:25px;height:25px}
.dsm-client-modules strong{font-size:12px;color:#fff}.dsm-client-modules small{font-size:10px;color:#9f97b3;line-height:1.5}
.dsm-client-notice{display:flex;gap:10px;align-items:flex-start;background:#17112d;border:1px solid #382957;border-radius:10px;padding:13px;margin-top:22px}
.dsm-client-notice .dashicons{color:#a78bfa}.dsm-client-notice p{margin:0!important;font-size:11px;line-height:1.7}
.dsm-primary-link{display:inline-block;padding:10px 17px;background:linear-gradient(110deg,#7c3aed,#a855f7);border-radius:8px;color:#fff!important;text-decoration:none;font-weight:700}
@media(max-width:800px){.dsm-client-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.dsm-client-stats{grid-template-columns:1fr 1fr}.dsm-client-balance{grid-column:1/-1}}
@media(max-width:480px){.dsm-client-head{display:block}.dsm-account-pill{display:inline-block;margin-top:12px}.dsm-client-stats{grid-template-columns:1fr 1fr}.dsm-client-modules{grid-template-columns:1fr 1fr}.dsm-client-head h2{font-size:22px!important}}


/* MakMediaDigital black & red brand system */
.dsm-front{background:#080808;border-color:#292020}
.dsm-form{background:#1A1A1A;border-color:#382020}
.dsm-form input{background:#101010;border-color:#553030}
.dsm-form input:focus{outline-color:#EF2929;border-color:#FF5555}
.dsm-form button,.dsm-front button,.dsm-primary-link{background:linear-gradient(110deg,#D71920,#EF2929)}
.dsm-client-kicker{color:#FF5555}
.dsm-account-pill{border-color:#6B2525;background:#2B1515;color:#FFB0B0}
.dsm-client-stat{background:#1A1A1A;border-color:#382020}
.dsm-client-balance{background:linear-gradient(125deg,#8F1111,#D71920 70%,#EF2929);border-color:transparent}
.dsm-client-modules a,.dsm-client-modules .dsm-module-card{background:#1A1A1A;border-color:#382020}
.dsm-client-modules a:hover{border-color:#EF2929}
.dsm-client-modules .dashicons,.dsm-client-notice .dashicons{color:#FF5555}
.dsm-client-notice{background:#1A1A1A;border-color:#572222}
.dsm-service{background:linear-gradient(145deg,#1E1111,#111010);border-color:#382020}
.dsm-service small,.dsm-service strong{color:#FF7777}
.dsm-balance{background:linear-gradient(120deg,#8F1111,#EF2929);box-shadow:0 12px 30px rgba(239,41,41,.18)}
.dsm-front-links a{background:#241414;color:#FFB0B0;border-color:#572222}
.dsm-table{background:#1A1A1A}
.dsm-table th{color:#FFB0B0;background:#241414}
.dsm-table th,.dsm-table td{border-color:#382020}
.dsm-error{color:#ff9999!important}
.dsm-success{color:#86efac!important}
.dsm-client-modules .dsm-module-card{display:flex;flex-direction:column;gap:8px;padding:17px;border:1px solid #382020;border-radius:12px}


/* v0.5.0 — Reseller commercial workspace */
.dsm-reseller-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:10px 0 24px}
.dsm-reseller-head h2{margin:8px 0;color:#fff;font-size:28px;font-weight:800}
.dsm-reseller-head p{margin:0;color:#b8b8b8}
.dsm-reseller-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px}
.dsm-reseller-kpis>div,.dsm-reseller-card{background:#191919;border:1px solid #302020;border-radius:15px;padding:20px}
.dsm-reseller-kpis small{display:block;color:#aaa;margin-bottom:8px}
.dsm-reseller-kpis strong{display:block;color:#fff;font-size:25px;font-weight:800}
.dsm-reseller-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:16px;margin-bottom:18px}
.dsm-reseller-card h3{margin:0 0 8px;color:#fff;font-size:18px}
.dsm-reseller-card>p{color:#aaa;font-size:13px;line-height:1.6}
.dsm-reseller-card label{display:block;color:#ddd;font-size:13px;font-weight:600;margin:13px 0}
.dsm-reseller-card input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border-radius:8px;border:1px solid #493030;background:#101010;color:#fff;min-height:42px}
.dsm-reseller-card input:focus{outline:1px solid #ef2929;border-color:#ef2929}
.dsm-reseller-card button{border:0;border-radius:8px;padding:11px 16px;background:#ef2929;color:#fff;font-weight:700;cursor:pointer}
.dsm-reseller-card button:hover{background:#c91e25}
.dsm-reseller-table-wrap{width:100%;overflow-x:auto}
.dsm-reseller-table-wrap .dsm-table{min-width:560px}
.dsm-reseller-pricing{margin-bottom:18px}
.dsm-reseller-price-form{display:contents}
.dsm-reseller-price-form input{min-width:112px;width:130px;padding:8px}
.dsm-reseller-price-form button{white-space:nowrap;padding:9px 12px}
.dsm-reseller-pricing .dsm-table td{vertical-align:middle}
@media(max-width:850px){.dsm-reseller-layout{grid-template-columns:1fr}.dsm-reseller-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.dsm-reseller-head{display:block}.dsm-reseller-head .dsm-account-pill{display:inline-block;margin-top:12px}.dsm-reseller-kpis{grid-template-columns:1fr}.dsm-reseller-card{padding:15px}}


/* v0.6.0 — reseller order desk */
.dsm-reseller-order-create{margin:0 0 18px}
.dsm-reseller-order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dsm-reseller-order-grid select{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border-radius:8px;border:1px solid #493030;background:#101010;color:#fff;min-height:42px}
.dsm-reseller-order-grid label{display:block;color:#ddd;font-size:13px;font-weight:600}
.dsm-reseller-order-grid select:focus{outline:1px solid #ef2929;border-color:#ef2929}
@media(max-width:560px){.dsm-reseller-order-grid{grid-template-columns:1fr}}


/* v0.7.0 — reseller payout requests */
.dsm-payout-card{margin:0 0 18px}
.dsm-payout-card form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:12px 0 20px}
.dsm-payout-card form label{flex:1;min-width:210px}
.dsm-payout-card form button:disabled{opacity:.45;cursor:not-allowed}
.dsm-payout-card h3{margin-top:20px}


/* v0.7.1 — Hide Divi theme chrome only on MakMediaDigital app pages */
body.dsm-app-page #top-header,
body.dsm-app-page #main-header,
body.dsm-app-page #main-footer,
body.dsm-app-page .et-l--header,
body.dsm-app-page .et-l--footer,
body.dsm-app-page .et_builder_inner_content > .et-l--header,
body.dsm-app-page .et_builder_inner_content > .et-l--footer {
    display: none !important;
}
body.dsm-app-page #page-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.dsm-app-page #et-main-area,
body.dsm-app-page #main-content,
body.dsm-app-page .et_builder_inner_content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.dsm-app-page .et_pb_section:first-child {
    padding-top: 0 !important;
}


/* v0.8.0 — Wallet top-ups and service checkout */
.dsm-wallet-topup{margin:18px 0;padding:20px;background:#1A1A1A;border:1px solid #382020;border-radius:14px}
.dsm-wallet-topup h3{margin:0 0 8px;color:#fff;font-size:17px}
.dsm-wallet-topup p{color:#aaa;font-size:13px;line-height:1.6}
.dsm-wallet-topup label,.dsm-service-order-form label{display:block;color:#ddd;font-size:13px;font-weight:600;margin:12px 0}
.dsm-wallet-topup input,.dsm-service-order-form input{display:block;width:100%;max-width:420px;box-sizing:border-box;margin-top:7px;padding:12px;border-radius:8px;border:1px solid #493030;background:#101010;color:#fff;min-height:43px}
.dsm-wallet-topup input:focus,.dsm-service-order-form input:focus{outline:1px solid #ef2929;border-color:#ef2929}
.dsm-wallet-topup button,.dsm-service-order-form button{border:0;border-radius:8px;padding:12px 17px;background:#ef2929;color:#fff;font-weight:700;cursor:pointer}
.dsm-wallet-topup button:hover,.dsm-service-order-form button:hover{background:#c91e25}
.dsm-service-order-form{margin-top:15px;padding-top:12px;border-top:1px solid #382020}
.dsm-service-order-form input{max-width:100%}
.dsm-service-order-form button{width:100%}
.dsm-wallet-topup .dsm-table{min-width:560px}
