/*
	Theme Name: Hello Elementor Child
	Description: Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
	Author: Elementor Team
	Author URI: https://elementor.com/
    Template: hello-elementor
	Version: 3.0.1
	Stable tag: 3.0.1
	Requires at least: 6.0
	Tested up to: 6.4
	Requires PHP: 7.3
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor-child
	Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

body {
    font-family: 'Titillium Web', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Titillium Web', sans-serif !important;
}

/* Add your custom styles here */


.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 1rem;
}

.tab-link {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-link:hover {
    background: #f5f5f5;
}

.tab-link.active {
    border-bottom: 3px solid #007bff;
    color: #007bff;
    font-weight: bold;
}

.tab-content {
    display: none;
    animation: fade 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.custom-logo-link {
    width: 280px;
}

/* == MAIN GRID WRAPPER == */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: url('/wp-content/uploads/2025/12/Group-55.png') no-repeat center/cover;
    font-family: 'Titillium Web', sans-serif;
}

/* == LEFT BIG W LOGO AREA == */
.login-left {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-logo {
    width: 75%;
    max-width: 850px;
}

/* == RIGHT SIDE WRAPPER == */
.login-right {
    width: 50%;
    position: relative;
    padding-top: 140px;
    /* moves everything higher like reference */
    /* shifts block to the right */
}

/* == HEADING BLOCK == */
.welcome-text {
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 8px;
}

.title-line {
    display: flex;
    gap: 14px;
    align-items: baseline;
    white-space: nowrap;
    margin-bottom: 25px;
}

.title-way {
    font-size: 40px;
    font-weight: 700;
}

.title-dsp {
    font-size: 40px;
    font-weight: 700;
    color: #C41E23;
}

/* == FORM BOX EXACT MATCH == */
.login-box {
    width: 333px;
    margin-top: 150px;
    /* IMPORTANT: matches reference width */
    position: relative;
}

/* Remove default WP label spacing */
#custom_loginform p {
    margin: 0 0 10px;
}

/* INPUT FIELDS (Narrower & cleaner) */
#custom_loginform input[type="text"],
#custom_loginform input[type="password"] {
    width: 100% !important;
    padding: 9px 12px;
    border: 1px solid #CCC;
    border-radius: 4px;
    font-size: 14px;
}

/* CHECKBOX SPACING */
#custom_loginform .forgetmenot {
    margin: 6px 0 12px;
}

/* LOGIN BUTTON EXACT LIKE IMAGE */
#custom_loginform input[type="submit"] {
    background: #1B2146;
    border-radius: 3px;
    border: none;
    padding: 10px;
    width: 100% !important;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
}

/* FORGOT LINK */
.forgot-link {
    font-size: 11px;
    margin-top: 10px;
    display: block;
    color: #2d2d2d;
    text-align: left;
}

/* == RIGHT BOTTOM ILLUSTRATION == */
.footer-img {
    position: absolute;
    right: 0;
    bottom: 0px;
    width: 465px;
}

.footer-img img {
    width: 100%;
}


/* FORGOT PASSWORD LINK */
.forgot-link {
    display: block;
    margin-top: 15px;
    text-align: center;
    color: #2f7cf7;
}

/* ERROR BOX */
.login-error {
    background: #ffdddd;
    color: #c00;
    padding: 10px;
    border-left: 4px solid #c00;
    margin-bottom: 15px;
    border-radius: 4px;
}



.site-header .header-inner {
    width: 80%;
    margin: 0px auto;
    max-width: 1550px;
}

.site-header {
    z-index: 1;
    border-bottom: 1px solid #ccc;
}

.logout-btn,
.login-btn {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    border-radius: 50%;
    font-size: 20px;
    color: #444;
    margin-left: 10px;
    transition: 0.25s ease;
    text-decoration: none;
}

.logout-btn:hover {
    background: #e63946;
    color: white;
    transform: translateY(-2px);
}

.login-btn:hover {
    background: #1a73e8;
    color: white;
    transform: translateY(-2px);
}


.header-user-menu .title-line {
    margin-bottom: -19px;
    gap: 16px;
}

.tile-header p {
    margin-bottom: 0px !important;
}

.tile-header {
    border: 1px solid #ccc;
    padding: 3px 15px;
    color: #000;
    text-decoration: none;
}

