/*
Theme Name: WIB Support Portal
Theme URI: https://wib-support.local
Author: WIB Team
Author URI: https://wib-support.local
Description: A state-of-the-art, premium WordPress theme designed specifically for modern Helpdesk and Support System portals. Features rich aesthetics, glassmorphism, curated HSL color palettes, smooth gradients, and micro-animations.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wib-support
*/

/* ==========================================================================
   1. Design Tokens & CSS Variables
   ========================================================================== */
:root {
	/* Curated Color Palette */
	--bg-main: #f8fafc;
	--bg-surface: #ffffff;
	--text-main: #0f172a;
	--text-muted: #64748b;
	--text-light: #94a3b8;

	/* Brand Colors */
	--primary: #2563eb;
	--primary-hover: #1d4ed8;
	--primary-glow: rgba(37, 99, 235, 0.25);
	--secondary: #06b6d4;
	--accent: #8b5cf6;

	/* Hero Dark Palette */
	--hero-bg: #0f172a;
	--hero-surface: #1e293b;

	/* Glassmorphism */
	--glass-bg: rgba(255, 255, 255, 0.8);
	--glass-dark-bg: rgba(15, 23, 42, 0.75);
	--glass-border: rgba(255, 255, 255, 0.2);
	--glass-dark-border: rgba(255, 255, 255, 0.1);
	--glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);

	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

	/* Transitions */
	--transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	--transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

	/* Layout */
	--container-width: 1200px;
	--container-padding: 24px;
	--header-height: 80px;
}

/* ==========================================================================
   2. Base & Reset
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background-color: var(--bg-main);
	color: var(--text-main);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--primary-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul,
ol {
	list-style: none;
}

/* Container */
.wib-container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* ==========================================================================
   3. Glassmorphism & Utilities
   ========================================================================== */
.wib-glass-card {
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow);
	border-radius: 20px;
}

.wib-glass-card-dark {
	background: var(--glass-dark-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-dark-border);
	box-shadow: var(--glass-shadow);
	border-radius: 20px;
}

/* Premium Buttons */
.wib-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 12px;
	cursor: pointer;
	transition: all var(--transition-normal);
	border: none;
	text-decoration: none;
	line-height: 1.4;
}

.wib-btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: #ffffff !important;
	box-shadow: 0 4px 16px var(--primary-glow);
}

.wib-btn-primary:hover {
	background: linear-gradient(135deg, var(--primary-hover), var(--primary));
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--primary-glow);
}

.wib-btn-secondary {
	background: var(--bg-surface);
	color: var(--text-main) !important;
	border: 1px solid #e2e8f0;
	box-shadow: var(--shadow-sm);
}

.wib-btn-secondary:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	transform: translateY(-2px);
}

.wib-btn-glass {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.wib-btn-glass:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, 0.4);
}

/* Section Titles */
.wib-section-header {
	text-align: center;
	margin-bottom: 48px;
}

.wib-section-badge {
	display: inline-block;
	background: rgba(37, 99, 235, 0.1);
	color: var(--primary);
	padding: 6px 16px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 16px;
}

.wib-section-title {
	font-size: 36px;
	font-weight: 800;
	color: var(--text-main);
	margin-bottom: 16px;
	letter-spacing: -0.5px;
}

.wib-section-subtitle {
	font-size: 18px;
	color: var(--text-muted);
	max-width: 600px;
	margin: 0 auto;
}

/* ==========================================================================
   4. Header Navigation
   ========================================================================== */
.wib-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--header-height);
	z-index: 1000;
	display: flex;
	align-items: center;
	transition: all var(--transition-normal);
}

.wib-site-header.is-scrolled {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: var(--glass-shadow);
	border-bottom: 1px solid var(--glass-border);
}

.wib-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

.wib-logo-area a {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 22px;
	font-weight: 800;
	color: var(--text-main);
	letter-spacing: -0.5px;
}

.wib-logo-area a:hover {
	opacity: 0.9;
}

.wib-logo-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 20px;
	font-weight: 900;
	box-shadow: 0 4px 12px var(--primary-glow);
	padding: 25px;
}

