/* EyeSports theme bridge for Punter (public + authenticated app) */

.ec-auth-panel .d-none,
[data-ajax-alert].d-none {
    display: none !important;
}

.ec-auth-panel .form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.ec-auth-panel .invalid-feedback {
    color: #a94442;
    font-size: 13px;
    margin-top: 4px;
}

.ec-auth-panel .is-invalid {
    border-color: #a94442;
}

:root {
    --ec-primary: #e95842;
    --ec-primary-dark: #c94532;
    --ec-dark: #1b1b1b;
    --pe-primary: #e95842;
    --pe-primary-rgb: 233, 88, 66;
}

/* --- Public pages (EyeSports index layout) --- */
.ec-main-wrapper:not(.ec-app-wrapper) #ec-header.ec-public-header {
    display: block;
    width: 100%;
    clear: both;
    position: relative;
    z-index: 20;
    background: #fff;
}

.ec-main-wrapper:not(.ec-app-wrapper) #ec-header.ec-public-header::after {
    content: "";
    display: table;
    clear: both;
}

.ec-main-wrapper:not(.ec-app-wrapper) .ec-top-strip {
    display: block;
    width: 100%;
    background-color: #343434;
}

.ec-main-wrapper:not(.ec-app-wrapper) .ec-main-navsection {
    display: block;
    width: 100%;
    background-color: #fcfcfc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ec-main-wrapper:not(.ec-app-wrapper) .ec-main-navsection .container {
    position: relative;
}

.ec-main-wrapper:not(.ec-app-wrapper) .ec-navigation > ul > li > a {
    font-family: Oswald, "Segoe UI", sans-serif;
}

/* Home banner (index.html ec-mainbanner) */
.ec-home-banner {
    position: relative;
    width: 100%;
    clear: both;
    overflow: hidden;
}

.ec-home-banner .slides,
.ec-home-banner .slides > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ec-home-banner .ec-home-slide {
    position: relative;
    min-height: 520px;
}