.header-user-menu .title-way,
.header-user-menu .title-dsp {
    font-size: 20px;
    font-weight: 300;
}

.footer-inner {
    width: 80% !important;
    /* max-width: 1550px !important; */
}

.site-footer {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 2px;
    /* display: none; */
}

/* --- LAYOUT --- */
.wm-dashboard {
    display: flex;
    width: 80%;
    margin: 0 auto;
}

.main-dashboard-bg {
    background: url('/wp-content/uploads/2025/12/Group-55.png') no-repeat center center;
    background-size: cover;
    /* width: 100%; */
}

/* Optional: explicitly white for inner pages */
.main-dashboard-bg .wm-dashboard.is-inner {
    background: #ffffff;
    width: 100%;
    padding-left: 203px;
    padding-right: 140px;
}


/* --- SIDEBAR --- */
.wm-sidebar {
    width: 15%;
    background: #fff;
    color: #fff;
    transition: width 0.3s ease;
    overflow: hidden;
    display: flex;
    height: 100vh;
    flex-direction: column;
    /* margin-top: 86px; */
    /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
}

.wm-sidebar.collapsed {
    width: 80px;
}

/* LOGO AREA */
.wm-logo-area {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;

}

.wm-sidebar.collapsed .wm-logo-area img {
    width: 35px;
    border-radius: 4px;
}

.wm-logo-text {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    color: #000;
}

.wm-sidebar.collapsed .wm-logo-text {
    opacity: 0;
    width: 0;
    display: none;
}

/* Toggle Button */
.wm-toggle-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer !important;
}

.wm-toggle-btn:focus,
.wm-toggle-btn:hover {
    outline: none;
    background-color: unset;
    color: #000;
}

/* NAVIGATION */
.wm-nav {
    margin-top: 0px;
    flex-grow: 1;
}

.wm-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: #000;
    text-decoration: none !important;
    font-size: 15px;
    transition: all 0.2s ease;
}

.wm-link i {
    font-size: 20px;
    width: 24px;
}

.wm-link:hover,
.wm-link.active {
    background: #C02428;
    color: #ffffff;
}

/* Hide text when collapsed */
.wm-sidebar.collapsed .wm-link span {
    opacity: 0;
    width: 0;
    display: none;
    pointer-events: none;
}

.wm-sidebar.collapsed .wm-link {
    justify-content: center;
}

/* MAIN CONTENT */
.wm-content {
    flex-grow: 1;
    padding: 15px 65px 25px 35px;

}

.analytics-filter-row {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
}

.analytics-filter-row .form-label {
    margin-bottom: 4px;
}

.wpac-btn-reset {
    color: #2271b1;
    font-weight: 500;
    text-decoration: underline;
    white-space: nowrap;
}

.common_search {
    position: relative;
    width: 30%;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 999;
    display: none;
    max-height: 220px;
    overflow-y: auto;
}

