/* =========================================
   EGL User Profile — Modern Dark Neon Theme
   Outer shell matches legacy .easygoin_box (site Custom CSS often removed)

   Root uses #egl-user-profile so tab/link styles beat theme rules such as
   #content a { … !important } (class-only selectors lose that cascade tie-break).
========================================= */
#egl-user-profile.easygoin_box {
	background: #1b1b1b;
	border: 1px solid #333;
	border-radius: 10px;
	padding: 20px;
	margin: 20px auto;
	max-width: 1000px;
	box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
	color: #ddd;
	font-size: 1rem;
	line-height: 1.6;
	box-sizing: border-box;
}

/* Inner chrome only — avoid double frames */
#egl-user-profile .egl-profile-container {
	background: transparent;
	color: #e0e0e0;
	border: none;
	border-radius: 0;
	padding: 0;
	max-width: none;
	margin: 0;
	box-shadow: none;
	font-size: 1rem;
}

/* =====================
   Tabs (scoped + !important: themes/blocks reset ul/li flex)
===================== */
#egl-user-profile .egl-profile-tabs-nav {
	display: block;
	width: 100%;
}

#egl-user-profile .egl-profile-tabbar {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	gap: 8px;
	border-bottom: 2px solid #1a1a1a !important;
	padding-bottom: 0 !important;
	margin-bottom: 18px;
}

/* Anchor + role=tab: extra type in selector helps beat nav a / #content a */
#egl-user-profile .egl-profile-tabbar a.egl-profile-tab,
#egl-user-profile a.egl-profile-tab {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 10px 18px !important;
	margin: 0 !important;
	background: linear-gradient(135deg, #1e2628, #151b1d) !important;
	background-color: #151b1d !important;
	color: #9acccc !important;
	text-decoration: none !important;
	border: 1px solid #2f3b3e !important;
	border-bottom: 1px solid #2f3b3e !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, text-shadow 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
	font-weight: 600 !important;
	font-size: 0.92rem !important;
	line-height: 1.25 !important;
	box-sizing: border-box !important;
	min-height: 38px;
	letter-spacing: 0.01em;
	-webkit-appearance: none !important;
	appearance: none !important;
	cursor: pointer;
}

#egl-user-profile .egl-profile-tabbar a.egl-profile-tab:hover,
#egl-user-profile .egl-profile-tabbar a.egl-profile-tab:focus,
#egl-user-profile a.egl-profile-tab:hover,
#egl-user-profile a.egl-profile-tab:focus {
	background: linear-gradient(135deg, #263033, #1a2124) !important;
	background-color: #1a2124 !important;
	color: #fff !important;
	text-shadow: 0 0 4px rgba(0, 255, 255, 0.4);
	outline: none !important;
	transform: translateY(-1px);
	box-shadow: 0 0 12px rgba(0, 230, 230, 0.22) !important;
}

#egl-user-profile .egl-profile-tabbar a.egl-profile-tab.is-active,
#egl-user-profile a.egl-profile-tab.is-active {
	background: linear-gradient(135deg, #072528, #03181b) !important;
	background-color: #03181b !important;
	color: #00e6e6 !important;
	border-color: #00e6e6 !important;
	font-weight: 700 !important;
	text-shadow: 0 0 6px rgba(0, 255, 255, 0.5);
	position: relative;
	z-index: 1;
	box-shadow: 0 0 14px rgba(0, 230, 230, 0.35), inset 0 0 10px rgba(0, 230, 230, 0.12) !important;
	transform: translateY(0);
}

#egl-user-profile.easygoin_box ul.egl-tabs {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
	padding-inline-start: 0 !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: flex-end;
	gap: 8px;
	border-bottom: 2px solid #1a1a1a;
	box-sizing: border-box;
}

#egl-user-profile.easygoin_box ul.egl-tabs li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#egl-user-profile.easygoin_box ul.egl-tabs a {
	display: inline-block;
	padding: 10px 18px;
	background: #1a1a1a;
	color: #9acccc !important;
	text-decoration: none !important;
	border: 1px solid #333;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, text-shadow 0.25s ease;
	font-weight: 500;
	font-size: 0.95rem;
	line-height: 1.3;
	box-sizing: border-box;
}

#egl-user-profile.easygoin_box ul.egl-tabs a:hover,
#egl-user-profile.easygoin_box ul.egl-tabs a:focus {
	background: #222;
	color: #fff !important;
	text-shadow: 0 0 4px rgba(0, 255, 255, 0.4);
	outline: none;
}

#egl-user-profile.easygoin_box ul.egl-tabs a.active {
	background: #000;
	color: #00e6e6 !important;
	border-color: #00e6e6;
	font-weight: 700;
	text-shadow: 0 0 6px rgba(0, 255, 255, 0.5);
	position: relative;
	z-index: 1;
	margin-bottom: -2px;
	padding-bottom: 12px;
}

/* =====================
   Tab Content Area
===================== */
#egl-user-profile .egl-tab-content {
    background: #000;
    border: 1px solid #222;
    padding: 25px;
    border-radius: 0 10px 10px 10px;
}

/* Headings */
#egl-user-profile .egl-tab-content h2 {
    color: #00e6e6;
    margin-top: 0;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0,255,255,0.3);
}

#egl-user-profile .egl-tab-content h3 {
    color: #1abc9c;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
}

/* New: h4 — lighter and more subtle */
#egl-user-profile .egl-tab-content h4 {
    color: #4ee2e2;
    font-size: 1.1rem;
    margin: 0.8em 0 0.3em;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(0,255,255,0.2);
}

/* Body text */
#egl-user-profile .egl-tab-content p {
    color: #cfcfcf;
    margin: 0.7em 0 1em;
}

/* =====================
   Buttons (GLOBAL)
   These fix the visibility issue completely
===================== */
#egl-user-profile .egl-tab-content .button,
#egl-user-profile .egl-profile-container .button {
    background: linear-gradient(135deg, #00b3b3, #009999);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-shadow: 0 0 4px rgba(0,0,0,0.4);
}

#egl-user-profile .egl-tab-content .button:hover,
#egl-user-profile .egl-profile-container .button:hover {
    background: #00cccc;
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(0,255,255,0.4);
}

/* Disabled buttons */
#egl-user-profile .egl-tab-content .button[disabled],
#egl-user-profile .egl-profile-container .button[disabled] {
    background: #333 !important;
    color: #777 !important;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    text-shadow: none;
}

/* =====================
   Cards (for future provider layouts)
===================== */
#egl-user-profile .egl-profile-card {
    background: #111;
    border: 1px solid #222;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 0 8px rgba(0,255,255,0.05);
    transition: all 0.2s ease;
}

#egl-user-profile .egl-profile-card:hover {
    border-color: #00cccc;
    box-shadow: 0 0 14px rgba(0,255,255,0.15);
}

/* =====================
   Tables (for VIP & Ledger logs)
===================== */
#egl-user-profile .egl-tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}
#egl-user-profile .egl-tab-content th {
    background: #111;
    color: #00e6e6;
    padding: 10px;
    border-bottom: 1px solid #333;
}
#egl-user-profile .egl-tab-content td {
    padding: 10px;
    border-bottom: 1px solid #222;
}
#egl-user-profile .egl-tab-content tbody tr:hover {
    background: rgba(0, 255, 255, 0.06);
}