.wib-logo-text {
	transition: color var(--transition-normal);
}

.home .wib-site-header:not(.is-scrolled) .wib-logo-area .wib-logo-text {
	color: #ffffff;
}

.home .wib-site-header:not(.is-scrolled) .wib-nav-menu li a {
	color: rgba(255, 255, 255, 0.7);
}

.home .wib-site-header:not(.is-scrolled) .wib-nav-menu li a:hover,
.home .wib-site-header:not(.is-scrolled) .wib-nav-menu li.current-menu-item a {
	color: #ffffff;
}

/* Navigation Menu */
.wib-nav-menu {
	display: flex;
	align-items: center;
	gap: 32px;
}

.wib-nav-menu ul {
	display: flex;
	align-items: center;
	gap: 24px;
}

.wib-nav-menu li a {
	font-size: 15px;
	font-weight: 600;
	color: var(--text-muted);
	position: relative;
	padding: 8px 4px;
}

.wib-nav-menu li a:hover,
.wib-nav-menu li.current-menu-item a {
	color: var(--text-main);
}

.wib-nav-menu li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width var(--transition-normal);
	border-radius: 2px;
}

.wib-nav-menu li a:hover::after,
.wib-nav-menu li.current-menu-item a::after {
	width: 100%;
}

.wib-mobile-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--text-main);
	cursor: pointer;
}

.home .wib-site-header:not(.is-scrolled) .wib-mobile-toggle {
	color: #ffffff !important;
}

/* Trendy Header Buttons & Auth Styling */
.wib-header-cta {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* Login Link */
.wib-login-link {
	font-size: 15px;
	font-weight: 600;
	color: #e2e8f0;
	padding: 8px 16px;
	transition: all var(--transition-fast);
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 42px;
	text-decoration: none;
}

.wib-login-link:hover {
	color: #ffffff;
	text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.wib-site-header.is-scrolled .wib-login-link {
	color: var(--text-muted);
}

.wib-site-header.is-scrolled .wib-login-link:hover {
	color: var(--primary);
	text-shadow: none;
}

/* Trendy Glass Pill Button (Sign Up / Dashboard) */
.wib-btn-glass-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 24px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff !important;
	transition: all var(--transition-normal);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	text-decoration: none;
}

.wib-btn-glass-pill:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.wib-site-header.is-scrolled .wib-btn-glass-pill {
	background: rgba(15, 23, 42, 0.05);
	border-color: rgba(15, 23, 42, 0.1);
	color: var(--text-main) !important;
	box-shadow: none;
}

.wib-site-header.is-scrolled .wib-btn-glass-pill:hover {
	background: rgba(15, 23, 42, 0.08);
	border-color: rgba(15, 23, 42, 0.2);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Trendy Primary Pill Button (Create Ticket) */
.wib-btn-primary-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 26px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 100px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: #ffffff !important;
	transition: all var(--transition-normal);
	box-shadow: 0 4px 16px var(--primary-glow);
	border: none;
	text-decoration: none;
}

.wib-btn-primary-pill:hover {
	background: linear-gradient(135deg, var(--primary-hover), var(--primary));
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--primary-glow);
}

.wib-user-menu {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: 8px;
	padding-left: 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.wib-site-header.is-scrolled .wib-user-menu {
	border-left-color: rgba(0, 0, 0, 0.1);
}

.wib-logout-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	color: #94a3b8;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all var(--transition-fast);
}

.wib-logout-link:hover {
	background: #ef4444;
	color: #ffffff;
	border-color: #ef4444;
	transform: translateY(-2px);
}

.wib-site-header.is-scrolled .wib-logout-link {
	background: #f1f5f9;
	color: #64748b;
	border-color: #e2e8f0;
}

.wib-site-header.is-scrolled .wib-logout-link:hover {
	background: #ef4444;
	color: #ffffff;
	border-color: #ef4444;
}

/* Admin Bar Overlap Fix */
body.admin-bar .wib-site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .wib-site-header {
		top: 46px;
	}
}

/* Subpage Header Glassmorphism Contrast */
body:not(.home) .wib-site-header {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: var(--glass-shadow);
	border-bottom: 1px solid var(--glass-border);
}