.search-suggestion-item {
    display: block;
    padding: 8px 10px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

.search-suggestion-item:hover {
    background: #f0f0f1;
}

.search-suggestion-item.read-more {
    font-weight: 600;
    color: #2271b1;
}



.wpac-btn-reset:hover {
    text-decoration: none;
}

/* .analytics-apply{
    background-color: #C02428;
    padding: 5px 20px;
    color: #fff;
    text-decoration: none !important;
    border-radius: 5px;
    font-size: 16px;
    max-width: 220px;
} */


.nav-link {
    color: #000 !important;
}

/* ----- User Dashboard ----- */

.plugin-dashboard {
    margin-top: 70px;
}

/* Wrapper */
.users_dashboard-wrapper {
    font-family: 'Titillium Web', sans-serif;
    padding: 20px;
}

/* Header */
.users_dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.users_dashboard-title {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Button */
.users_dashboard-btn-primary {
    background: #264190;
    color: #fff;
    padding: 10px 16px;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
}

.users_dashboard-btn-primary:hover {
    background: #135e96;
    color: #fff;
}



.users_dashboard-card table tbody tr {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.users_dashboard-card table tbody tr td {
    background-color: #fff;
}

/* Action Buttons */
.users_dashboard-action-btn {
    padding: 6px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    margin-right: 5px;
}

.users_dashboard-btn-view {
    background: #36a169;
}

.users_dashboard-btn-edit:hover {
    background: #135e96;
}

.users_dashboard-btn-delete:hover {
    background: #b02c30;
}

.users_dashboard-btn-view:hover {
    background: #2f8d5a;
}

.button-pagination {
    color: #000;
    text-decoration: none !important;
}

/* Form Container */
.wm-user-form {
    padding: 25px 30px;
    margin: 20px auto;
}

/* Input Fields */
.wm-field {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.wm-field label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

.wm-field input[type="text"],
.wm-field input[type="email"] {
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.2s ease;
}

.wm-field input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 4px rgba(0, 115, 170, 0.3);
}

/* Radio Buttons */
.wm-radio {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.wm-radio input {
    margin-right: 8px;
}

/* Buttons */
.wm-form-actions {
    margin-top: 25px;
    display: flex;
    gap: 12px;
}

.wm-btn-primary {
    background: #0073aa;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.wm-btn-primary:hover {
    background: #005d87;
}

.wm-btn-secondary {
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: #333 !important;
    font-size: 15px;
    transition: 0.2s;
}

.wm-btn-secondary:hover {
    background: #e2e2e2;
}


/* ----- End User Dashboard ----- */

/* ----- Dashboard Tab ----- */

.dashboard-head {
    margin-bottom: 18px;
}

.dashboard-head h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #222;
}

.dashboard-head .subline {
    width: 56%;
    border: 1px dashed #ccc;
}

/* Tiles grid */
/* Make dashboard tiles perfect responsive squares */
.dashboard-tiles .tile {
    position: relative;
    width: 100%;
    padding-top: 50%;
    /* 1:1 square ratio */
    border-radius: 6px;
    overflow: hidden;
    display: block;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    transition: 0.3s;
}

/* Center the text */
.dashboard-tiles .tile p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    font-size: 20px;
}

/* Colors */
.tile.live {
    background: #b42424;
}

/* red */
.tile.create {
    background: #2f76d2;
}

.tile.past {
    background: #8a8989;
}

/* blue */
.tile.reports {
    background: #652cc1;
}

/* purple */
.tile.help {
    background: #f2c10e;
    color: #111;
}

.tile.logs {
    background: #3e509f;
}

/* yellow */
.tile.new {
    background: #9fdc7e;
    color: #111;
}

/* light green */
.tile.category {
    background: #1d375b;
    color: #111;
}

/* light green */

/* Right column decorative SVG wrapper */
.dashboard-deco {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-left: 10px;
}

.dashboard-deco img {
    width: 390px;
    height: 540px;
    margin-top: 70px;
}

.dashboard-deco svg {
    width: 80%;
    max-width: 420px;
    height: auto;
    display: block;
}

.right-bottom-img {
    width: 290px;
    float: right;
    display: flex;
    position: relative;
    top: 24px;
    left: 13%;
}


/* ----- End Dashboard Tab ----- */

/* ----- Ads Tab ----- */

.ads-tab-header,
.users_dashboard-title {
    display: flex;
    align-items: center;
    gap: 19px;
    color: #c02428;
    border-bottom: 1px dashed #ccc;
    width: 80%;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

thead {
    background-color: #C02428;
    color: #fff;
}



.ads-table-wrapper {
    position: relative;
}

.ad-row,
.list-row {
    background-color: #fff !important;
}

/* Floating edit button (hidden by default) */
.edit-float-btn {
    position: absolute;
    display: none;
    background: #1a2a7c;
    color: #fff;
    padding: 10px 9px !important;
    white-space: nowrap;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 20;
    transition: none;
    margin-top: 3px;
}

/* Hover color on row */
.ad-row:hover,
.common-list-view tbody tr.list-row:hover {
    background: #3853A1 !important;
    color: #fff !important;
}

.ad-row td {
    border: 1px solid #ccc !important;
    padding: 12px 9px;
}

/* Pagination wrapper */
.tablenav-pages {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0;
    font-family: 'Titillium Web', sans-serif;
}

/* All pagination items */
.tablenav-pages a.page-numbers,
.tablenav-pages span.page-numbers {
    min-width: 36px;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
    padding: 2px;
}

/* Hover */
.tablenav-pages a.page-numbers:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #111827;
}

/* Active page */
.tablenav-pages span.page-numbers.current {
    background: #C02428;
    border-color: #C02428;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(192, 36, 40, 0.25);
}

/* Prev / Next buttons */
.tablenav-pages a.prev,
.tablenav-pages a.next {
    padding: 0 16px;
    font-weight: 600;
    padding: 3px;
}

/* Dots */
.tablenav-pages span.page-numbers.dots {
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: default;
}

.button-primary {
    background-color: #C02428;
    padding: 5px 20px;
    color: #fff;
    text-decoration: none !important;
    border-radius: 5px;
    font-size: 16px;
}

.button:focus{
    background-color: #C02428;
}

.button-primary:hover {
    color: #fff !important;
    text-decoration: none !important;
}

/* -------------------------------
   WRAPPER & HEADER
--------------------------------*/
.wpac-ad-form-wrapper {
    /* background: #fff; */
    padding: 15px 16px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); */
    margin-top: 1px;
}

.wpac-ad-form-header {
    border-bottom: 1px dashed #e5e7eb;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.wpac-title,
.wpac-subtitle {
    font-size: 25px;
    color: #c02428;
}

/* -------------------------------
   FORM TABLE STYLE
--------------------------------*/
.wpac-ad-form-ui {
    padding-bottom: 16px;
}

.wpac-ad-form-ui table.form-table {
    width: 100%;
    border-spacing: 0 12px;
}

/* .wpac-ad-form-ui table.form-table th {
    width: 220px;
    color: #333;
    font-weight: 600;
    vertical-align: middle;
    font-size: 14px;
} */

.wpac-ad-form-ui table.form-table tr:hover {
    background: transparent !important;
}

/* .wpac-ad-form-ui table.form-table tr,
.wpac-ad-form-ui table.form-table td,
.wpac-ad-form-ui table.form-table th {
    background: none !important;

} */

.wpac-ad-form-ui table.form-table input[type="text"],
.wpac-ad-form-ui table.form-table input[type="url"],
.wpac-ad-form-ui table.form-table select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    transition: 0.2s;
}

.wpac-ad-form-ui table.form-table input:focus,
.wpac-ad-form-ui table.form-table select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
    outline: none;
}

