/*----------------------------------------
  LOGIN FORM
------------------------------------------*/

:root {
    --primary-color: #ff5722;
    --primary-dark: #e64a19;
    --dark-color: #151823;
    --muted-color: #7b8190;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(20, 24, 35, 0.08);
}

.login-page {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(255, 87, 34, 0.32), transparent 34%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.25), transparent 34%),
        linear-gradient(135deg, #111827 0%, #1f2937 45%, #0f172a 100%);
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 36px;
    border-radius: 28px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
    animation: loginFadeIn 0.45s ease;
}

.login-brand {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo-wrap {
    width: 108px;
    height: 108px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.14), rgba(255, 255, 255, 0.9));
    box-shadow: 0 14px 30px rgba(255, 87, 34, 0.2);
}

.login-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.login-brand h1 {
    margin: 0;
    color: var(--dark-color);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.login-brand p {
    margin: 8px 0 0;
    color: var(--muted-color);
    font-size: 14px;
}

.login-alert {
    border-radius: 14px;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-group-custom {
    margin-bottom: 18px;
}

.form-group-custom label {
    display: block;
    margin-bottom: 8px;
    color: #2b3142;
    font-size: 14px;
    font-weight: 700;
}

.login-input-group {
    min-height: 54px;
    display: flex;
    align-items: center;
    border: 1px solid #dfe3ea;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: 0.2s ease;
}

.login-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.12);
}

.login-input-group span {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
}

.login-input-group input {
    flex: 1;
    height: 54px;
    border: 0;
    outline: 0;
    padding: 0 14px 0 0;
    background: transparent;
    color: #111827;
    font-size: 15px;
}

.login-input-group input::placeholder {
    color: #a0a7b5;
}

.password-toggle {
    width: 52px;
    height: 54px;
    border: 0;
    background: transparent;
    color: #7b8190;
    font-size: 18px;
    transition: 0.2s;
}

.password-toggle:hover {
    color: var(--primary-color);
    background: rgba(255, 87, 34, 0.06);
}

.login-error {
    margin-top: 7px;
    color: #dc3545;
    font-size: 13px;
}

.login-submit-btn {
    width: 100%;
    min-height: 54px;
    margin-top: 8px;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(255, 87, 34, 0.26);
    transition: 0.2s ease;
}

.login-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(255, 87, 34, 0.34);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.login-footer-text {
    margin-top: 22px;
    text-align: center;
    color: #8c93a3;
    font-size: 13px;
}

@keyframes loginFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

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

@media (max-width: 576px) {
    .login-page {
        padding: 16px;
    }

    .login-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .login-brand h1 {
        font-size: 21px;
    }
}


/*----------------------------------------
  DASHBOARD MENU
------------------------------------------*/
.dashboard-page {
    padding: 8px 0 32px;
}

.dashboard-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h2 {
    margin: 0;
    color: #151823;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.dashboard-header p {
    margin: 6px 0 0;
    color: #7b8190;
    font-size: 14px;
}

.dashboard-stat-card {
    min-height: 128px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ff5722, #e64a19);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 35px rgba(255, 87, 34, 0.22);
    transition: 0.22s ease;
    overflow: hidden;
    position: relative;
}

.dashboard-stat-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -52px;
    top: -52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-stat-card:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 24px 46px rgba(255, 87, 34, 0.32);
}

.dashboard-stat-card .stat-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 28px;
    position: relative;
    z-index: 1;
}