body:not(.home) .wib-site-header .wib-login-link {
	color: var(--text-muted);
}

body:not(.home) .wib-site-header .wib-login-link:hover {
	color: var(--primary);
}

body:not(.home) .wib-site-header .wib-btn-glass-pill {
	background: rgba(15, 23, 42, 0.05);
	border-color: rgba(15, 23, 42, 0.1);
	color: var(--text-main) !important;
	box-shadow: none;
}

body:not(.home) .wib-site-header .wib-btn-glass-pill:hover {
	background: rgba(15, 23, 42, 0.08);
	border-color: rgba(15, 23, 42, 0.2);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body:not(.home) .wib-site-header .wib-user-menu {
	border-left-color: rgba(0, 0, 0, 0.1);
}

body:not(.home) .wib-site-header .wib-logout-link {
	background: #f1f5f9;
	color: #64748b;
	border-color: #e2e8f0;
}

body:not(.home) .wib-site-header .wib-logout-link:hover {
	background: #ef4444;
	color: #ffffff;
	border-color: #ef4444;
}


/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.wib-hero-section {
	position: relative;
	background-color: var(--hero-bg);
	padding: 160px 0 120px;
	overflow: hidden;
}

/* Glowing Orbs */
.wib-hero-section::before,
.wib-hero-section::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	z-index: 1;
}

.wib-hero-section::before {
	top: -100px;
	left: -100px;
	width: 500px;
	height: 500px;
	background: rgba(37, 99, 235, 0.3);
}

.wib-hero-section::after {
	bottom: -100px;
	right: -100px;
	width: 400px;
	height: 400px;
	background: rgba(6, 182, 212, 0.25);
}

.wib-hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.wib-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #e2e8f0;
	padding: 6px 18px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 24px;
}

.wib-hero-badge .pulse-dot {
	width: 8px;
	height: 8px;
	background-color: #10b981;
	border-radius: 50%;
	box-shadow: 0 0 12px #10b981;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
		opacity: 0.8;
	}

	50% {
		transform: scale(1.2);
		opacity: 1;
	}

	100% {
		transform: scale(0.95);
		opacity: 0.8;
	}
}

.wib-hero-title {
	font-size: 52px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 20px;
	letter-spacing: -1px;
	line-height: 1.15;
}

.wib-hero-title span {
	background: linear-gradient(135deg, #60a5fa, #06b6d4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.wib-hero-subtitle {
	font-size: 20px;
	color: #94a3b8;
	margin-bottom: 40px;
}

/* Search Box */
.wib-hero-search-box {
	position: relative;
	margin-bottom: 24px;
}

.wib-hero-search-box form {
	display: flex;
	align-items: center;
	background: var(--glass-dark-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-dark-border);
	padding: 8px 8px 8px 24px;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	transition: all var(--transition-normal);
}

.wib-hero-search-box form:focus-within {
	border-color: var(--primary);
	box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.wib-search-icon {
	color: #64748b;
	font-size: 20px;
	margin-right: 16px;
}

.wib-hero-search-box input {
	flex: 1;
	background: none;
	border: none;
	color: #ffffff;
	font-size: 18px;
	font-family: inherit;
	padding: 12px 0;
}

.wib-hero-search-box input:focus {
	outline: none;
}

.wib-hero-search-box input::placeholder {
	color: #64748b;
}

.wib-search-btn {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: #ffffff;
	border: none;
	padding: 14px 36px;
	border-radius: 14px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-normal);
	box-shadow: 0 4px 16px var(--primary-glow);
}

.wib-search-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--primary-glow);
}

/* Search Tags */
.wib-search-tags {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.wib-search-tags span {
	font-size: 14px;
	color: #64748b;
	font-weight: 500;
}

.wib-tag-pill {
	font-size: 13px;
	color: #94a3b8;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 4px 14px;
	border-radius: 20px;
	transition: all var(--transition-fast);
}

.wib-tag-pill:hover {
	background: rgba(37, 99, 235, 0.2);
	border-color: var(--primary);
	color: #ffffff;
}

/* ==========================================================================
   6. Knowledge Base Category Grid
   ========================================================================== */
.wib-kb-section {
	padding: 100px 0;
	position: relative;
	z-index: 5;
}

.wib-kb-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.wib-kb-card {
	padding: 36px;
	background: var(--bg-surface);
	border-radius: 24px;
	border: 1px solid #e2e8f0;
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-bounce);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.wib-kb-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
	border-color: #cbd5e1;
}

