/*

Theme Name: LFMTE Default Theme

Theme URI: http://thetrafficexchangescript.com/

Description: Custom theme for Traffic Ads 4U traffic exchange.

Version: 3.1

Author: Josh Abbott - Modified for Traffic Ads 4U

*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

@charset "utf-8";

/* Main font settings */
body {
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #212529;
	background: url('https://trafficads4u.com/themes/LFMTE_default/images/bg-m.webp') no-repeat center center fixed;
	background-size: cover;
	min-height: 100vh;
}

/* Add overlay for better readability - Less transparent */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.5);
	z-index: -1;
}

/* Container width constraint - 80% for main content */
.container:not(.lfm_menu_bar .container):not(.lfm_footer .container) {
	max-width: 80% !important;
	margin: 0 auto !important;
}

/* Keep header and footer containers full width */
.lfm_menu_bar .container,
.lfm_footer .container,
footer .container {
	max-width: 1200px !important;
	margin: 0 auto !important;
	width: 90% !important;
}

/* Headings styling */
h1, h2, h3, h4, h5, h6 {
	color: #FF4500;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
}

/* Main styles for the top level of the main menu */
.lfm_menu_bar {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
	box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
	padding: 0 0 45px;
	margin-bottom: 20px;
	border-bottom: 3px solid #CC3600;
}

@media (max-width: 991.98px) {
	.lfm_menu_bar {
		padding-bottom: 0;
		margin-bottom: 20px;
	}
}

/* Site logo styles */
.lfm_menu_logo {
	max-height: 35px;
	filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}
@media (min-width: 992px) {
	.lfm_menu_logo {
		margin-right: 20px;
	}
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #FFFFFF;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	transition: all 0.3s ease;
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
	color: #8B0000;
	background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F5 100%);
	box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
	background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
	background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F5 100%);
	color: #8B0000;
}

@media (min-width: 992px) {
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
		margin: 0px 3px;
		padding: 8px 18px;
		border: 2px solid rgba(255,255,255,0.3);
		border-radius: 8px;
		position: relative;
		background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link,
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
		border: 2px solid #FFFFFF;
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
		content: "";
		background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F5 100%);
		width: calc(100% + 4px);
		height: 16px;
		position: absolute;
		bottom: -12px;
		left: -2px;
		border: 2px solid #FFFFFF;
		border-top: none;
		border-radius: 0 0 8px 8px;
	}
}

@media (max-width: 991.98px) {
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
		padding: 10px 15px;
		text-align: left;
		border-radius: 6px;
		margin: 2px 0;
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link {
		color: #FFFFFF;
		background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:hover {
		color: #FFFFFF;
		background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:after {
		content: "";
		border-top: 0.3em solid;
		border-right: 0.3em solid transparent;
		border-bottom: 0;
		border-left: 0.3em solid transparent;
		color: #FFFFFF;
		transform: rotate(-90deg);
		position: absolute;
		right: 1.25rem;
		transition: all 0.3s ease-out;
	}
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
		color: #8B0000;
		transform: rotate(0deg);
	}
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:after {
		color: #FFFFFF;
		transform: rotate(-90deg);
	}
}

/* Main styles for the second level of the main menu */
.lfm_menu_tab {
	background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F5 100%);
	border: 2px solid #FF4500;
	border-radius: 0 0 12px 12px;
	position: absolute;
	display: none;
	left: 0;
	top: 100%;
	z-index: 999;
	width: 100%;
	box-shadow: 0 8px 25px rgba(255, 69, 0, 0.2);
}

li.lfm_tab_opened .lfm_menu_tab {
	display: flex;
}