.ec-home-banner .ec-home-slide > img {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.ec-home-banner .ec-caption .container {
    position: relative;
}

.ec-main-content .ec-auth-panel {
    max-width: 480px;
    margin: 0 auto 60px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.ec-main-content .ec-auth-panel h1 {
    font-size: 26px;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ec-main-content .ec-auth-panel .form-control {
    height: 46px;
    border-radius: 0;
    border-color: #ddd;
}

.ec-main-content .ec-auth-panel .btn-primary,
.ec-main-content .ec-auth-panel input[type="submit"] {
    background-color: var(--ec-primary);
    border-color: var(--ec-primary);
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ec-main-content .ec-auth-panel .btn-primary:hover,
.ec-main-content .ec-auth-panel input[type="submit"]:hover {
    background-color: var(--ec-primary-dark);
    border-color: var(--ec-primary-dark);
}

.ec-main-content .ec-auth-panel .ec-auth-intro {
    line-height: 1.6;
    margin-bottom: 24px;
}

.ec-main-content .ec-auth-panel .ec-google-login-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
    color: #3c4043;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    gap: 12px;
    height: 50px;
    justify-content: center;
    padding: 0 20px;
    text-transform: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ec-main-content .ec-auth-panel .ec-google-login-btn:hover,
.ec-main-content .ec-auth-panel .ec-google-login-btn:focus {
    background: #f8f9fa;
    border-color: #b9bec4;
    box-shadow: 0 2px 6px rgba(60, 64, 67, 0.16);
    color: #202124;
    outline: none;
    transform: translateY(-1px);
}

.ec-main-content .ec-auth-panel .ec-google-login-btn:active {
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
    transform: translateY(0);
}

.ec-main-content .ec-auth-panel .ec-google-login-icon {
    flex: 0 0 20px;
    height: 20px;
    width: 20px;
}

.ec-main-content .ec-auth-panel .ec-auth-divider {
    align-items: center;
    color: #777;
    display: flex;
    font-size: 12px;
    gap: 12px;
    margin: 20px 0;
    text-transform: uppercase;
}

.ec-main-content .ec-auth-panel .ec-auth-divider::before,
.ec-main-content .ec-auth-panel .ec-auth-divider::after {
    background: #e5e5e5;
    content: "";
    flex: 1;
    height: 1px;
}

.ec-hero-home {
    position: relative;
    min-height: 420px;
    background: url("../eyesports/extra-images/banner-1.jpg") center/cover no-repeat;
}

.ec-hero-home .ec-transparent-color {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.ec-hero-home .ec-caption {
    position: relative;
    z-index: 2;
    padding: 90px 0 70px;
    color: #fff;
}

.ec-hero-home h1 {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ec-hero-home p {
    font-size: 16px;
    max-width: 560px;
    line-height: 1.7;
}

.ec-hero-actions {
    margin-top: 28px;
}

.ec-hero-actions .ec-bgcolor {
    display: inline-block;
    padding: 12px 28px;
    color: #fff;
    text-decoration: none;
    margin-right: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.ec-hero-actions .ec-outline-btn {
    display: inline-block;
    padding: 11px 28px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

.ec-outline-btn {
    display: inline-block;
    padding: 11px 24px;
    border: 2px solid var(--ec-primary);
    color: var(--ec-primary);
    background: transparent;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

.ec-outline-btn:hover {
    background: var(--ec-primary);
    color: #fff;
    text-decoration: none;
}

.ec-feature-strip {
    padding: 50px 0 20px;
}

.ec-plan-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 28px 24px;
    margin-bottom: 24px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ec-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.ec-plan-card.is-featured {
    border-color: var(--ec-primary);
    box-shadow: 0 0 0 2px rgba(233, 88, 66, 0.15);
}

.ec-plan-price {
    font-size: 34px;
    font-weight: 700;
    color: var(--ec-primary);
}

.ec-footer-lead {
    color: #ccc;
    line-height: 1.7;
}

/* --- Authenticated app --- */
.ec-app-body {
    background: #f0f0f0;
}

.ec-app-wrapper {
    overflow-x: hidden;
}

/* Top bar */
.ec-app-topbar {
    background: #2a2a2a;
    border-bottom: 1px solid #111;
}

.ec-app-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}

.ec-app-topbar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-app-topbar-meta li {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.ec-app-topbar-meta li i {
    margin-right: 6px;
    color: var(--ec-primary);
}

.ec-app-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ec-app-topbar-link {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.ec-app-topbar-link:hover {
    color: var(--ec-primary);
}

.ec-logout-form {
    display: inline;
    margin: 0;
}

.ec-logout-form .ec-login-section-btn {
    float: none;
    border: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
}

/* Main navbar */
.ec-app-navbar {
    background: #1b1b1b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.ec-app-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
    position: relative;
}

.ec-app-navbar .ec-logo {
    flex-shrink: 0;
    margin: 12px 0;
}

.ec-app-navbar .ec-logo img {
    max-height: 52px;
    width: auto;
}

.ec-app-navigation ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-app-navigation > ul > li {
    position: relative;
}

.ec-app-navigation > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    font-family: Oswald, "Segoe UI", sans-serif;
    transition: color 0.2s ease;
}

.ec-app-navigation > ul > li > a i {
    font-size: 14px;
}

.ec-app-navigation > ul > li.active > a,
.ec-app-navigation > ul > li:hover > a {
    color: var(--ec-primary);
}

.ec-app-navigation .ec-app-submenu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #1b1b1b;
    border: 1px solid #333;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    z-index: 120;
}

.ec-app-nav-dropdown:hover > .ec-app-submenu,
.ec-app-nav-dropdown:focus-within > .ec-app-submenu {
    display: block;
}

.ec-app-navigation .ec-app-submenu li a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-family: "Segoe UI", sans-serif;
    white-space: nowrap;
}

.ec-app-navigation .ec-app-submenu li a:hover,
.ec-app-navigation .ec-app-submenu li a:focus {
    color: var(--ec-primary);
    background: rgba(255, 255, 255, 0.04);
}

.ec-app-nav-toggle {
    display: none;
    border: 0;
    color: #fff;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 2px;
}

/* Subheader */
.ec-app-mini-header {
    position: relative;
    text-align: center;
    padding: 48px 0 42px;
    background: #1a1a1a url("../eyesports/extra-images/banner-2.jpg") center/cover no-repeat;
}

.ec-app-mini-header .ec-blue-transparent {
    background-color: rgba(0, 0, 0, 0.55);
}

.ec-app-mini-header .ec-mini-header-inner {
    position: relative;
    z-index: 2;
}

.ec-app-mini-header .ec-mini-title h1 {
    margin: 0 0 6px;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: Oswald, "Segoe UI", sans-serif;
}

.ec-app-mini-header .ec-mini-subtitle {
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 10px;
    font-size: 15px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.ec-app-mini-header .ec-breadcrumb ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-app-mini-header .ec-breadcrumb ul li {
    display: inline-block;
    color: #fff;
    font-size: 14px;
}

.ec-app-mini-header .ec-breadcrumb ul li + li::before {
    content: "\f105";
    font-family: FontAwesome;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.ec-app-mini-header .ec-breadcrumb a {
    color: #c8d0ef;
    text-decoration: none;
}

.ec-app-mini-header .ec-breadcrumb a:hover {
    color: var(--ec-primary);
}

.ec-app-content {
    padding-bottom: 40px;
}

.ec-app-content .ec-main-section {
    padding: 28px 0 10px;
}

.ec-app-footer {
    background: #fff;
    border-top: 1px solid #e4e7ec;
    color: #667085;
    font-size: 13px;
    padding: 14px 0;
}

.ec-app-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ec-app-footer-copy,
.ec-app-footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.ec-app-footer-copy strong {
    color: #1f2937;
    font-weight: 700;
}

.ec-app-footer-nav a {
    color: #667085;
    text-decoration: none;
    font-weight: 600;
}

.ec-app-footer-nav a:hover {
    color: var(--ec-primary);
}

/* Dashboard panels */
.ec-dashboard-hero {
    background: #fff;
    border-left: 4px solid var(--ec-primary);
    padding: 28px 30px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.ec-dashboard-hero h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: Oswald, "Segoe UI", sans-serif;
}

.ec-dashboard-hero .ec-dashboard-kicker {
    color: var(--ec-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.ec-stat-card {
    background: #fff;
    border-top: 3px solid var(--ec-primary);
    padding: 22px 20px;
    height: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.ec-stat-card:hover {
    transform: translateY(-3px);
}

.ec-stat-card .ec-stat-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 88, 66, 0.12);
    color: var(--ec-primary);
    font-size: 20px;
    margin-bottom: 14px;
}

.ec-stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #222;
}

.ec-stat-card .ec-stat-label {
    color: #777;
    margin-bottom: 12px;
    font-size: 14px;
}

.ec-stat-card .ec-stat-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: #999;
}

.ec-stat-card--success { border-top-color: #2ecc71; }
.ec-stat-card--success .ec-stat-icon { background: rgba(46, 204, 113, 0.12); color: #2ecc71; }
.ec-stat-card--danger { border-top-color: #e74c3c; }
.ec-stat-card--danger .ec-stat-icon { background: rgba(231, 76, 60, 0.12); color: #e74c3c; }
.ec-stat-card--info { border-top-color: #3498db; }
.ec-stat-card--info .ec-stat-icon { background: rgba(52, 152, 219, 0.12); color: #3498db; }

.ec-stat-card.is-clickable {
    cursor: pointer;
}

.ec-stat-card.is-clickable.is-active,
.ec-summary-chip.is-active {
    box-shadow: 0 0 0 2px rgba(233, 88, 66, 0.25);
}

.ec-stat-card--skeleton {
    min-height: 132px;
}

.ec-stat-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.ec-list-summary .ec-stat-cards-row {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .75rem;
}

.ec-list-summary .ec-stat-card {
    min-height: 118px;
    padding: 14px 14px;
}

.ec-list-summary .ec-stat-card .ec-stat-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
    margin-bottom: 10px;
}

.ec-list-summary .ec-stat-card h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.ec-list-summary .ec-stat-card .ec-stat-label {
    font-size: 12px;
    line-height: 1.25;
    margin-bottom: 4px;
}

@media (min-width: 1200px) {
    .ec-list-summary .ec-stat-cards-row > [class*="col-"],
    .ec-stat-cards .ec-stat-cards-row > [class*="col-"] {
        flex: 0 0 auto;
        width: 16.66666667%;
    }
}

.ec-stat-cards .ec-stat-card,
.ec-list-summary .ec-stat-card {
    min-height: 122px;
}

.ec-stat-sparkline {
    width: 88px;
    min-height: 42px;
}

.ec-stat-meta-text {
    margin: 0;
    font-size: 12px;
    color: #999;
}

.ec-summary-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ec-summary-chip {
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
}

.ec-summary-chip:hover,
.ec-summary-chip.is-active {
    border-color: var(--ec-primary);
    color: var(--ec-primary);
}

.ec-list-summary-movements-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 10px;
}

.ec-list-summary-movements-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.ec-list-summary-movements-list li {
    background: #fff;
    border-left: 3px solid var(--ec-primary);
    padding: 10px 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ec-movement-main {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.ec-movement-meta {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.ec-summary-highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-left: 3px solid #2ecc71;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ec-summary-highlight strong {
    color: #2ecc71;
}

.ec-role-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--ec-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ec-role-badge.is-manager { background: #3498db; }
.ec-role-badge.is-tipster { background: #f39c12; }
.ec-role-badge.is-client { background: #7f8c8d; }

.ec-app-content .btn-primary {
    background-color: var(--ec-primary);
    border-color: var(--ec-primary);
}

.ec-app-content .btn-primary:hover,
.ec-app-content .btn-primary:focus {
    background-color: var(--ec-primary-dark);
    border-color: var(--ec-primary-dark);
}

.ec-app-content .btn-outline-primary {
    color: var(--ec-primary);
    border-color: var(--ec-primary);
}

.ec-app-content .btn-outline-primary:hover {
    background-color: var(--ec-primary);
    border-color: var(--ec-primary);
}

.ec-app-content .text-primary {
    color: var(--ec-primary) !important;
}

.ec-app-content .badge.bg-primary,
.ec-app-content .bg-primary {
    background-color: var(--ec-primary) !important;
}

.ec-app-content .border-primary {
    border-color: var(--ec-primary) !important;
}

.ec-app-content .card {
    border-radius: 0;
    border-color: #e8e8e8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.ec-app-content .ec-color {
    color: var(--ec-primary);
}

.ec-app-content .nav-tabs .nav-link.active {
    color: var(--ec-primary);
    border-color: #dee2e6 #dee2e6 #fff;
}

.ec-app-content .page-link.active,
.ec-app-content .active > .page-link {
    background-color: var(--ec-primary);
    border-color: var(--ec-primary);
}

.pe-row-actions {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.pe-row-actions form {
    display: inline-flex;
    margin: 0;
}

.pe-row-action-button {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    height: 32px;
    justify-content: center;
    padding: 0;
    width: 32px;
}

.pe-row-action-button.punter-action-view {
    min-width: 32px;
}

.pe-row-action-button.pe-row-action-button--count {
    min-width: 42px;
    padding: 0 8px;
    width: auto;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #212529;
    line-height: 36px;
    padding-left: 0.75rem;
    padding-right: 2rem;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 0.5rem;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.select2-dropdown {
    border-color: #ced4da;
}

.select2-search--dropdown {
    padding: 8px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: #ced4da;
    border-radius: 0;
    min-height: 34px;
    outline: 0;
    padding: 6px 8px;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 260px;
}

.pe-game-option {
    padding: 2px 0;
}

.pe-game-option-title {
    color: #1f2937;
    font-weight: 700;
    line-height: 1.25;
}

.pe-game-option-subtitle {
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 2px;
}

.pe-native-select-hidden {
    display: none !important;
}

.pe-search-select {
    position: relative;
}

.pe-search-select::after {
    color: #495057;
    content: "\25BE";
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 13px;
}

.pe-search-select-input {
    padding-right: 32px;
}

.pe-search-select-menu {
    background: #fff;
    border: 1px solid #ced4da;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    display: none;
    left: 0;
    max-height: 282px;
    overflow-y: auto;
    padding: 4px;
    position: absolute;
    right: 0;
    top: calc(100% + 2px);
    z-index: 1080;
}

.pe-search-select.is-open .pe-search-select-menu {
    display: block;
}

.pe-search-select-option {
    background: transparent;
    border: 0;
    color: #111827;
    cursor: pointer;
    display: block;
    padding: 6px 8px;
    text-align: left;
    width: 100%;
}

.pe-search-select-option:hover,
.pe-search-select-option:focus {
    background: #e7f1ff;
    outline: 0;
}

.pe-search-select-title {
    display: block;
    font-weight: 600;
    line-height: 1.25;
}

.pe-search-select-subtitle {
    color: #667085;
    display: block;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 2px;
}

.pe-search-select-empty {
    color: #667085;
    padding: 8px;
}

.dataTables_wrapper .dataTables_filter {
    margin: 0;
    text-align: right;
}

.dataTables_wrapper .dataTables_filter input {
    margin-left: 0;
    width: min(220px, 100%);
}

.pe-field-label-row {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}

.pe-field-hint {
    display: inline-flex;
    flex-shrink: 0;
    position: relative;
    vertical-align: middle;
}

.pe-field-hint-trigger {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    color: #667085;
    cursor: help;
    display: inline-flex;
    height: 20px;
    justify-content: center;
    line-height: 0;
    margin: 0;
    padding: 0;
    width: 20px;
}

.pe-field-hint-trigger:hover,
.pe-field-hint-trigger:focus,
.pe-field-hint-trigger:focus-visible {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #e95842;
    outline: none;
}

.pe-field-hint-icon {
    display: block;
    height: 14px;
    width: 14px;
}

.pe-field-hint > .pe-field-hint-tooltip {
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 6px;
    bottom: calc(100% + 8px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    left: 50%;
    line-height: 1.4;
    max-width: 280px;
    opacity: 0;
    padding: 8px 10px;
    pointer-events: none;
    position: absolute;
    text-align: left;
    transform: translateX(-50%);
    transition: opacity 0.15s ease, visibility 0.15s ease;
    visibility: hidden;
    white-space: normal;
    width: max-content;
    z-index: 1085;
}

.pe-field-hint:hover > .pe-field-hint-tooltip,
.pe-field-hint:focus-within > .pe-field-hint-tooltip {
    opacity: 1;
    visibility: visible;
}

#bet-create-modal .modal-body {
    overflow: visible;
}

@media (max-width: 991px) {
    .ec-app-nav-toggle {
        display: inline-block;
    }

    .ec-app-navigation {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        left: 12px;
        background: #1b1b1b;
        z-index: 100;
        padding: 12px;
        border: 1px solid #333;
    }

    .ec-app-navigation.is-open {
        display: block;
    }

    .ec-app-navigation > ul {
        flex-direction: column;
        align-items: stretch;
    }

    .ec-app-navigation > ul > li > a {
        width: 100%;
    }

    .ec-app-navigation .ec-app-submenu {
        display: block;
        position: static;
        min-width: 0;
        width: 100%;
        margin: 0 0 6px;
        border: 0;
        box-shadow: none;
        background: transparent;
        padding-left: 20px;
    }

    .ec-app-navigation .ec-app-submenu li a {
        min-height: 34px;
        padding: 7px 12px;
    }

    .ec-app-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
    }

    .ec-app-mini-header .ec-mini-title h1 {
        font-size: 24px;
    }

    .ec-app-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ec-hero-home h1 {
        font-size: 30px;
    }
}