.wib-kb-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	opacity: 0;
	transition: opacity var(--transition-normal);
}

.wib-kb-card:hover::before {
	opacity: 1;
}

.wib-kb-icon {
	width: 64px;
	height: 64px;
	background: rgba(37, 99, 235, 0.08);
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	margin-bottom: 24px;
	transition: all var(--transition-normal);
}

.wib-kb-card:hover .wib-kb-icon {
	background: var(--primary);
	color: #ffffff;
	transform: scale(1.05);
}

.wib-kb-card h3 {
	font-size: 22px;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 12px;
	letter-spacing: -0.3px;
}

.wib-kb-card p {
	color: var(--text-muted);
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 1.6;
}

.wib-kb-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #f1f5f9;
	padding-top: 20px;
	font-size: 14px;
	font-weight: 600;
}

.wib-kb-count {
	color: var(--text-light);
	background: #f1f5f9;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
}

.wib-kb-link {
	color: var(--primary);
	display: flex;
	align-items: center;
	gap: 6px;
}

.wib-kb-link svg {
	transition: transform var(--transition-fast);
}

.wib-kb-card:hover .wib-kb-link svg {
	transform: translateX(4px);
}

/* ==========================================================================
   7. Quick Action Callouts
   ========================================================================== */
.wib-actions-section {
	padding: 40px 0 100px;
}

.wib-actions-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

.wib-action-card {
	background: linear-gradient(135deg, #1e293b, #0f172a);
	border-radius: 28px;
	padding: 48px;
	position: relative;
	overflow: hidden;
	color: #ffffff;
	box-shadow: var(--shadow-xl);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.wib-action-card::before {
	content: '';
	position: absolute;
	right: -50px;
	bottom: -50px;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
	filter: blur(40px);
	z-index: 1;
}

.wib-action-card-content {
	position: relative;
	z-index: 2;
}

.wib-action-card h3 {
	font-size: 32px;
	font-weight: 800;
	margin-bottom: 16px;
	letter-spacing: -0.5px;
	line-height: 1.2;
}

.wib-action-card p {
	color: #94a3b8;
	font-size: 16px;
	margin-bottom: 36px;
	max-width: 400px;
}

/* ==========================================================================
   8. FAQ Accordion Section
   ========================================================================== */
.wib-faq-section {
	padding: 100px 0;
	background: var(--bg-surface);
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
}

.wib-faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.wib-faq-item {
	border-bottom: 1px solid #e2e8f0;
	padding: 24px 0;
}

.wib-faq-item:last-child {
	border-bottom: none;
}

.wib-faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	background: none;
	border: none;
	font-size: 18px;
	font-weight: 700;
	color: var(--text-main);
	cursor: pointer;
	text-align: left;
	padding: 8px 0;
}

.wib-faq-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	transition: all var(--transition-normal);
	flex-shrink: 0;
	margin-left: 16px;
}

.wib-faq-item.is-open .wib-faq-icon {
	background: var(--primary);
	color: #ffffff;
	transform: rotate(180deg);
}

.wib-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--transition-normal);
}

.wib-faq-answer p {
	padding-top: 16px;
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.7;
}

/* ==========================================================================
   9. Standard Page Container & Plugin Wrapper
   ========================================================================== */
.wib-page-section {
	padding: 140px 0 100px;
}

.wib-page-header {
	margin-bottom: 48px;
	text-align: center;
}

.wib-page-title {
	font-size: 40px;
	font-weight: 800;
	color: var(--text-main);
	letter-spacing: -0.5px;
}

.wib-page-card {
	background: var(--bg-surface);
	border-radius: 24px;
	border: 1px solid #e2e8f0;
	box-shadow: var(--shadow-lg);
	padding: 48px;
	max-width: 1280px;
	margin: 0 auto;
}