@media (max-width: 991.98px) {
	.lfm_menu_tab {
		background: linear-gradient(135deg, #FFF8F5 0%, #FFE4E1 100%);
		position: relative;
		flex-direction: column;
		top: 0;
		padding: 5px 0;
		border-radius: 8px;
		margin-top: 5px;
	}
	li.lfm_tab_closed .lfm_menu_tab {
		display: none;
	}
}

.lfm_menu_tab > li > a {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	padding: 0 20px;
	line-height: 45px;
	color: #8B0000;
	text-decoration: none;
	display: block;
	transition: all 0.3s ease;
	border-radius: 6px;
}
.lfm_menu_tab > li > a:hover {
	color: #FFFFFF;
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
	transform: translateX(5px);
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.lfm_menu_tab .dropdown-menu {
	background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F5 100%);
	border: 2px solid #FF6B35;
	border-radius: 8px;
	box-shadow: 0 8px 25px rgba(255, 69, 0, 0.15);
}

.lfm_menu_tab .dropdown-menu a {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 20px;
	line-height: 32px;
	color: #8B0000;
	text-decoration: none;
	white-space: nowrap;
	display: block;
	transition: all 0.3s ease;
	border-radius: 6px;
}
.lfm_menu_tab .dropdown-menu li:hover {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
	border-radius: 6px;
}
.lfm_menu_tab .dropdown-menu li:hover a {
	color: #FFFFFF;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 991.98px) {
	.lfm_menu_tab > li > a {
		padding-left: 40px;
		line-height: 36px;
		width: 100%;
	}
	
	.lfm_menu_tab .dropdown-menu a {
		padding-left: 50px;
	}
}

/* Footer positioning and alignment fixes */
.lfm_footer {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
	border-top: 3px solid #FF4500 !important;
	margin-top: auto !important;
	width: 100% !important;
	clear: both !important;
	position: relative !important;
	bottom: 0 !important;
}

/* Ensure footer is always at bottom */
html, body {
	min-height: 100vh !important;
	display: flex !important;
	flex-direction: column !important;
}

.lfm_footer {
	margin-top: auto !important;
}

/* Footer text alignment - force center alignment */
.lfm_footer .container {
	text-align: center !important;
}

.lfm_footer .row {
	justify-content: center !important;
	align-items: flex-start !important;
}

.lfm_footer .col-12,
.lfm_footer .col-md-3,
.lfm_footer .col-lg-3 {
	text-align: center !important;
	margin-bottom: 20px !important;
}

.lfm_footer h4,
.lfm_footer h5,
.lfm_footer p,
.lfm_footer ul,
.lfm_footer li {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.lfm_footer ul {
	list-style: none !important;
	padding: 0 !important;
}

.lfm_footer a {
	color: #FFFFFF !important;
	text-decoration: none !important;
}

.lfm_footer a:hover {
	color: #FF8C42 !important;
	text-decoration: underline !important;
}

/* Icon settings */
.far, .fas {
	margin-right: 6px;
	color: #FF4500;
}

.feedicon {
	color: #FF4500;
	font-size: 20px;
	margin-right: 8px;
}

/* Profile picture sizes */
.profilepic_small {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #FF4500;
}

.profilepic_med {
	width: 75px;
	height: 75px;
	border-radius: 50%;
	border: 3px solid #FF4500;
}

.profilepic_large {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 4px solid #FF4500;
}

/* Button styles - Modern glossy design */
.buttonlink, 
.btn,
button[type="submit"]:not(#adstable button),
input[type="submit"]:not(#adstable input),
input[type="button"]:not(#adstable input),
.join-btn,
.signup-btn {
	font-family: 'Poppins', sans-serif !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	padding: 12px 24px !important;
	border: none !important;
	border-radius: 8px !important;
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FF4500 100%) !important;
	color: #FFFFFF !important;
	text-decoration: none !important;
	display: inline-block !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
	position: relative !important;
	overflow: hidden !important;
}

.buttonlink:hover,
.btn:hover,
button[type="submit"]:not(#adstable button):hover,
input[type="submit"]:not(#adstable input):hover,
input[type="button"]:not(#adstable input):hover,
.join-btn:hover,
.signup-btn:hover {
	background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #FF6B35 100%) !important;
	transform: translateY(-3px) !important;
	box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
	color: #FFFFFF !important;
	text-decoration: none !important;
}

/* Form styling */
.form-control:not(#adstable .form-control) {
	border: 2px solid #FFB366;
	border-radius: 8px;
	padding: 12px 16px;
	font-family: 'Poppins', sans-serif;
	transition: all 0.3s ease;
}

.form-control:not(#adstable .form-control):focus {
	border-color: #FF4500;
	box-shadow: 0 0 0 0.2rem rgba(255, 69, 0, 0.25);
}

/* Text styles */
.lfm_title {
	font-family: 'Poppins', sans-serif;
	color: #FF4500;
	font-size: 36px;
	font-weight: 700;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.lfm_descr {
	font-family: 'Poppins', sans-serif;
	color: #333333;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

.lfm_descr_bold {
	font-family: 'Poppins', sans-serif;
	color: #2d2d2d;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}

/* Sales Page Styles */
.sales-hero {
	background: transparent !important;
	border-radius: 15px !important;
	padding: 40px 30px !important;
	margin: 30px 0 !important;
	text-align: center !important;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.sales-section {
	background: rgba(255, 255, 255, 0.7) !important;
	border-radius: 15px !important;
	padding: 30px !important;
	margin: 30px 0 !important;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.sales-hero h1 {
	color: #FF4500 !important;
	font-size: 42px !important;
	font-weight: 700 !important;
	margin-bottom: 20px !important;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.1) !important;
}

.sales-hero h2 {
	color: #333333 !important;
	font-size: 28px !important;
	font-weight: 600 !important;
	margin-bottom: 30px !important;
}

.sales-hero .lead {
	color: #555555 !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	margin-bottom: 30px !important;
}

.sales-feature-box {
	background: rgba(255, 255, 255, 0.9) !important;
	border: 2px solid #FF4500 !important;
	border-radius: 12px !important;
	padding: 25px 20px !important;
	margin: 15px 0 !important;
	text-align: center !important;
	height: 100% !important;
	transition: all 0.3s ease !important;
}

.sales-feature-box:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 12px 35px rgba(255, 69, 0, 0.15) !important;
}

/* Split advertising headers into two lines */
.advertising-section .sales-feature-box h4 {
	color: #FF4500 !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	margin-bottom: 15px !important;
	border-bottom: 2px solid #FF4500 !important;
	padding-bottom: 10px !important;
	line-height: 1.2 !important;
}

/* Force line breaks after specific words in advertising headers */
.advertising-section .sales-feature-box h4:nth-child(1)::after {
	content: "\A";
	white-space: pre;
}

/* Alternative approach - target by text content */
.advertising-section .sales-feature-box h4 {
	word-spacing: 100vw; /* Force each word to its own line */
	text-align: center !important;
}

.sales-feature-box p {
	color: #444444 !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
	margin-bottom: 0 !important;
}

.bonus-table {
	background: rgba(255, 255, 255, 0.95) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	margin: 20px 0 !important;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.bonus-table table {
	width: 100% !important;
	margin: 0 !important;
	border: none !important;
}

.bonus-table th {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%) !important;
	color: #FFFFFF !important;
	padding: 15px 20px !important;
	font-weight: 700 !important;
	font-size: 16px !important;
}

.bonus-table td {
	background: rgba(255, 255, 255, 0.95) !important;
	color: #333333 !important;
	padding: 15px 20px !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	border: none !important;
}

.sales-section h2 {
	color: #FF4500 !important;
	font-size: 36px !important;
	font-weight: 700 !important;
	text-align: center !important;
	margin-bottom: 30px !important;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.1) !important;
}

.sales-section h3 {
	color: #FF4500 !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	text-align: center !important;
	margin-bottom: 25px !important;
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%) !important;
	color: #FFFFFF !important;
	padding: 12px 20px !important;
	border-radius: 8px !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

.advertising-section {
	background: rgba(255, 255, 255, 0.7) !important;
	border-radius: 15px !important;
	padding: 40px 30px !important;
	margin: 40px 0 !important;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.final-cta {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FF8C42 100%) !important;
	border-radius: 15px !important;
	padding: 50px 30px !important;
	margin: 40px 0 !important;
	text-align: center !important;
	box-shadow: 0 15px 40px rgba(255, 69, 0, 0.3) !important;
}

.final-cta h2 {
	color: #FFFFFF !important;
	font-size: 48px !important;
	font-weight: 700 !important;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
	margin-bottom: 30px !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
	.lfm_title {
		font-size: 28px;
	}
	
	.buttonlink,
	.btn,
	button[type="submit"]:not(#adstable button),
	input[type="submit"]:not(#adstable input),
	input[type="button"]:not(#adstable input),
	.join-btn,
	.signup-btn {
		font-size: 14px !important;
		padding: 10px 20px !important;
	}
	
	.sales-hero h1 {
		font-size: 32px !important;
	}
	
	.sales-hero h2 {
		font-size: 24px !important;
	}
	
	.sales-section h2 {
		font-size: 28px !important;
	}
	
	.final-cta h2 {
		font-size: 36px !important;
	}
	
	.sales-feature-box {
		margin-bottom: 20px !important;
	}
}

/* Login Form Styles */
.login-container {
	background: rgba(255, 255, 255, 0.95) !important;
	border: 2px solid #FF4500 !important;
	border-radius: 15px !important;
	padding: 30px !important;
	margin: 30px auto !important;
	max-width: 400px !important;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.login-header {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%) !important;
	color: #FFFFFF !important;
	font-weight: 700 !important;
	font-size: 18px !important;
	text-align: center !important;
	padding: 15px !important;
	margin: -30px -30px 20px -30px !important;
	border-radius: 13px 13px 0 0 !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

.login-form-group {
	margin-bottom: 20px !important;
}

.login-form-group label {
	display: block !important;
	color: #333333 !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	margin-bottom: 8px !important;
	font-family: 'Poppins', sans-serif !important;
}

.login-form-group input[type="text"],
.login-form-group input[type="password"] {
	width: 100% !important;
	padding: 12px 15px !important;
	border: 2px solid #FFB366 !important;
	border-radius: 8px !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 14px !important;
	transition: all 0.3s ease !important;
	box-sizing: border-box !important;
}

.login-form-group input[type="text"]:focus,
.login-form-group input[type="password"]:focus {
	border-color: #FF4500 !important;
	box-shadow: 0 0 0 0.2rem rgba(255, 69, 0, 0.25) !important;
	outline: none !important;
}

.login-submit-btn {
	width: 100% !important;
	margin-bottom: 20px !important;
}

/* Login Button Layout Fixes */

/* Container for login links */
.login-links {
	text-align: center !important;
	margin-top: 20px !important;
}

/* Row container for organizing button layout */
.login-links-row {
	display: flex !important;
	justify-content: center !important;
	gap: 10px !important;
	margin-bottom: 15px !important;
}

/* Buttons that appear on the same line (Register & Lost Password) */
.login-link-same-line {
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
	font-size: 14px !important; /* Increased from 13px to 14px */
	padding: 10px 15px !important; /* Increased padding for better spacing */
	border: 2px solid #FF4500 !important;
	border-radius: 6px !important;
	background: rgba(255, 255, 255, 0.9) !important;
	color: #FF4500 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	text-shadow: none !important;
	flex: 1 !important; /* Makes both buttons equal width */
	max-width: 120px !important; /* Prevents buttons from getting too wide */
	text-align: center !important;
	box-sizing: border-box !important;
	display: flex !important; /* Add flexbox for perfect centering */
	align-items: center !important; /* Vertical centering */
	justify-content: center !important; /* Horizontal centering */
	min-height: 40px !important; /* Set consistent height */
}

.login-link-same-line:hover {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%) !important;
	color: #FFFFFF !important;
	text-decoration: none !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3) !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

/* Full width button for verification email */
.login-link-full {
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	padding: 8px 20px !important;
	border: 2px solid #FF4500 !important;
	border-radius: 6px !important;
	background: rgba(255, 255, 255, 0.9) !important;
	color: #FF4500 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	text-shadow: none !important;
	display: inline-block !important;
	text-align: center !important;
	min-width: 200px !important;
}

.login-link-full:hover {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%) !important;
	color: #FFFFFF !important;
	text-decoration: none !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3) !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

/* Extra spacing for verification email row */
.verification-row {
	margin-top: 20px !important;
	margin-bottom: 10px !important;
}

/* Override any existing login-link-btn styles for these specific classes */
.login-link-same-line,
.login-link-full {
	margin: 0 !important; /* Remove default margins */
}

.bonus-ad-section {
	text-align: center !important;
	margin: 15px 0 !important;
	padding: 10px !important;
	display: inline-block !important;
	line-height: 0 !important;
}

.bonus-ad-section script,
.bonus-ad-section * {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
}

@media (max-width: 768px) {
	.login-container {
		margin: 20px 15px !important;
		padding: 20px !important;
	}
	
	.login-header {
		margin: -20px -20px 15px -20px !important;
		font-size: 16px !important;
	}
	
	.login-links-row {
		flex-direction: column !important;
		gap: 8px !important;
	}
	
	.login-link-same-line {
		flex: none !important;
		max-width: none !important;
		width: 100% !important;
	}
	
	.login-link-full {
		width: 100% !important;
		min-width: auto !important;
		box-sizing: border-box !important;
	}
}

/* Members Area Styles */
.members-container {
	font-family: 'Poppins', sans-serif;
	color: #333333;
	padding: 20px;
	min-height: 100vh;
}

.members-welcome {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FF8C42 100%);
	border-radius: 15px;
	padding: 30px;
	margin-bottom: 30px;
	text-align: center;
	box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
	border: 3px solid #CC3600;
}

.members-welcome h1 {
	color: #FFFFFF;
	font-family: 'Poppins', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 15px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.members-welcome p {
	color: #FFFFFF;
	font-size: 1.2rem;
	margin: 0;
	opacity: 0.95;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Member Ads Section */
.member-ads-section {
	width: 1000px;
	margin: 0 auto 30px auto;
	padding: 0;
}

.member-ads-grid {
	display: grid;
	grid-template-columns: 485px 485px;
	gap: 30px;
	width: 1000px;
	margin: 0 auto;
}

.member-ad-item {
	text-align: center;
	padding: 20px;
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
	color: #FFFFFF;
	box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
	width: 485px;
	box-sizing: border-box;
	border-radius: 12px;
}

.member-ad-header {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 15px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.member-ad-content {
	color: #FFFFFF;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.member-ad-content.text-ad {
	font-weight: 700;
	font-size: 1.1rem;
}

@media (max-width: 1050px) {
	.member-ads-section {
		width: 100%;
		padding: 0 20px;
	}
	
	.member-ads-grid {
		width: 100%;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	
	.member-ad-item {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.member-ads-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* Membership Comparison */
.membership-comparison {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	border: 2px solid #FF4500;
}

.membership-comparison h2 {
	text-align: center;
	color: #FF4500;
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 25px;
}

.membership-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 800px;
	margin: 0 auto;
}

.membership-plan {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FF8C42 100%);
	border-radius: 12px;
	padding: 20px;
	color: #FFFFFF;
	position: relative;
	box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

.membership-plan.recommended::before {
	content: "RECOMMENDED";
	position: absolute;
	top: -10px;
	right: 15px;
	background: #CC3600;
	color: #FFFFFF;
	padding: 5px 12px;
	border-radius: 15px;
	font-size: 11px;
	font-weight: 700;
}

.plan-header {
	text-align: center;
	margin-bottom: 20px;
}

.plan-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.plan-price {
	font-size: 2.2rem;
	font-weight: 800;
	margin-bottom: 5px;
}

.plan-period {
	font-size: 1rem;
	opacity: 0.9;
}

.plan-features {
	list-style: none;
	padding: 0;
	margin: 0;
}

.plan-features li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 14px;
	font-weight: 500;
}

.plan-features li:last-child {
	border-bottom: none;
}

.feature-value {
	font-weight: 700;
}

/* Dashboard Grid */
.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 25px;
	margin-bottom: 30px;
}

.dashboard-grid-full {
	display: grid;
	grid-template-columns: 1fr;
	gap: 25px;
	margin-bottom: 30px;
}

/* Members Card Styling */
.members-card {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	border: 2px solid #FF4500;
	overflow: hidden;
	transition: all 0.3s ease;
}

.members-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(255, 69, 0, 0.2);
}

.members-card-header {
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
	color: #FFFFFF;
	padding: 15px 20px;
	font-family: 'Poppins', sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.members-card-body {
	padding: 20px;
}

/* Member Profile */
.member-profile {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px;
}

.member-photo img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 4px solid #FF4500;
	box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.member-info h3 {
	color: #FF4500;
	font-family: 'Poppins', sans-serif;
	margin-bottom: 10px;
	font-size: 1.3rem;
}

.member-info p {
	color: #333333;
	margin: 5px 0;
	font-weight: 500;
}

/* Stats Grid */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
	padding: 20px;
}

.stat-item {
	text-align: center;
	padding: 15px;
	background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
	border-radius: 10px;
	color: #FFFFFF;
	box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
	transition: all 0.3s ease;
}

.stat-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(255, 69, 0, 0.4);
}

.stat-label {
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 5px;
	opacity: 0.9;
}

.stat-value {
	font-size: 1.8rem;
	font-weight: 800;
	font-family: 'Poppins', sans-serif;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Overview Grid */
.overview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	padding: 20px;
}

.overview-item {
	text-align: center;
	padding: 20px;
	background: linear-gradient(135deg, #CC3600 0%, #FF4500 100%);
	border-radius: 12px;
	color: #FFFFFF;
	box-shadow: 0 6px 18px rgba(255, 69, 0, 0.3);
	transition: all 0.3s ease;
}

.overview-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
}

.overview-item h4 {
	color: #FFE4B3;
	font-family: 'Poppins', sans-serif;
	margin-bottom: 10px;
	font-size: 1.1rem;
}

.overview-item .value {
	font-size: 2rem;
	font-weight: 800;
	font-family: 'Poppins', sans-serif;
	margin-bottom: 10px;
	color: #FFFFFF;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.overview-item a {
	color: #FFE4B3;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	transition: all 0.3s ease;
}

.overview-item a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

/* Recommends Grid */
.recommends-section {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 30px;
	margin-bottom: 20px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	border: 2px solid #FF4500;
}

.recommends-section h3 {
	text-align: center;
	color: #FF4500;
	font-family: 'Poppins', sans-serif;
	font-size: 1.5rem;
	margin-bottom: 25px;
}

.recommends-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
	gap: 20px;
	align-items: center;
	justify-items: center;
}

.recommends-grid a {
	transition: all 0.3s ease;
	display: block;
}

.recommends-grid a:hover {
	transform: scale(1.05);
}

.recommends-grid img {
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
	.members-container {
		padding: 15px;
	}
	
	.membership-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.dashboard-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.overview-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.member-profile {
		flex-direction: column;
		text-align: center;
		gap: 15px;
	}

	.members-welcome h1 {
		font-size: 2rem;
	}

	.recommends-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
}

@media (max-width: 480px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}

	.overview-grid {
		grid-template-columns: 1fr;
	}

	.recommends-grid {
		grid-template-columns: 1fr;
	}
}

/* ========================================== */
/* COMPLETE RESET FOR MYBANNERS, MYSITES, MYTEXTS PAGES */
/* Add this at the very end of your CSS file */
/* ========================================== */

/* ===== COMPLETELY REMOVE DATATABLES STYLING ===== */

/* Remove ALL the problematic DataTable styling */
#adstable {
    table-layout: auto !important; /* This was the main problem - was set to "fixed" */
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #dee2e6 !important;
    background-color: #FFFFFF !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    margin: 0 !important;
}

/* Remove ALL column width restrictions */
#adstable th, 
#adstable td {
    width: auto !important; /* Let columns size naturally */
    min-width: auto !important;
    max-width: none !important;
    padding: 8px !important;
    border: 1px solid #dee2e6 !important;
    text-align: left !important;
    vertical-align: middle !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    background: transparent !important;
    color: #212529 !important;
    box-sizing: border-box !important;
}

/* Let the first column (Text Ad/Site/Banner) be wider naturally */
#adstable th:first-child,
#adstable td:first-child {
    width: auto !important;
    min-width: 200px !important; /* Give it some minimum space */
    white-space: normal !important; /* Allow text wrapping in first column */
}

/* Allow settings column to be flexible */
#adstable th:nth-child(2),
#adstable td:nth-child(2) {
    width: auto !important;
    min-width: 150px !important;
    white-space: normal !important;
}

/* Make other columns auto-size */
#adstable th:nth-child(n+3),
#adstable td:nth-child(n+3) {
    width: auto !important;
    text-align: center !important;
}

/* Style table headers simply */
#adstable thead th {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    font-weight: bold !important;
    border-bottom: 2px solid #dee2e6 !important;
}

/* Simple row styling */
#adstable tbody tr {
    background-color: #FFFFFF !important;
}

#adstable tbody tr:nth-child(even) {
    background-color: #f8f9fa !important;
}

#adstable tbody tr:hover {
    background-color: #e9ecef !important;
}

