/* AdLinkFly/AdminLTE member skin for Task2K pages */
body.skin-blue.sidebar-mini,
body.skin-blue.sidebar-mini .content-wrapper { background: #ecf0f5 !important; }

/* Task cards */
.km-hero { background: #3c8dbc !important; border: 0 !important; color: #fff !important; box-shadow: 0 6px 14px rgba(60,141,188,.22) !important; }
.km-hero-title, .km-hero-desc { color: #fff !important; }
.km-btn-top, .km-btn-action { background: #3c8dbc !important; border-color: #367fa9 !important; color: #fff !important; box-shadow: none !important; }
.km-btn-top:hover, .km-btn-action:hover:not(:disabled) { background: #367fa9 !important; color: #fff !important; }
.km-notice { background: #e8f4fb !important; border-color: #b7dcef !important; color: #245269 !important; }
.km-notice strong { color: #245269 !important; }
.km-telegram-callout { background: #fff !important; border-color: #d2d6de !important; color: #3c8dbc !important; box-shadow: 0 2px 5px rgba(0,0,0,.06) !important; }
.km-telegram-title, .km-telegram-copy { color: #3c4858 !important; }
.km-telegram-icon { background: #3c8dbc !important; }
.km-telegram-cta { background: #3c8dbc !important; color: #fff !important; }
.km-card, .km-table-box { background: #fff !important; border-color: #d2d6de !important; box-shadow: 0 2px 5px rgba(0,0,0,.06) !important; }
.km-card:hover { border-color: #3c8dbc !important; box-shadow: 0 4px 10px rgba(60,141,188,.14) !important; }
.km-task-badge { background: #e8f4fb !important; color: #3c8dbc !important; }
.km-reward-num, .km-progress-fill { color: #3c8dbc !important; background-color: #3c8dbc !important; }
.km-progress-track { background: #e5e7eb !important; }
.km-table-header { background: #fff !important; border-color: #d2d6de !important; }
.km-table-header h3, .km-table th { color: #3c4858 !important; }
.km-table th { background: #f4f4f4 !important; border-color: #d2d6de !important; }
.km-table td { color: #444 !important; border-color: #eee !important; }
.km-link-box, .km-progress-box { background: #f8f8f8 !important; border-color: #d2d6de !important; }
.km-btn-copy, .km-btn-reopen { background: #fff !important; color: #3c8dbc !important; border-color: #3c8dbc !important; }
.km-tag-success { background: #e8f5e9 !important; color: #008d4c !important; border-color: #c8e6c9 !important; }
.km-tag-pending, .km-tag-review { background: #e8f4fb !important; color: #3c8dbc !important; border-color: #b7dcef !important; }

/* Withdraw/referral cards, tabs, panels and forms */
.ft-stat-card, .ref-link-card, .ft-notice-box, .ft-nav-tabs, .tab-content .box { background: #fff !important; border-color: #d2d6de !important; box-shadow: 0 2px 5px rgba(0,0,0,.06) !important; }
.ft-stat-card.stat-available { background: #3c8dbc !important; border: 0 !important; color: #fff !important; }
.ft-stat-card.stat-available *, .ft-stat-card.stat-available .ft-stat-label, .ft-stat-card.stat-available .ft-stat-value { color: #fff !important; }
.ft-stat-card.stat-pending { border-top: 3px solid #f39c12 !important; }
.ft-stat-card.stat-paid { border-top: 3px solid #00a65a !important; }
.ft-stat-label, .ft-stat-value { color: #444 !important; }
.ft-nav-tab-item { color: #777 !important; border-color: transparent !important; }
.ft-nav-tab-item.active { color: #3c8dbc !important; background: #e8f4fb !important; border-color: #3c8dbc !important; }
.ft-nav-tab-item:hover:not(.active) { color: #3c8dbc !important; background: #f4f4f4 !important; }
.ft-notice-box { color: #444 !important; }
.ft-notice-header, .ft-notice-box strong { color: #3c8dbc !important; }
.bank-pill, .telco-card, .denom-btn, .qty-btn { background: #fff !important; color: #444 !important; border-color: #d2d6de !important; }
.bank-pill:hover, .telco-card:hover, .denom-btn:hover, .qty-btn:hover, .telco-card.active, .denom-btn.active { color: #3c8dbc !important; background: #e8f4fb !important; border-color: #3c8dbc !important; }
.qty-btn.active { background: #3c8dbc !important; color: #fff !important; }
.ft-table, .ft-invoice-box { background: #fff !important; color: #444 !important; border-color: #d2d6de !important; }
.ft-table th { background: #f4f4f4 !important; color: #444 !important; border-color: #d2d6de !important; }
.ft-table td { color: #444 !important; border-color: #eee !important; }
.ft-stat-card button, .ft-stat-card .btn, .ft-notice-box .btn, .tab-content .btn-primary, .tab-content .btn-success { background: #3c8dbc !important; border-color: #367fa9 !important; color: #fff !important; }
.tab-content label, .tab-content p, .tab-content td, .tab-content th { color: #444 !important; }
.tab-content .form-control { background: #fff !important; color: #333 !important; border-color: #d2d6de !important; }
.modal .modal-content { background: #fff !important; color: #444 !important; border-color: #d2d6de !important; }
.modal .modal-header, .modal .modal-footer { background: #f4f4f4 !important; border-color: #d2d6de !important; }
.modal .modal-title { color: #3c8dbc !important; }

@media (max-width: 767px) {
  .content-wrapper { background: #ecf0f5 !important; }
  .km-hero, .ft-stat-card, .km-card, .ft-nav-tabs, .ft-notice-box { border-radius: 3px !important; }
  .km-btn-action, .ft-stat-card button, .tab-content .btn { min-height: 42px; }
}

/* Final AdLinkFly polish for Member identity, profile and withdrawals */
.task2k-side-brand { display:block; padding:17px 15px 18px; margin:0 10px 16px; color:#fff; background:#3c8dbc; border-radius:3px; text-align:center; font-size:22px; font-weight:700; letter-spacing:1.5px; box-shadow:0 2px 5px rgba(0,0,0,.12); }
.profile-hero { background:#3c8dbc !important; border-radius:3px !important; box-shadow:0 2px 5px rgba(0,0,0,.12) !important; }
.profile-avatar-wrap { background:#367fa9 !important; box-shadow:none !important; }
.profile-card { border-radius:3px !important; border:1px solid #d2d6de !important; box-shadow:0 2px 5px rgba(0,0,0,.06) !important; }
.profile-card-header { background:#f4f4f4 !important; border-bottom:1px solid #d2d6de !important; color:#3c4858 !important; }
.profile-card-header h3, .profile-card-body label { color:#444 !important; }
.form-control-custom { border-color:#d2d6de !important; border-radius:3px !important; color:#333 !important; background:#fff !important; }
.btn-save-profile, .profile-card .btn-success, .profile-card .btn-primary { background:#3c8dbc !important; border-color:#367fa9 !important; color:#fff !important; border-radius:3px !important; }
.profile-card [style*="linear-gradient"], .profile-hero [style*="linear-gradient"] { background:#3c8dbc !important; }
/* Withdraw page: force classic AdLinkFly/AdminLTE white panels and blue actions */
.ft-page, .withdraw-page, .withdraw-wrapper { color:#444 !important; background:#ecf0f5 !important; }
.ft-stat-card { border-radius:3px !important; }
.ft-stat-card.stat-available { background:#3c8dbc !important; }
.ft-nav-tabs { border-radius:3px !important; }
.ft-nav-tab-item.active { color:#3c8dbc !important; background:#e8f4fb !important; border-bottom:3px solid #3c8dbc !important; }
.ft-notice-box { border-radius:3px !important; }
.ft-form-card, .ft-panel, .withdraw-card { background:#fff !important; border:1px solid #d2d6de !important; border-radius:3px !important; box-shadow:0 2px 5px rgba(0,0,0,.06) !important; }
.ft-form-card h3, .ft-panel h3, .withdraw-card h3 { color:#3c4858 !important; }

/* Highest-specificity AdLinkFly withdrawal skin */
html body .ft-stat-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:15px !important; margin-bottom:20px !important; }
html body .ft-stat-card { min-height:132px !important; padding:22px 24px !important; border-radius:3px !important; background:#fff !important; border:1px solid #d2d6de !important; box-shadow:0 2px 5px rgba(0,0,0,.08) !important; }
html body .ft-stat-card.stat-available { background:#00a7d0 !important; border:0 !important; color:#fff !important; }
html body .ft-stat-card.stat-pending { border-top:3px solid #f39c12 !important; }
html body .ft-stat-card.stat-paid { border-top:3px solid #00a65a !important; }
html body .ft-stat-card .ft-stat-label, html body .ft-stat-card .ft-stat-value { color:#444 !important; }
html body .ft-stat-card.stat-available .ft-stat-label, html body .ft-stat-card.stat-available .ft-stat-value { color:#fff !important; }
html body .ft-stat-card .ft-stat-icon { color:#3c8dbc !important; }
html body .ft-stat-card.stat-available .ft-stat-icon { color:#fff !important; }
html body .ft-nav-tabs { border-radius:3px !important; background:#fff !important; border:1px solid #d2d6de !important; padding:5px !important; }
html body .ft-nav-tab-item { border-radius:3px !important; color:#777 !important; }
html body .ft-nav-tab-item.active { color:#3c8dbc !important; background:#e8f4fb !important; border:1px solid #3c8dbc !important; box-shadow:none !important; }
html body .ft-notice-box { border-radius:3px !important; background:#fff !important; border:1px solid #d2d6de !important; color:#444 !important; }
html body .ft-notice-header { color:#3c8dbc !important; }
html body .tab-content > .tab-pane .box { border-radius:3px !important; border-top:3px solid #3c8dbc !important; background:#fff !important; box-shadow:0 2px 5px rgba(0,0,0,.08) !important; }
html body .tab-content > .tab-pane .box-header { background:#f4f4f4 !important; border-bottom:1px solid #d2d6de !important; color:#444 !important; }
html body .tab-content > .tab-pane .box-footer { background:#fff !important; border-top:1px solid #eee !important; }
html body .ft-invoice-box { border-radius:3px !important; background:#fff !important; border:1px solid #d2d6de !important; color:#444 !important; }
@media (max-width:767px) { html body .ft-stat-grid { grid-template-columns:1fr 1fr !important; } html body .ft-stat-card.stat-available { grid-column:1 / -1 !important; } }

/* Brand must fill the full sidebar action frame */
html body .main-sidebar .sidebar .task2k-side-brand { display:block !important; width:100% !important; box-sizing:border-box !important; margin:0 0 18px !important; padding:19px 8px !important; min-height:62px !important; background:#3c8dbc !important; color:#fff !important; text-align:center !important; font-size:29px !important; line-height:1.15 !important; font-weight:900 !important; letter-spacing:2px !important; text-shadow:0 1px 1px rgba(0,0,0,.18) !important; border-radius:0 !important; }