/* Elevating the Ticket System Plugin Form/Dashboard inside Theme */
#wib-public-create-ticket-form,
.wib-public-dashboard-container {
	margin: 0 !important;
	padding: 0 !important;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.wib-site-footer {
	background-color: var(--hero-bg);
	color: #ffffff;
	padding: 80px 0 40px;
	position: relative;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wib-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 64px;
}

.wib-footer-brand p {
	color: #94a3b8;
	margin: 20px 0 28px;
	max-width: 320px;
	font-size: 15px;
}

.wib-social-icons {
	display: flex;
	gap: 12px;
}

.wib-social-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	transition: all var(--transition-fast);
}

.wib-social-icon:hover {
	background: var(--primary);
	border-color: var(--primary);
	transform: translateY(-2px);
}

.wib-footer-col h4 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 24px;
	color: #ffffff;
}

.wib-footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.wib-footer-col li a {
	color: #94a3b8;
	font-size: 15px;
}

.wib-footer-col li a:hover {
	color: #ffffff;
	padding-left: 4px;
}

.wib-footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 32px;
	color: #64748b;
	font-size: 14px;
}

.wib-footer-bottom-links {
	display: flex;
	gap: 24px;
}

.wib-footer-bottom-links a {
	color: #64748b;
}

.wib-footer-bottom-links a:hover {
	color: #94a3b8;
}

/* ==========================================================================
   11. Frontend Auth Pages & Forms Styling
   ========================================================================== */
.wib-auth-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--hero-bg);
	padding: 120px 20px 60px;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

.wib-auth-page::before,
.wib-auth-page::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	z-index: 1;
}

.wib-auth-page::before {
	top: -100px;
	left: -100px;
	width: 500px;
	height: 500px;
	background: rgba(37, 99, 235, 0.25);
}

.wib-auth-page::after {
	bottom: -100px;
	right: -100px;
	width: 400px;
	height: 400px;
	background: rgba(6, 182, 212, 0.2);
}

.wib-auth-card {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 460px;
	background: var(--glass-dark-bg);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid var(--glass-dark-border);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	border-radius: 28px;
	padding: 48px 40px;
	text-align: center;
}

.wib-auth-header {
	margin-bottom: 36px;
}

.wib-auth-header .wib-logo-area {
	justify-content: center;
	margin-bottom: 24px;
}

.wib-auth-header h1 {
	font-size: 28px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 8px;
	letter-spacing: -0.5px;
}

.wib-auth-header p {
	color: #94a3b8;
	font-size: 15px;
	margin: 0;
}

/* WordPress Login Form Override */
#wib-login-form,
#wib-register-form {
	text-align: left;
}

#wib-login-form .login-username,
#wib-login-form .login-password,
#wib-register-form .form-group {
	margin-bottom: 22px;
}

#wib-login-form label,
#wib-register-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #e2e8f0;
	margin-bottom: 8px;
}

#wib-login-form input[type="text"],
#wib-login-form input[type="password"],
#wib-register-form input[type="text"],
#wib-register-form input[type="email"],
#wib-register-form input[type="password"] {
	width: 100%;
	padding: 14px 18px;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 14px;
	font-size: 15px;
	color: #ffffff;
	transition: all var(--transition-normal);
	box-sizing: border-box;
}

#wib-login-form input[type="text"]:focus,
#wib-login-form input[type="password"]:focus,
#wib-register-form input[type="text"]:focus,
#wib-register-form input[type="email"]:focus,
#wib-register-form input[type="password"]:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
	background: rgba(15, 23, 42, 0.8);
}

/* Password Strength Indicator */
.wib-password-strength-group {
	margin-bottom: 22px;
}

.wib-password-strength-indicator {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: #94a3b8;
	font-weight: 500;
}

.wib-password-strength-indicator .strength-bars {
	display: flex;
	gap: 4px;
	align-items: center;
}

.wib-password-strength-indicator .strength-bar {
	width: 16px;
	height: 6px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 2px;
	transition: all var(--transition-normal);
}