/* ===== FIX FORM INPUTS IN TABLE ===== */

/* Make inputs in the table work properly */
#adstable input[type="text"],
#adstable input[type="number"],
#adstable textarea {
    width: 100% !important;
    min-width: 80px !important;
    max-width: none !important;
    padding: 4px 6px !important;
    font-size: 13px !important;
    border: 1px solid #ced4da !important;
    border-radius: 3px !important;
    background-color: #FFFFFF !important;
    color: #495057 !important;
    font-family: Arial, sans-serif !important;
    box-sizing: border-box !important;
}

#adstable input:focus,
#adstable textarea:focus {
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    outline: 0 !important;
}

/* ===== FIX BUTTONS IN TABLE ===== */

/* Simple button styling */
#adstable button,
#adstable input[type="button"],
#adstable input[type="submit"] {
    padding: 4px 8px !important;
    font-size: 12px !important;
    font-weight: normal !important;
    border: 1px solid #ced4da !important;
    border-radius: 3px !important;
    background-color: #f8f9fa !important;
    color: #495057 !important;
    cursor: pointer !important;
    font-family: Arial, sans-serif !important;
    margin: 1px !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1.4 !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
}

#adstable button:hover,
#adstable input[type="button"]:hover,
#adstable input[type="submit"]:hover {
    background-color: #e9ecef !important;
    border-color: #adb5bd !important;
    color: #495057 !important;
    transform: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* ===== FIX ADD FORMS ===== */