/* -------------------------------
   MEDIA PREVIEW
--------------------------------*/
.wpac-media-preview {
    margin-top: 10px;
    display: inline-block;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px;
    background: #fafafa;
}

.wpac-media-thumb {
    max-width: 150px;
    border-radius: 6px;
}

.wpac-media-video {
    max-width: 180px;
    border-radius: 6px;
}

/* -------------------------------
   DESCRIPTION TEXT
--------------------------------*/
.wpac-ad-form-ui .description {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.7;
}

/* -------------------------------
   RADIO BUTTONS
--------------------------------*/
.wpac-ad-form-ui input[type="radio"] {
    transform: scale(1.2);
    margin-right: 5px;
}

/* -------------------------------
   BUTTON STYLE (Modern Primary)
--------------------------------*/
.wpac-ad-submit-wrap {
    margin-top: 25px;
    text-align: right;
}

.wpac-btn-primary {
    background: #2563eb;
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.wpac-btn-primary:hover {
    background: #1d4ed8;
}

.wpac-btn-primary:active {
    transform: scale(0.98);
}

/* Chart container - make it wide and visually dominant */
.analytics-chart-wrap {
    max-width: 1200px;
    margin: 4px auto 18px;
    padding: 8px 10px 20px;
    box-sizing: border-box;
}

#analyticsChart {
    width: 100% !important;
    height: 360px;
    /* large height like screenshot */
}

/* Metric cards row (big colored tiles) */
.metrics-row {
    max-width: 1200px;
    margin: 16px auto;
    display: flex;
    gap: 18px;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 0 8px;
    box-sizing: border-box;
}

.metric-tile {
    flex: 1 1 220px;
    min-width: 180px;
    color: #fff;
    padding: 18px 20px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.metric-title {
    font-size: 14px;
    opacity: .95;
}

.metric-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.tile-impr {
    background: #bf2b2b;
}

.tile-click {
    background: #2b4fa8;
}

.tile-ctr {
    background: #f0b400;
    color: #222;
}


/* -------------------------------
   RESPONSIVE
--------------------------------*/
@media (max-width: 768px) {
    .wpac-ad-form-wrapper {
        padding: 20px;
    }

    .wpac-ad-form-ui table.form-table th {
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }

    .wpac-ad-form-ui table.form-table td {
        display: block;
        width: 100%;
    }
}

.forgot-below {
    margin-top: -5px;
    margin-bottom: 15px;
    text-align: right;
    position: absolute;
    bottom: 39px;
    left: 64%;
}

.forgot-below .forgot-link {
    font-size: 14px;
    color: #d00;
    /* Match your design */
    text-decoration: none;
}

@media (max-width: 900px) {
    #analyticsChart {
        height: 280px;
    }
}