.wib-password-strength-indicator.strength-1 .strength-bar:nth-child(1) {
	background: #ef4444;
	box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.wib-password-strength-indicator.strength-2 .strength-bar:nth-child(1),
.wib-password-strength-indicator.strength-2 .strength-bar:nth-child(2) {
	background: #f59e0b;
	box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.wib-password-strength-indicator.strength-3 .strength-bar:nth-child(1),
.wib-password-strength-indicator.strength-3 .strength-bar:nth-child(2),
.wib-password-strength-indicator.strength-3 .strength-bar:nth-child(3) {
	background: #10b981;
	box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.wib-password-strength-indicator.strength-4 .strength-bar:nth-child(1),
.wib-password-strength-indicator.strength-4 .strength-bar:nth-child(2),
.wib-password-strength-indicator.strength-4 .strength-bar:nth-child(3),
.wib-password-strength-indicator.strength-4 .strength-bar:nth-child(4) {
	background: #059669;
	box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
}

.wib-password-strength-indicator.strength-5 .strength-bar {
	background: #059669;
	box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
}

.strength-text {
	font-size: 12px;
	margin-top: 4px;
	min-height: 18px;
	transition: color var(--transition-fast);
}

.strength-text.text-1 {
	color: #ef4444;
}

.strength-text.text-2 {
	color: #f59e0b;
}

.strength-text.text-3 {
	color: #10b981;
}

.strength-text.text-4 {
	color: #059669;
}

.strength-text.text-5 {
	color: #059669;
}

#wib-login-form .login-remember {
	margin-bottom: 28px;
}

#wib-login-form .login-remember label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #94a3b8;
	font-weight: 500;
	cursor: pointer;
}

#wib-login-form .login-remember input[type="checkbox"] {
	width: 18px;
	height: 18px;
	border-radius: 6px;
	accent-color: var(--primary);
	cursor: pointer;
}

#wib-login-form .login-submit input[type="submit"],
#wib-register-form .form-submit button {
	width: 100%;
	padding: 14px 28px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: #ffffff;
	border: none;
	border-radius: 100px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-normal);
	box-shadow: 0 4px 16px var(--primary-glow);
}

#wib-login-form .login-submit input[type="submit"]:hover,
#wib-register-form .form-submit button:hover {
	background: linear-gradient(135deg, var(--primary-hover), var(--primary));
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--primary-glow);
}

.wib-auth-footer {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	color: #94a3b8;
}

.wib-auth-footer a {
	color: var(--secondary);
	font-weight: 600;
}

.wib-auth-footer a:hover {
	text-decoration: underline;
}

.wib-auth-footer .wib-forgot-password-link {
	color: var(--secondary);
	font-weight: 600;
	font-size: 14px;
	transition: all var(--transition-fast);
}

.wib-auth-footer .wib-forgot-password-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

.wib-auth-back {
	position: absolute;
	top: 32px;
	left: 32px;
	z-index: 10;
}

.wib-auth-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #94a3b8;
	font-size: 14px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.05);
	padding: 8px 16px;
	border-radius: 100px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all var(--transition-fast);
}