/* Reset the add forms completely */
table[border="1"][bordercolor="black"] {
    width: auto !important;
    max-width: none !important;
    margin: 15px auto !important;
    border: 1px solid #000000 !important;
    border-collapse: collapse !important;
    background-color: #FFFFFF !important;
    font-family: Arial, sans-serif !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

table[border="1"] td {
    padding: 5px !important;
    border: 1px solid #000000 !important;
    background-color: #FFFFFF !important;
    color: #000000 !important;
    font-size: 14px !important;
    vertical-align: middle !important;
}

table[border="1"] input[type="text"],
table[border="1"] textarea {
    width: 250px !important;
    min-width: 200px !important;
    padding: 4px 6px !important;
    font-size: 14px !important;
    border: 1px solid #ced4da !important;
    border-radius: 3px !important;
    background-color: #FFFFFF !important;
    color: #495057 !important;
    font-family: Arial, sans-serif !important;
    box-sizing: border-box !important;
}

table[border="1"] input[type="submit"] {
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    border: 1px solid #ced4da !important;
    border-radius: 3px !important;
    background-color: #f8f9fa !important;
    color: #495057 !important;
    cursor: pointer !important;
    font-family: Arial, sans-serif !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
}

table[border="1"] input[type="submit"]:hover {
    background-color: #e9ecef !important;
    border-color: #adb5bd !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== FIX DATATABLES CONTROLS ===== */

/* Reset DataTables search */
.dataTables_filter input {
    width: 200px !important;
    max-width: none !important;
    padding: 4px 6px !important;
    font-size: 14px !important;
    border: 1px solid #ced4da !important;
    border-radius: 3px !important;
    background-color: #FFFFFF !important;
    color: #495057 !important;
    font-family: Arial, sans-serif !important;
}

/* Reset pagination */
.dataTables_paginate .paginate_button {
    padding: 6px 12px !important;
    margin: 0 2px !important;
    border: 1px solid #dee2e6 !important;
    background: #FFFFFF !important;
    color: #007bff !important;
    border-radius: 3px !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.dataTables_paginate .paginate_button:hover {
    background: #e9ecef !important;
    border-color: #adb5bd !important;
    color: #0056b3 !important;
}

.dataTables_paginate .paginate_button.current {
    background: #007bff !important;
    border-color: #007bff !important;
    color: #FFFFFF !important;
}

/* ===== FIX CARDS AROUND TABLES ===== */

/* Reset card styling to basic Bootstrap */
.card {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(0,0,0,0.125) !important;
    border-radius: 0.25rem !important;
    box-shadow: none !important;
    margin-bottom: 1rem !important;
}

.card-body {
    padding: 1.25rem !important;
}

.card-header {
    background-color: rgba(0,0,0,0.03) !important;
    border-bottom: 1px solid rgba(0,0,0,0.125) !important;
    color: #495057 !important;
    font-weight: normal !important;
    padding: 0.75rem 1.25rem !important;
}

/* ===== REMOVE ALL TRANSFORMS AND EFFECTS ===== */

/* Make sure nothing has transforms or fancy effects */
#adstable *,
table[border="1"] *,
.dataTables_wrapper *,
.card * {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
}

/* ===== ENSURE RESPONSIVENESS ===== */

/* Make table responsive but functional */
@media (max-width: 768px) {
    #adstable {
        font-size: 12px !important;
    }
    
    #adstable th,
    #adstable td {
        padding: 4px !important;
    }
    
    #adstable input,
    #adstable textarea {
        font-size: 12px !important;
        padding: 2px 4px !important;
    }
    
    table[border="1"] input[type="text"],
    table[border="1"] textarea {
        width: 200px !important;
    }
}

/* END OF COMPLETE RESET */