@media (max-width: 640px) {
    .metrics-row {
        flex-direction: column;
        gap: 12px;
    }

    #analyticsChart {
        height: 220px;
    }

    .metric-number {
        font-size: 26px;
    }
}


/* ----- End Ads Tab ----- */

/* small, isolated styles for this help block */
.help-wrap {
    max-width: 1124px;
    margin: 24px auto;
    font-family: 'Titillium Web', sans-serif;
    color: #222;
}

.help-wrap h1 {
    font-size: 30px;
    margin: 14px 0;
    color: #cc2128;
}

.help-wrap h2 {
    font-size: 24px;
    margin: 18px 0 8px;
    font-weight: 500;
}

.help-wrap p {
    line-height: 1.45;
    margin: 8px 0 16px;
    color: #444;
}

.help-section {
    margin-bottom: 28px;
}

/* optional subtle divider */
.help-divider {
    height: 1px;
    background: #eee;
    margin: 18px 0;
}

/* campain table */
/* Header styling to match mockup */
.table-header th {
    background: #c9292c;
    /* deep red header */
    color: #fff;
    text-transform: none;
    padding: 14px 12px;
    border-bottom: 3px solid rgba(0, 0, 0, 0.05);
}

.main-title {
    width: 56%;
    border-bottom: 1px dashed #ccc;
}

/* Table basic */
.common-list-view {
    border-collapse: separate;
    border-spacing: 0 8px;
    /* card-like spacing between rows */
    width: 100%;
}

.common-list-view tbody tr.list-row {
    background: #fff;
    transition: transform .12s ease, box-shadow .12s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    position: relative;
    overflow: visible;
}

/* subtle card look */
.common-list-view tbody tr.list-row+tr.list-row {
    margin-top: 8px;
}

/* table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: hsl(230.63deg 52.75% 35.69%);
} */
/* Active/selected row (blue like screenshot) */
.common-list-view tbody tr.list-row.selected,
.common-list-view tbody tr.list-row.is-active.selected {
    background: #1f5ea8;
    /* strong blue */
    color: #fff;
}

.common-list-view tbody tr.list-row.selected td {
    color: #fff;
}

/* Column sizing (adjust to taste) */
.col-id {
    width: 4%;
    text-align: center;
}

.col-name {
    width: 40%;
}

.col-impr {
    width: 12%;
    text-align: center;
}

.col-cat {
    width: 18%;
    text-align: left;
}

.col-status {
    width: 10%;
    text-align: center;
}

.col-actions {
    width: 16%;
    position: relative;
}

/* row actions buttons - hidden until hover */
.row-actions {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
    display: inline-block;
}

.common-list-view tbody tr.list-row:hover .row-actions {
    opacity: 1;
    transform: translateY(0);
}

.wm-table tbody tr:hover {
    transform: none !important;
}

/* small styling of inline buttons */
.row-actions .button.small {
    margin-right: 8px;
    padding: 6px 10px;
    font-size: 13px;
}

/* right-side slide-in action panel */
.action-panel {
    position: absolute;
    right: -120px;
    /* hidden off canvas */
    top: 8px;
    height: calc(100% - 16px);
    display: flex;
    align-items: center;
    transition: right .18s ease, opacity .18s ease;
    opacity: 0;
}

.common-list-view tbody tr.list-row:hover .action-panel {
    right: 10px;
    opacity: 1;
}

/* style for the action-panel button (vertical rectangle) */
.action-panel .action-panel-btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 3px;
    background: #2b3a8b;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* small responsive: hide action-panel on small screens */
@media (max-width: 800px) {
    .action-panel {
        display: none;
    }
}

/* campaign table */
/* wpac-campaigns.css (or paste into theme style.css) */