.dashboard-stat-card span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.dashboard-stat-card strong {
    display: block;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.dashboard-chart-section {
    margin-top: 28px;
}

.dashboard-panel {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(20, 24, 35, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.dashboard-panel-header {
    margin-bottom: 18px;
}

.dashboard-panel-header h5 {
    margin: 0;
    color: #151823;
    font-size: 18px;
    font-weight: 800;
}

.dashboard-panel-header p {
    margin: 5px 0 0;
    color: #7b8190;
    font-size: 14px;
}

.chart-container {
    position: relative;
    min-height: 330px;
}

@media (max-width: 576px) {
    .dashboard-header h2 {
        font-size: 24px;
    }

    .dashboard-stat-card {
        min-height: 112px;
        padding: 20px;
        border-radius: 20px;
    }

    .dashboard-stat-card strong {
        font-size: 26px;
    }

    .dashboard-panel {
        padding: 18px;
        border-radius: 20px;
    }
}


/*----------------------------------------
  EDIT CHANNEL FORM
------------------------------------------*/

.page-content {
    padding: 0 0 32px;
}

.page-breadcrumb {
    margin-bottom: 24px;
    padding: 22px 26px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(20, 24, 35, 0.08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.page-breadcrumb h1 {
    margin: 0 0 8px;
    color: #151823;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-breadcrumb .breadcrumb a {
    color: #ff5722;
    text-decoration: none;
    font-weight: 600;
}

.content-card {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(20, 24, 35, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.content-card .form-label {
    color: #2b3142;
    font-size: 14px;
    font-weight: 700;
}

.content-card .form-control,
.content-card .form-select {
    min-height: 48px;
    border-radius: 14px;
    border-color: #dfe3ea;
    font-size: 14px;
}

.content-card textarea.form-control {
    min-height: 220px;
}

.content-card .form-control:focus,
.content-card .form-select:focus {
    border-color: #ff5722;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.12);
}

.form-error {
    margin-top: 7px;
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
}

.btn-primary-custom {
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff5722, #e64a19);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(255, 87, 34, 0.24);
}

.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(255, 87, 34, 0.34);
}

.current-image-preview {
    width: 160px;
    height: 100px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(20, 24, 35, 0.1);
    border-radius: 16px;
    background: #f8fafc;
}

.current-image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 576px) {
    .page-breadcrumb {
        padding: 18px;
        border-radius: 18px;
    }

    .content-card {
        padding: 20px;
        border-radius: 20px;
    }

    .page-breadcrumb h1 {
        font-size: 22px;
    }
}

/*----------------------------------------
  EDIT NOTIFICATION FORM
------------------------------------------*/
.page-content
.page-breadcrumb
.content-card
.form-error
.btn-primary-custom
.current-image-preview

/*----------------------------------------
  TABLE NOTIFICATION
------------------------------------------*/

.table-page-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.table-page-header h5 {
    margin: 0;
    color: #151823;
    font-size: 22px;
    font-weight: 800;
}

.table-page-header p {
    margin: 6px 0 0;
    color: #7b8190;
    font-size: 14px;
}

.notification-table thead th {
    padding: 16px;
    border-bottom: 1px solid #edf0f5;
    color: #5d6472;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.notification-table tbody td {
    padding: 16px;
    vertical-align: middle;
}

.table-image-preview {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(20,24,35,.08);
    background: #fff;
}

.table-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-message-cell {
    min-width: 260px;
    max-width: 420px;
    color: #5f6675;
    line-height: 1.5;
}

.table-action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.table-action-buttons .btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

.btn-send-action {
    background: rgba(255,87,34,.12);
    color: #ff5722;
}

.btn-edit-action {
    background: rgba(25,135,84,.12);
    color: #198754;
}

.btn-delete-action {
    background: rgba(220,53,69,.12);
    color: #dc3545;
}

.table-action-buttons .btn:hover {
    transform: translateY(-2px);
}

/*----------------------------------------
  TABLE USERS
------------------------------------------*/

.users-table thead th {
    padding: 16px;
    border-bottom: 1px solid #edf0f5;
    color: #5d6472;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.users-table tbody td {
    padding: 16px;
    vertical-align: middle;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.status-active {
    background: rgba(25, 135, 84, .12);
    color: #198754;
}

.status-inactive {
    background: rgba(220, 53, 69, .12);
    color: #dc3545;
}

/*----------------------------------------
  EDIT USERS FORM
------------------------------------------*/

.page-content
.page-breadcrumb
.content-card
.btn-primary-custom

/*----------------------------------------
  TABLE CHANNEL
------------------------------------------*/

.channel-table thead th {
    padding: 16px;
    border-bottom: 1px solid #edf0f5;
    color: #5d6472;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.channel-table tbody td {
    padding: 16px;
    vertical-align: middle;
}

.channel-url-cell {
    max-width: 360px;
    color: #5f6675;
    font-size: 13px;
    word-break: break-all;
}


/*----------------------------------------
  SETTINGS
------------------------------------------*/

.settings-page {
    padding-bottom: 36px;
}

.settings-card {
    padding: 26px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(20, 24, 35, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.settings-tabs {
    gap: 10px;
    padding: 8px;
    margin-bottom: 26px;
    border-radius: 20px;
    background: #f5f7fb;
}

.settings-tabs .nav-link {
    min-height: 46px;
    border-radius: 15px;
    color: #596171;
    font-weight: 800;
    font-size: 14px;
}

.settings-tabs .nav-link:hover {
    color: #ff5722;
    background: rgba(255, 87, 34, 0.08);
}

.settings-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #ff5722, #e64a19);
    box-shadow: 0 12px 24px rgba(255, 87, 34, 0.22);
}

.settings-tab-content {
    padding-top: 4px;
}

.settings-form {
    padding: 4px;
}

.settings-section-title {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f5;
}

.settings-section-title h4 {
    margin: 0;
    color: #151823;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.4px;
}

.settings-section-title p {
    margin: 6px 0 0;
    color: #7b8190;
    font-size: 14px;
}

.settings-card .form-label {
    color: #2b3142;
    font-size: 14px;
    font-weight: 800;
}

.settings-card .form-control,
.settings-card .form-select {
    min-height: 50px;
    border-radius: 15px;
    border-color: #dfe3ea;
    color: #111827;
    font-size: 14px;
}

.settings-card textarea.form-control {
    min-height: 230px;
}

.settings-card .form-control:focus,
.settings-card .form-select:focus {
    border-color: #ff5722;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.12);
}

.settings-logo-preview {
    width: 128px;
    height: 128px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid rgba(20, 24, 35, 0.08);
    background: linear-gradient(135deg, #fff, #f7f9fc);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.settings-logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.settings-mini-card {
    height: 100%;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(20, 24, 35, 0.08);
    background: #f8fafc;
}

.settings-mini-card h5 {
    margin: 0;
    color: #151823;
    font-size: 18px;
    font-weight: 900;
}

.settings-mini-card p {
    margin: 6px 0 18px;
    color: #7b8190;
    font-size: 14px;
}

.settings-info-box {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 87, 34, 0.18);
    background: rgba(255, 87, 34, 0.06);
}

.settings-info-box strong,
.settings-info-box span {
    display: block;
}

.settings-info-box strong {
    color: #151823;
    font-weight: 900;
}

.settings-info-box span {
    margin-top: 4px;
    color: #6b7280;
    font-size: 14px;
}

.copy-input {
    cursor: pointer;
    background: #f8fafc !important;
}

.btn-outline-custom {
    min-height: 50px;
    border-radius: 15px;
    border: 1px solid rgba(255, 87, 34, 0.35);
    color: #ff5722;
    font-weight: 800;
}

.btn-outline-custom:hover {
    color: #fff;
    background: #ff5722;
    border-color: #ff5722;
}

.form-error {
    margin-top: 7px;
    color: #dc3545;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .settings-card {
        padding: 18px;
        border-radius: 22px;
    }

    .settings-tabs {
        flex-direction: column;
    }

    .settings-tabs .nav-link {
        width: 100%;
        text-align: left;
    }
}

/*----------------------------------------
  ADMIN FORM
------------------------------------------*/

.form-section-title {
    margin: 0;
    color: #151823;
    font-size: 18px;
    font-weight: 800;
}

.form-section-subtitle {
    margin: 6px 0 0;
    color: #7b8190;
    font-size: 14px;
}

/*----------------------------------------
  ADMIN LOGIN
------------------------------------------*/

.auth-body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 87, 34, .20), transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(144, 19, 254, .18), transparent 35%),
        linear-gradient(135deg, #0f172a 0%, #111827 45%, #1e293b 100%);
    overflow-x: hidden;
}

.auth-body .login-page {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.auth-body .login-card {
    width: 100%;
    max-width: 430px;
    padding: 34px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.auth-body .login-brand h1 {
    font-size: 26px;
    font-weight: 900;
}

.auth-body .login-submit-btn {
    background: linear-gradient(135deg, #ff5722, #ff784e);
}

/*----------------------------------------
  HEADER
------------------------------------------*/

.admin-header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.admin-topbar {
    min-height: 76px;
    padding: 0 22px;
    background: linear-gradient(135deg, #ff5722 0%, #f04418 55%, #dc2626 100%) !important;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .16);
    overflow: visible !important;
}

.admin-brand {
    color: #fff !important;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.5px;
}

.admin-brand:hover {
    color: #fff !important;
}

.admin-toggler {
    border: 0;
    color: #fff;
    font-size: 28px;
    box-shadow: none !important;
}

.topbar-icon-link {
    width: 44px;
    height: 44px;
    margin: 0 4px;
    border-radius: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: rgba(255,255,255,.12);
    transition: .2s ease;
}

.topbar-icon-link:hover {
    background: rgba(255,255,255,.22);
    color: #fff !important;
    transform: translateY(-1px);
}

.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    min-height: 52px;
    padding: 6px 12px !important;
    border-radius: 18px;
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    background: rgba(255,255,255,.12);
    transition: .2s ease;
}

.user-dropdown-toggle:hover,
.user-dropdown-toggle:focus {
    background: rgba(255,255,255,.22);
    color: #fff !important;
}

.user-dropdown-toggle::after {
    margin-left: 6px;
    color: rgba(255,255,255,.9);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.20);
    color: #fff;
    font-size: 20px;
}

.user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.user-name {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.user-email {
    margin-top: 3px;
    color: rgba(255,255,255,.76);
    font-size: 12px;
}

.modern-dropdown {
    width: 285px;
    margin-top: 14px !important;
    padding: 12px;
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .22);
    z-index: 10000;
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px;
}

.dropdown-user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff5722, #f04418);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.dropdown-user-name {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.dropdown-user-email {
    margin-top: 3px;
    color: #64748b;
    font-size: 13px;
}

.modern-dropdown-item {
    padding: 12px 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    font-weight: 700;
    transition: .18s ease;
}

.modern-dropdown-item i {
    font-size: 18px;
}

.modern-dropdown-item:hover {
    background: #f8fafc;
    color: #ff5722;
    transform: translateX(2px);
}

.modern-dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, .10);
    color: #dc3545 !important;
}

.dropdown-divider {
    margin: 10px 0;
}

@media (max-width: 991px) {
    .admin-topbar {
        padding: 10px 16px;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        border-radius: 18px;
        background: rgba(0,0,0,.12);
    }

    .user-dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
    }

    .modern-dropdown {
        width: 100%;
    }
}

/*----------------------------------------
  CHANNELS LIST
------------------------------------------*/

.channels-page {
    padding-bottom: 30px;
}

.channels-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.channels-header h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.channels-header p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.channels-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.channel-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.stat-card span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 8px;
}

.stat-card strong {
    font-size: 28px;
    color: #111827;
}

.channel-toolbar {
    background: #ffffff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #6b7280;
}

.search-box input {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 16px 0 42px;
    outline: none;
    font-size: 14px;
    transition: all .2s ease;
}

.search-box input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.channel-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.channel-table {
    margin-bottom: 0;
}

.channel-table thead th {
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border: 0;
    white-space: nowrap;
}

.channel-table tbody td {
    vertical-align: middle;
    border-color: #f1f5f9;
}

.channel-row {
    transition: background .2s ease;
}

.channel-row:hover {
    background: #f8fafc;
}

.channel-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: #f3f4f6;
    border-radius: 14px;
    padding: 6px;
    border: 1px solid #e5e7eb;
}

.empty-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 22px;
}

.channel-name {
    font-weight: 700;
    color: #111827;
}

.channel-id {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.category-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 12px;
    font-weight: 600;
}

.stream-cell {
    max-width: 430px;
}

.stream-url {
    max-width: 430px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #374151;
    font-size: 12px;
}

.stream-url.sd {
    margin-top: 4px;
    color: #6b7280;
}

.row-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.no-result {
    text-align: center;
    padding: 30px;
    color: #6b7280;
    font-weight: 600;
}

@media (max-width: 768px) {
    .channels-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .channels-actions {
        width: 100%;
    }

    .channels-actions .btn {
        flex: 1;
    }

    .channel-stats {
        grid-template-columns: 1fr;
    }

    .stream-cell,
    .stream-url {
        max-width: 240px;
    }
}