.wib-auth-back a:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   12. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
	.wib-kb-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.wib-actions-grid {
		grid-template-columns: 1fr;
	}

	.wib-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	:root {
		--header-height: 70px;
	}

	.wib-nav-menu ul {
		display: none;
		position: absolute;
		top: var(--header-height);
		left: 0;
		right: 0;
		background: var(--glass-dark-bg);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border-bottom: 1px solid var(--glass-dark-border);
		padding: 24px;
		flex-direction: column;
		align-items: center;
		gap: 20px;
		box-shadow: var(--shadow-xl);
	}

	.wib-nav-menu ul.is-open {
		display: flex;
	}

	.wib-mobile-toggle {
		display: block;
	}

	.wib-hero-section {
		padding: 130px 0 80px;
	}

	.wib-hero-title {
		font-size: 36px;
	}

	.wib-kb-grid {
		grid-template-columns: 1fr;
	}

	.wib-footer-grid {
		grid-template-columns: 1fr;
	}

	.wib-footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}

	.wib-page-card {
		padding: 28px 20px;
	}

	/* Hero Search Box Responsive Styling */
	.wib-hero-search-box form {
		padding: 6px 6px 6px 16px;
		border-radius: 16px;
	}
	.wib-hero-search-box input {
		font-size: 15px;
		padding: 8px 0;
	}
	.wib-search-btn {
		padding: 10px 20px;
		font-size: 14px;
		border-radius: 12px;
	}
	.wib-search-icon {
		margin-right: 8px;
		width: 18px;
		height: 18px;
	}

	/* Hide desktop header CTA on mobile since JS moves them inside mobile menu */
	.wib-header-cta {
		display: none !important;
	}
	
	.wib-mobile-cta-item {
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
		width: 100% !important;
		align-items: center !important;
		padding-top: 16px !important;
		border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
		margin-top: 16px !important;
	}
	
	.wib-mobile-cta-item a:not(.wib-logout-link) {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		max-width: 240px !important;
		padding: 10px 20px !important;
		border-radius: 100px !important;
		font-weight: 600 !important;
		text-decoration: none !important;
		font-size: 14px !important;
		text-align: center !important;
		box-sizing: border-box !important;
		height: 42px !important;
	}
	
	.wib-mobile-cta-item .wib-btn-glass-pill {
		background: rgba(255, 255, 255, 0.1) !important;
		border: 1px solid rgba(255, 255, 255, 0.2) !important;
		color: #ffffff !important;
	}
	
	.wib-mobile-cta-item .wib-btn-primary-pill {
		background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
		border: none !important;
		color: #ffffff !important;
	}
	
	.wib-mobile-cta-item .wib-login-link {
		color: #e2e8f0 !important;
		background: transparent !important;
		border: 1px solid rgba(255, 255, 255, 0.15) !important;
	}
	
	.wib-mobile-cta-item .wib-login-link:hover {
		color: #ffffff !important;
		background: rgba(255, 255, 255, 0.05) !important;
	}
	
	.wib-mobile-cta-item .wib-user-menu {
		display: flex !important;
		align-items: center !important;
		gap: 16px !important;
		margin-top: 10px !important;
		border: none !important;
		padding: 0 !important;
	}
	
	.wib-mobile-cta-item .wib-logout-link {
		width: 36px !important;
		height: 36px !important;
		border-radius: 50% !important;
		background: rgba(255, 255, 255, 0.1) !important;
		border: 1px solid rgba(255, 255, 255, 0.2) !important;
		color: #ffffff !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
	}
}

@media (max-width: 480px) {
	.wib-hero-title {
		font-size: 30px;
	}
	.wib-hero-subtitle {
		font-size: 16px;
		margin-bottom: 24px;
	}
	.wib-hero-search-box form {
		flex-direction: column !important;
		padding: 12px !important;
		gap: 10px !important;
		border-radius: 16px !important;
	}
	.wib-search-icon {
		display: none !important;
	}
	.wib-hero-search-box input {
		width: 100% !important;
		text-align: center !important;
		padding: 6px 0 !important;
	}
	.wib-search-btn {
		width: 100% !important;
		padding: 12px 20px !important;
		border-radius: 12px !important;
	}
}

/* ==========================================================================
   13. Breadcrumbs
   ========================================================================== */
.wib-breadcrumbs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 20px;
	font-weight: 500;
}

.wib-breadcrumbs a {
	color: var(--primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.wib-breadcrumbs a:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.wib-breadcrumbs .sep {
	color: var(--text-light);
	font-size: 16px;
}

.wib-breadcrumbs span {
	color: var(--text-main);
}

/* ==========================================================================
   14. Live Search Autocomplete Suggestions
   ========================================================================== */
.wib-hero-search-box {
	position: relative;
}

.wib-kb-search-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 8px;
	padding: 8px 0;
	background: var(--glass-dark-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-dark-border);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	z-index: 100;
	list-style: none;
	text-align: left;
	max-height: 300px;
	overflow-y: auto;
}

.wib-kb-search-suggestions li {
	margin: 0;
	padding: 0;
}

.wib-kb-search-suggestions li a {
	display: block;
	padding: 12px 24px;
	color: #e2e8f0;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

.wib-kb-search-suggestions li a:hover {
	background: rgba(37, 99, 235, 0.2);
	color: #ffffff;
	padding-left: 28px;
}