/* ---------- Table + Actions column behavior ---------- */
.common-list-wrap {
    /* max-width: 1200 px; */
    margin: 0 auto;
    padding-right: 20px;
}

.campaign-header a {
    display: inline-block;
    margin-bottom: 12px;
}

.common-list-view {
    border-collapse: separate;
    border-spacing: 0 12px;
    width: 100%;
    position: relative;
}

.common-list-view thead th {
    background: #bf2326;
    color: #fff;
    padding: 12px 12px;
    text-align: left;
    font-weight: 600;
}

/* rows */
.common-list-view tbody tr.list-row {
    background: #fafafa;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    position: relative;
    overflow: visible;
}

.common-list-view tbody tr.list-row:hover {

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    background: #f4f8ff;
}

.common-list-view td {
    padding: 14px 12px !important;
    border: none;
    vertical-align: middle;
    background-color: #f6f6f6;
}

.common-list-view table thead tr th {
    border: 1px solid #ddd !important;
}


/* column widths */
.col-id {
    width: 6%;
    text-align: center;
}

.col-name {
    width: 36%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-impr {
    width: 12%;
    text-align: center;
}

.col-cat {
    width: 30%;
}

.col-status {
    width: 10%;
    text-align: center;
}

/* ACTIONS COLUMN */

/* Hide Actions header visually but keep markup for accessibility */
.common-list-view thead th.col-actions {
    display: none !important;
}

/* actions-cell defaults (collapsed) */
.actions-cell {
    width: 1px;
    /* collapsed */
    padding: 0;
    border: 0;
    overflow: hidden;
    /* hide buttons when collapsed */
    transition: width .22s ease;
    vertical-align: middle;
    position: relative;
    background: transparent !important;
    /* remove visible background */
}

/* inner actions container - animate opacity & translate */
.actions-inner {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    height: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
}

/* expand actions cell + reveal buttons on hover / selection / focus-within */
.common-list-view tbody tr.list-row:hover .actions-cell,
.common-list-view tbody tr.list-row.selected .actions-cell,
.common-list-view tbody tr.list-row:focus-within .actions-cell {
    width: 140px;
    /* expanded width to fit buttons */
}

.common-list-view tbody tr.list-row:hover .actions-inner,
.common-list-view tbody tr.list-row.selected .actions-inner,
.common-list-view tbody tr.list-row:focus-within .actions-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.actions-inner .button.small {
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: none;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.actions-inner .edit-btn {
    background: #2b3a8b;
}

.actions-inner .delete-btn {
    background: #c9302c;
}

/* Remove any leftover visible background / border for actions column */
.common-list-view td.actions-cell {
    background: #ffff !important;
    border: none !important;
}

/* Analytics Dashboard */
.analytics-wrapper {
    font-family: 'Titillium Web', sans-serif;
}

.metric-card {
    border-radius: 12px;
}

.metric-label {
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 500;
}

.metric-value {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
}

.card {
    border-radius: 12px;
}

.form-label {
    font-size: 14px;
}

.bg-red-light {
    background-color: #c9302c !important;
}

.bg-yellow-dark {
    background-color: #f0b400 !important;
}

.bg-blue-dark {
    background-color: #2b3a8b !important;
}

/* responsive: on small screens, make actions visible and not collapsed */
@media (max-width:900px) {
    .col-name {
        width: 45%;
    }

    .col-cat {
        display: none;
    }

    .col-impr {
        width: 12%;
    }

    .actions-cell {
        width: auto !important;
        padding: 10px;
        border-left: 0;
        overflow: visible;
    }

    .login-wrapper {
        min-height: 81vh;
    }

    /* .actions-inner {
        opacity: 1;
        transform: none;
        flex-direction: row;
        gap: 8px;
        padding-right: 0;
    } */

    .common-list-view tbody tr.list-row td {
        padding: 12px;
    }

    .common-list-view {
        border-spacing: 0 10px;
    }
}

/* optional selected row visual */
.common-list-view tbody tr.list-row.selected {
    background: #e8f0ff;
}

/* Popup box */
.wpac-swal-popup {
    padding: 40px 30px 35px;
    border-radius: 6px;
    max-width: 520px;
}

/* Title */
.wpac-swal-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Message */
.wpac-swal-message {
    font-size: 16px;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.5;
}

.wpac-swal-btn {
    background-color: #2b3a8b !important;
    color: #fff !important;
    border: none !important;
}

#2b3a8b

/* Center image */
.wpac-swal-image img {
    width: 70px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
}

/* Button positioning */
.wpac-swal-btn {
    margin-top: 10px;
    padding: 10px 28px;
}


.description {
    margin-bottom: 0px;
    padding-top: 6px;
}

.radio-btn-wrapper label {
    margin-right: 7px;
}

.wpac-schedule-date input {
    margin-top: 5px;
}

.button-primary:hover {
    background-color: #cd1c19;
}

.select2-container {
    z-index: 9999;
}

.select2-dropdown {
    z-index: 9999;
}

input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
}

/* ----- Responsive ----- */

@media (max-width: 1366px) {
    .footer-img {
        width: 277px;
    }

    .login-right {
        padding-top: 0px;
    }

    .login-left {
        margin-top: -40px;
    }

    .login-box {
        width: 330px;
    }

    .wm-dashboard {
        padding-right: 50px;
        padding-left: 100px;
        /* height: 100vh; */
    }

    .dashboard-deco img {
        width: 75%;
    }

    .right-bottom-img {
        top: 182px;
    }

    .wm-sidebar {
        width: 20%;
        height: 150vh;
    }

}

@media(max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        height: 250px;
    }

    .login-right {
        padding: 30px;
    }
}

/* past campain button report */
/* Custom Report Button Style */
.report-btn {
    background-color: #1b2a6d;
    /* dark blue */
    color: #ffffff;
    /* white text */
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    transition: background 0.3s;
}

.report-btn:hover {
    background-color: #162154;
    /* darker on hover */
    color: #ffffff;
}

/* Add arrow on the right */
.report-btn::after {
    content: '►';
    /* right arrow */
    display: inline-block;
    margin-left: 8px;
    font-size: 0.9em;
}




/* create campaign */
/* === Remove border & background ONLY for campaign table === */
.common-table {
    border: none !important;
    background: transparent !important;
    border-collapse: collapse !important;
    box-shadow: none !important;
}

.common-table tr,
.common-table thead,
.common-table tbody {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.common-table th,
.common-table td {
    background: transparent !important;
    box-shadow: none !important;
    padding: 25px 10px !important;
    /* keep spacing — adjust if you want less/more */

}

/* remove inner table borders (if WP inserts them) */
.common-table,
.common-table td,
.common-table th,
.common-table table {
    border-top: 0 !important;
    border-left: 0 !important;
    border-bottom: 1px dashed #c7c8c9 !important;
    border-right: 0 !important;
}


/* Right-align left column TH labels ONLY in campaign table */
.common-table th {
    text-align: left !important;
    padding-right: 15px !important;
    border: 0 !important;
    width: 19%;
}

/* Remove alternate row colors but keep WP table styling */


/* === Preserve original design for Selected Ads table (ID-based) === */
#wpac-selected-table,
#wpac-selected-table thead,
#wpac-selected-table tbody,
#wpac-selected-table tr,
#wpac-selected-table th,
#wpac-selected-table td {
    background: #fff !important;
    border: 1px solid #e6e6e6 !important;
    box-shadow: none !important;
    border-collapse: collapse !important;
    margin-top: 10px;
}

/* table header restore */
#wpac-selected-table thead th {
    background: #f7f7f7 !important;
    color: #333 !important;
    font-weight: 600 !important;
    padding: 8px 10px !important;
    border-bottom: 1px solid #e6e6e6 !important;
    text-align: left !important;
}

/* table body cells restore */
#wpac-selected-table tbody td {
    background: #fff !important;
    padding: 8px 10px !important;
    border-top: 1px solid #eee !important;
    vertical-align: middle !important;
}

/* image preview */
#wpac-selected-table img {
    max-width: 100px !important;
    height: auto !important;
    display: inline-block !important;
    border-radius: 3px !important;
}

/* undo any global padding changes for this table */
#wpac-selected-table th,
#wpac-selected-table td {
    padding: 8px 10px !important;
}

button.button.wpac-remove-ad {
    padding: 0px 10px;
    font-size: 15px;
}

.input-small {
    width: max-content !important;
}

.campaign-title {
    font-size: 25px;
    color: #c02428;

}

.disabled {
    background: #ccc;
}