/*
    Theme Name: Audditio
    Theme URI: https://audditio.com/
    Description: Audditio is multipurpose proffesional wordpress theme, desined to develope any kind of website using wordpress. It also works like a framework with many prebuild functionality which will make a developer's life easy. 
    Author: MyCodeGarden
    Author URI: https://mycodegarden.org/
    Tags: wordpress, theme, woocommerce, blog, developer, framework, multipurpose, proffesional, ecommerce
    Requires at least: 5.0
    Tested up to: 5.4
    Requires PHP: 7.0
    Text Domain: audditio
    Version: 0.0.1
    */

.field-msg,
.field-error,
.error-input {
    float: left;
    color: #F00;
    width: 100%;
    font-size: 12px;
}

.right {
    float: right;
}

/* Hero Slider Styles */
.hero-section .container {
    display: block;
}

.hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 35px;
}

.hero-slider .swiper-slide {
    width: 100% !important;
}

/* Editors Pick Slider Styles */
.editors-pick-slider {
    position: relative;
    padding-bottom: 30px;
}

/* WordPress standard pagination styles mapping */
.pagination .page-numbers {
    background: #fff;
    color: #333;
    border: 1px solid #e5e5e5;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s ease;
}

.pagination .page-numbers:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

.pagination .page-numbers.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgb(79 91 255 / 25%);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    background: #111827;
    color: #fff;
    border: none;
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    background: #000;
    transform: translateY(-2px);
}

.pagination .page-numbers.dots {
    color: #999;
    width: auto !important;
    padding: 0 5px;
    background: transparent;
    border: none;
}

.pagination .page-numbers.dots:hover {
    transform: none;
    background: transparent;
}


/* Search Overlay Styles */
body.search-overlay-opened {
    overflow: hidden;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    /* White overlay background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999999;
    /* Higher than .header (999999) to prevent hiding under navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.search-overlay-content {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-overlay.active .search-overlay-content {
    transform: scale(1);
}

/* Close button */
.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #111;
    /* Dark text for contrast on white background */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 10000000;
    /* Higher than overlay container */
}

.search-overlay-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

/* Search input styling */
.search-overlay-form {
    position: relative;
    width: 100%;
}

.search-overlay-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 18px 60px 18px 30px;
    font-size: 20px;
    color: #111;
    /* Dark text */
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-overlay-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.search-overlay-input:focus {
    background: #fff;
    border-color: #7c3aed;
    /* Primary purple gradient color */
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
}

.search-overlay-submit {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.search-overlay-submit:hover {
    color: #7c3aed;
    transform: translateY(-50%) scale(1.1);
}

.search-overlay-hint {
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    margin-top: 15px;
    display: block;
}

/* ==========================================================================
   Auth Popups (Login & Registration)
   ========================================================================== */
.auth_popup.popup_wrap {
    display: none;
    /* Controlled by jQuery fadeIn/fadeOut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9999999;
    /* Sit on top of all header/navbar layers */
}

.auth_popup .popup_row {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.auth_popup .popup_col {
    width: 100%;
    max-width: 850px;
    display: flex;
    justify-content: center;
}

.auth-card-container {
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: authCardFadeIn 0.3s ease-out;
    will-change: transform, opacity;
}

@keyframes authCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card-split {
    display: flex;
    flex-direction: row;
    min-height: 580px;
}

/* Left: Illustration Column */
.auth-illustration {
    flex: 1;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
    box-sizing: border-box;
    overflow: hidden;
}

.auth-illustration-inner {
    position: relative;
    width: 100%;
    max-width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Laptop Graphic */
.laptop-graphic {
    width: 220px;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
}

.laptop-screen {
    background: #1e1e24;
    border: 10px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
    position: relative;
}

.laptop-logo {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.laptop-logo .logo-dot {
    color: #6366f1;
}

.laptop-base {
    background: #cbd5e1;
    height: 8px;
    border-radius: 0 0 8px 8px;
    position: relative;
    width: 250px;
    left: -15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.laptop-base::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: #94a3b8;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 4px 4px;
}

/* Floating Circles */
/* .floating-circle {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
    z-index: 3;
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.circle-lock {
    width: 54px;
    height: 54px;
    top: 20px;
    left: 10px;
    color: #6366f1;
    font-size: 20px;
    animation-delay: 0s;
}

.circle-user {
    width: 48px;
    height: 48px;
    top: 50px;
    right: 10px;
    color: #a78bfa;
    font-size: 18px;
    animation-delay: 1s;
}

.circle-doc {
    width: 44px;
    height: 44px;
    bottom: 40px;
    left: 0;
    color: #3b82f6;
    font-size: 16px;
    animation-delay: 2s;
} */

/* Right: Form Column */
.auth-form-side {
    flex: 1.2;
    padding: 40px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.auth-form-side h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
    text-align: center;
}

.auth-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 15px 0;
    text-align: center;
    /* line-height: 1.5; */
}

/* Social Buttons */
.social-login-btns {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.social-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.social-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Separator */
.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 15px;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.auth-separator:not(:empty)::before {
    margin-right: .5em;
}

.auth-separator:not(:empty)::after {
    margin-left: .5em;
}

/* Inputs */
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 30px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
    color: #111827;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-group input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.label-row label {
    margin-bottom: 0;
}

.forgot-link {
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 46px !important;
}

.toggle-password-btn {
    position: absolute;
    right: 12px;
    top: 23px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password-btn:hover {
    color: #6b7280;
}

/* Remember Me Checkbox */
.form-options {
    margin-bottom: 24px;
    text-align: left;
}

.remember-me-checkbox {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
}

.remember-me-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-box {
    height: 18px;
    width: 18px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.remember-me-checkbox:hover input~.checkbox-box {
    border-color: #9ca3af;
}

.remember-me-checkbox input:checked~.checkbox-box {
    background-color: #6366f1;
    border-color: #6366f1;
}

.checkbox-box:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me-checkbox input:checked~.checkbox-box:after {
    display: block;
}

/* Buttons */
.auth-submit-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    background: #6366f1 !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2) !important;
    transition: all 0.2s ease !important;
}

.auth-submit-btn:hover {
    background: #4f46e5 !important;
    transform: translateY(-1px) !important;
}

.auth-footer-text {
    font-size: 14px;
    color: #4b5563;
    margin: 15px 0 0 0;
    text-align: center;
}

.auth-footer-text a {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
}

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

/* Close dialog button */
.auth-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #f3f4f6;
    background: #ffffff;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    padding: 0;
}

.auth-close-btn:hover {
    background: #f9fafb;
    color: #111827;
    transform: scale(1.05);
}


/* ==========================================================================
   New Registration Card Specific Styles
   ========================================================================== */
.register-card-container {
    max-width: 700px;
}

.auth-card-single {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 30px;
    box-sizing: border-box;
}

.reg-form-content {
    padding: 10px 20px;
    box-sizing: border-box;
}

.reg-form-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
    text-align: center;
}

/* Registration Top Illustration */
.reg-illustration {
    background: #ffffff;
    padding: 20px 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.reg-illustration-inner {
    position: relative;
    width: 400px;
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Center Monitor */
.ill-monitor {
    position: relative;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.monitor-screen {
    width: 130px;
    height: 85px;
    background: #ffffff;
    border: 5px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 8px;
}

.monitor-avatar {
    color: #818cf8;
    background: #f0f2fe;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-bottom: 6px;
}

.monitor-lines {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.monitor-lines .line {
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
}

.monitor-lines .line:nth-child(1) {
    width: 100%;
}

.monitor-lines .line:nth-child(2) {
    width: 70%;
}

.monitor-lines .line:nth-child(3) {
    width: 50%;
}

.monitor-stand {
    width: 16px;
    height: 15px;
    background: #cbd5e1;
}

.monitor-base {
    width: 50px;
    height: 4px;
    background: #94a3b8;
    border-radius: 4px 4px 0 0;
}

/* Left Plant */
.ill-plant {
    position: absolute;
    left: 30px;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plant-leaves {
    position: relative;
    width: 40px;
    height: 35px;
}

.plant-leaves .leaf {
    position: absolute;
    background: #86efac;
    border-radius: 50% 50% 0 50%;
    transform-origin: bottom right;
}

.plant-leaves .leaf-1 {
    width: 14px;
    height: 24px;
    bottom: 0;
    left: 4px;
    transform: rotate(-30deg);
}

.plant-leaves .leaf-2 {
    width: 16px;
    height: 28px;
    bottom: 0;
    left: 12px;
    background: #4ade80;
    border-radius: 50% 50% 0 50%;
    transform: rotate(0deg);
}

.plant-leaves .leaf-3 {
    width: 14px;
    height: 24px;
    bottom: 0;
    right: 4px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(30deg);
    transform-origin: bottom left;
}

.plant-pot {
    width: 24px;
    height: 20px;
    background: #fca5a5;
    border-radius: 0 0 6px 6px;
    position: relative;
}

.plant-pot::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 4px;
    background: #ef4444;
    top: -4px;
    left: -2px;
    border-radius: 2px;
}

/* Right Mug */
.ill-mug {
    position: absolute;
    right: 45px;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
}

.mug-body {
    width: 28px;
    height: 32px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.mug-logo {
    font-size: 6px;
    font-weight: 800;
    color: #4b5563;
    letter-spacing: -0.3px;
    transform: scale(0.9);
}

.mug-logo .logo-dot {
    color: #6366f1;
}

.mug-handle {
    width: 8px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 0 4px 4px 0;
    margin-left: -2px;
    margin-bottom: 8px;
}

/* Sparkles */
.sparkle {
    position: absolute;
    color: #c084fc;
    font-size: 16px;
    animation: pulse 2s infinite ease-in-out;
}

.sparkle-1 {
    top: 15px;
    left: 80px;
}

.sparkle-2 {
    top: 40px;
    right: 70px;
    color: #818cf8;
    animation-delay: 1s;
}

/* Join As Role Grid Selection */
.role-selection-grid {
    display: flex;
    gap: 16px;
    margin-top: 4px;
    width: 100%;
    box-sizing: border-box;
}

.role-card {
    flex: 1;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.role-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.role-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 100%;
}

.role-card:hover .role-card-inner {
    border-color: #d1d5db;
    background: #f9fafb;
}

.role-radio-circle {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.role-radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    display: none;
}

/* Checked states */
.role-card input:checked~.role-card-inner {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.02);
}

.role-card input:checked~.role-card-inner .role-radio-circle {
    border-color: #6366f1;
    background: #6366f1;
}

.role-card input:checked~.role-card-inner .role-radio-circle::after {
    display: block;
}

.role-icon {
    font-size: 24px;
    color: #4b5563;
    margin-bottom: 10px;
    margin-top: 10px;
    transition: color 0.2s ease;
}

.role-card input:checked~.role-card-inner .role-icon {
    color: #6366f1;
}

.role-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.role-desc {
    font-size: 11px;
    color: #6b7280;
    text-align: center;
    line-height: 1.4;
}

.terms-options {
    margin-top: 20px;
    margin-bottom: 20px;
}

.terms-checkbox span {
    line-height: 1.4;
}

.terms-checkbox a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.reg-form-content .form-group {
    width: 48%;
    margin-right: 2%;
    float: left;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group.full {
    width: 100%;
}

/* Table of Contents Refactoring (Drawer & Shortcode) */

/* Left Sidebar & TOC Drawer Wrapper styling */
.left-sidebar-wrapper {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: stretch;
    height: 335px;
    /* Matches the sidebar height */
    background: #ffffff;
    border-radius: 0 30px 30px 0;
    box-shadow: 0 20px 60px rgba(30, 35, 90, 0.12);
    border: 1px solid #e7e1ff;
    border-left: none;
    /* Flat against screen left */
    z-index: 99999;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible; /* Allow popups to extend outside the wrapper */
}

.social-box {
    position: relative; /* Allow child popups to position themselves relative to their specific box */
}

.author-sidebar-popup {
    position: absolute;
    left: -1px;
    bottom: 50%;
    transform: translateY(50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    border-radius: 14px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    z-index: 100000;
    overflow: hidden;
    
    /* Smooth transition */
    visibility: hidden;
    pointer-events: none;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, border-color 0.4s, box-shadow 0.4s, padding 0.4s, visibility 0.4s;
}

.author-sidebar-popup.active,
.social-box:hover .author-sidebar-popup {
    width: 340px;
    height: 64px;
    padding: 8px 12px;
    background: #ffffff;
    border-color: #e7e1ff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(30, 35, 90, 0.15);
    visibility: visible;
    pointer-events: auto;
}

.author-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
}

.author-sidebar-popup img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    border: 2px solid #6366f1;
    object-fit: cover;
    margin-bottom: 0;
}

.author-popup-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.author-sidebar-popup h4 {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.author-sidebar-popup h4 a {
    color: #111827;
    text-decoration: none;
}

.author-sidebar-popup h4 a:hover {
    color: #6366f1;
}

.author-sidebar-popup p.role {
    font-size: 10px;
    color: #6366f1;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.05em;
}

.author-popup-stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border-top: 1px solid #f3f0ff;
    font-size: 11px;
    color: #4b5563;
    width: 100%;
}

.author-popup-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    white-space: nowrap;
}

.author-popup-stats .stat-count {
    font-weight: 700;
    color: #111827;
}

.author-popup-stats .stat-divider {
    color: #c084fc;
    font-weight: bold;
}

.author-popup-stats i {
    padding: 5px 5px !important;
}

.author-view-profile i {
    font-size: 35px !important;
}

/* Share Details Sidebar Popup styling */
.share-sidebar-popup {
    position: absolute;
    left: -1px;
    bottom: 50%;
    transform: translateY(50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    border-radius: 14px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    z-index: 100000;
    overflow: hidden;
    
    /* Smooth transition */
    visibility: hidden;
    pointer-events: none;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, border-color 0.4s, box-shadow 0.4s, padding 0.4s, visibility 0.4s;
}

.share-sidebar-popup.active,
.social-box:hover .share-sidebar-popup {
    width: 230px;
    height: 50px;
    padding: 6px 12px;
    background: #ffffff;
    border-color: #e7e1ff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(30, 35, 90, 0.15);
    visibility: visible;
    pointer-events: auto;
}

.share-popup-title {
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #f3f0ff;
    padding-bottom: 6px;
    margin-bottom: 4px;
    text-align: left;
}

.share-popup-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.share-popup-options a {
    background-color: #decefb47;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.share-icon:hover {
    transform: scale(1.1);
    filter: brightness(0.95);
    color: #ffffff;
}


.social-box.author-profile-box a.author-popup-toggle {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Slide-out drawer wrapper */
.toc-drawer {
    width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-right: 1px solid #e7e1ff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

body.toc-drawer-open .toc-drawer {
    width: 250px;
    opacity: 1;
    visibility: visible;
}

/* Sliding drawer content panel */
.toc-drawer-content {
    width: 250px;
    height: 100%;
    box-sizing: border-box;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

/* Title inside drawer */
.toc-drawer-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toc-drawer-title span {
    font-size: 14px;
    color: #6366f1;
}

/* Drawer list styling */
.toc-drawer-content .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

/* Slim scrollbar for TOC lists inside drawer */
.toc-drawer-content .toc-list::-webkit-scrollbar {
    width: 4px;
}

.toc-drawer-content .toc-list::-webkit-scrollbar-track {
    background: transparent;
}

.toc-drawer-content .toc-list::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 2px;
}

.toc-drawer-content .toc-list::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

.toc-drawer-content .toc-list li {
    font-size: 12px;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    border-left: 2px solid transparent;
}

.toc-drawer-content .toc-list li:hover {
    background: #f9fafb;
    color: #111827;
    border-left-color: #d1d5db;
    padding-left: 12px;
}

.toc-drawer-content .toc-list li.active {
    background: rgba(99, 102, 241, 0.05);
    color: #6366f1;
    border-left-color: #6366f1;
    font-weight: 600;
    padding-left: 12px;
}

/* Shortcode Table of Contents */
.toc-shortcode {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-sizing: border-box;
}

.toc-shortcode-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-shortcode-title span {
    color: #6366f1;
}

.toc-shortcode .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-shortcode .toc-list li {
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 2px solid transparent;
}

.toc-shortcode .toc-list li:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-left-color: #cbd5e1;
    padding-left: 16px;
}

.toc-shortcode .toc-list li.active {
    background: rgba(99, 102, 241, 0.05);
    color: #6366f1;
    border-left-color: #6366f1;
    font-weight: 600;
    padding-left: 16px;
}

/* Custom hamburger pointer */
.left-sidebar .social-box a.toc-drawer-toggle {
    text-decoration: none;
    color: #4b5563;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: color 0.2s ease;
}

.left-sidebar .social-box a.toc-drawer-toggle:hover {
    color: #111827;
}

.left-sidebar .social-box a.toc-drawer-toggle span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   WordPress Block Tables (.wp-block-table) Styling
   ========================================================================== */

/* Responsive wrapper styling */
.content .wp-block-table,
.post-content-body .wp-block-table {
    overflow-x: auto;
    margin: 35px 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Base table style */
.content table,
.post-content-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #334155;
    background: #ffffff;
    text-align: left;
}

/* Header style */
.content table thead tr,
.post-content-body table thead tr {
    background-color: #bfabf669 !important;
    color: var(--primary-color) !important;
}

.content table th,
.post-content-body table th {
    padding: 16px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
}

/* Body cell styles */
.content table td,
.post-content-body table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

/* Alternating rows coloring */
.content table tbody tr:nth-child(even),
.post-content-body table tbody tr:nth-child(even) {
    background-color: #eef4fa;
}

.content table tbody tr:nth-child(odd),
.post-content-body table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Hover highlights */
.content table tbody tr:hover,
.post-content-body table tbody tr:hover {
    background-color: rgba(99, 102, 241, 0.04);
}

/* Table Caption */
.content table caption,
.post-content-body table caption {
    padding: 12px;
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Category Hero Layout & Image Styles */
/* .left-content-section .category-hero {
    display: block;
}
.left-content-section .category-hero.has-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.category-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.category-image img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 20px;
} */

.right-sidetrends .widget_content {
    margin-bottom: 30px;
    list-style: none;
}
.right-sidetrends .widget_content:last-child {
    margin-bottom: 0;
}/* 
PROFILE PAGE CSS */
.author-profile.default {
    width: 100%;
    background: #f8f9ff;
}

/* ====================
   BANNER
==================== */

.profile-banner {
    padding: 55px 00px;
    background: linear-gradient(135deg, #6c4cff, #4930c0, #6a46d8);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.profile-banner:before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.profile-banner:after {
    content: "";
    position: absolute;
    right: 150px;
    bottom: -180px;
    width: 450px;
    height: 450px;
    background: rgba(255, 255, 255, .05);
    border-radius: 50%;
}

.author-left-profile {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.author-image {
    position: relative;
}

.author-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fff;
}

.verified {
    position: absolute;
    right: 10px;
    bottom: 15px;
    width: 52px;
    height: 52px;
    background: #6b4eff;
    border: 5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.author-info h1 {
    color: #fff;
    font-size: 50px;
    margin-bottom: 10px;
}

.name-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #7b57ff;
    border-radius: 50%;
    font-size: 14px;
    margin-left: 10px;
}

.author-info h4 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 25px;
}

.author-info p {
    color: rgba(255, 255, 255, .9);
    line-height: 1.8;
    font-size: 18px;
}

/* ====================
   STATS
==================== */

.author-stats {
    display: flex;
    /* justify-content: center; */
    gap: 0px;
    margin: 35px 0;
}

.stat {
    display: flex;
    /* width: 25%; */
    flex-direction: column;
    gap: 2px;
    align-items: center;
    color: #fff;
    border-right: 1px solid #eeeeee4f;
    padding: 0 20px;
}
.author-stats .stat:first-child {
    padding-left: 0;
}
.left-st {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.stat i {
    font-size: 22px;
}

.stat strong {
    display: block;
    font-size: 24px;
}

.stat span {
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
}

/* ====================
   BUTTONS
==================== */

.profile-actions {
    display: flex;
    gap: 15px;
}

.profile-actions .follow-btn {
    background: #6b4eff;
    color: #fff;
    padding: 16px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.profile-actions .message-btn {
    background: #fff;
    color: #222;
    padding: 16px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.profile-actions .share-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    text-decoration: none;
}

/* ====================
   CONTENT
==================== */

.profile-content .box_container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    padding: 25px 00px 0;
}

.about-card,
.category-card,
.section.articles {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
}

.featured-post.article {
    margin-top: 20px;
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
}

.about-card h3 {
    margin-bottom: 17px;
    font-size: 24px;
}

.about-card p {
    color: #5e647a;
    line-height: 22px;
    margin-bottom: 10px;
}

.tags {
    margin-top: 25px;
}

.tags span {
    display: inline-block;
    background: #f2f3fb;
    padding: 12px 20px;
    border-radius: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.content-ft {
    display: flex;
    gap: 10px;
}

.post-image {
    width: 45%;
}

.post-image img {
    border-radius: 15px;
}

.post-content {
    width: 50%;
}

/* ====================
   CATEGORY
==================== */

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-head h3 {
    font-size: 22px;
}

.card-head a {
    color: #6b4eff;
    text-decoration: none;
    font-weight: 600;
}

.cat-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.purple {
    background: #f2ecff;
    color: #6b4eff;
}

.blue {
    background: #e8f2ff;
    color: #2f80ed;
}

.green {
    background: #e9ffef;
    color: #27ae60;
}

.orange {
    background: #fff0e3;
    color: #ff8a00;
}

.cat-item strong {
    flex: 1;
    font-size: 17px;
}

.cat-item small {
    color: #8f96aa;
}

.featured-post.article {
    display: block;
}

/* ==========================
   COMMON CARD
========================== */

.sidebar-card h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2337;
}

/* ==========================
   ACHIEVEMENTS
========================== */

.achievements-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 22px;
}

.achievements-card h3 i {
    color: #ff9500;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.achievement-item:last-child {
    margin-bottom: 0;
}

.achievement-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.trophy {
    background: #fff3e4;
    color: #ff9500;
}

.star {
    background: #ffeef2;
    color: #ff4f7b;
}

.readers {
    background: #f2efff;
    color: #6d4cff;
}

.achievement-info h4 {
    margin: 0 0 6px;
    font-size: 17px;
    color: #1f2337;
}

.achievement-info p {
    margin: 0;
    color: #7c839d;
    font-size: 14px;
    line-height: 24px;
}

/* ==========================
   CONNECT CARD
========================== */

.social-card h3 {
    margin-bottom: 25px;
}

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

.social-icons a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ececf5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    transition: .3s;
}
.social-icons a:hover {
    transform: translateY(-3px);
}

.twitter {
    color: #1da1f2;
}

.linkedin {
    color: #0a66c2;
}

.website {
    color: #222;
}

/* ==========================
   WRITER CTA
========================== */

.writer-cta {
    background: linear-gradient(135deg,
            #faf7ff,
            #f4efff);
    overflow: hidden;
}

.writer-cta h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.writer-cta p {
    color: #6d7387;
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #6d4cff;
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: .3s;
}

.cta-btn:hover {
    background: #5936ff;
}

.cta-image {
    margin-top: 25px;
    text-align: right;
}

.cta-image img {
    width: 170px;
    max-width: 100%;
}



.testimonial-card {
    background: #fff;
    border: 1px solid #ececf2;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .04);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.testimonial-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #141414;
}

.testimonial-header a {
    text-decoration: none;
    color: #5146ff;
    font-size: 15px;
    font-weight: 600;
}

.review-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-image {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.review-image img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.review-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1d;
    margin-bottom: 8px;
}

.review-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.stars {
    color: #FFB400;
    font-size: 14px;
}

.author-popup-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.author-popup-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    flex-grow: 1;
}

.author-view-profile {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-popup-trigger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    font-size: 14px;
    color: var(--primary-color);
}

/* Contact Page Specific Styles */
.contact-page-wrapper, .inner-page-wrapper {
    background: #f8fafc;
    color: #334155;
    font-family: 'Inter', sans-serif;
    padding-bottom: 30px;
}

.contact-hero, .inner-hero {
    padding: 50px 0 0px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 75% 45%, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.04) 35%, rgba(248, 250, 252, 0) 70%);
}

.contact-hero .hero-grid, .inner-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-badge, .inner-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
}

.contact-hero h1, .inner-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}
.contact-hero h1 span, .inner-hero h1 span {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero p.lead, .inner-hero p.lead {
    font-size: 17px;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 520px;
}

.contact-trust-points {
    display: flex;
    gap: 20px;
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-point-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.trust-point-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px 0;
}

.trust-point-info span {
    font-size: 12px;
    color: #64748b;
}

.contact-hero-image, .inner-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 380px;
}

.contact-hero-image img, .inner-hero-image img {
    max-width: 80%;
    height: auto;
    z-index: 2;
    position: relative;
}

/* .floating-circle {
    position: absolute;
    border: 2px dashed rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    z-index: 1;
}

.floating-circle.circle-1 {
    width: 360px;
    height: 360px;
    animation: rotateOrbit 25s linear infinite;
}

.floating-circle.circle-2 {
    width: 280px;
    height: 280px;
    animation: rotateOrbitReverse 18s linear infinite;
} */

.floating-element {
    position: absolute;
    z-index: 3;
    animation: floatAnimation 3.5s ease-in-out infinite;
}

.floating-element.paper-plane {
    top: 15%;
    left: 10%;
    color: #6366f1;
    font-size: 26px;
    transform: rotate(-15deg);
    animation-delay: 0.5s;
}

.floating-element.chat-bubble {
    top: 35%;
    right: 5%;
    background: #6366f1;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50% 50% 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
    animation-delay: 1s;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateOrbitReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Contact Main Section */
.contact-main-section {
    padding: 20px 0 60px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.02);
}

.contact-form-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.contact-form-card .card-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-input-wrapper {
    position: relative;
}

.contact-input-wrapper i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.contact-input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.contact-input-wrapper select,
.contact-input-wrapper textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.contact-input-wrapper select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.contact-input-wrapper textarea {
    resize: none;
}

.contact-input-wrapper input:focus,
.contact-input-wrapper select:focus,
.contact-input-wrapper textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    color: #ffffff !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.15);
    transition: all 0.2s ease;
    border: none;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.25);
}

/* Connect Info Sidebar */
.connect-info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.02);
}

.connect-info-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.connect-info-card .card-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
}

.connect-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.connect-channel-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.connect-channel-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.connect-channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.connect-channel-details {
    flex-grow: 1;
}

.connect-channel-details h4 {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 2px;
}

.connect-channel-details p {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 2px;
}

.connect-channel-details span {
    font-size: 12px;
    color: #94a3b8;
}

.connect-channel-arrow {
    color: #cbd5e1;
    font-size: 14px;
}

.connect-socials-item {
    display: block;
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
}

.connect-socials-item h4 {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 12px;
}

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

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.social-icon-btn:hover {
    color: #6366f1;
    border-color: #6366f1;
    transform: scale(1.1);
}

/* FAQ Section */
.faq-section {
    padding: 00px 0 00px;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.faq-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.faq-view-all {
    color: #6366f1;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
}

.faq-view-all:hover {
    text-decoration: underline;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item-header {
    width: 100%;
    padding: 15px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
}

.faq-item-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.faq-icon {
    font-size: 18px;
    color: #6366f1;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    padding: 0 24px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-item-content {
    padding-bottom: 20px;
}

/* Join Community Banner */
.join-community-card {
    /* background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%); */
    background-image: url(../audditio/assets/frontend/images/contact-cta.png);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    color: #ffffff;
    border-radius: 50px;
    padding: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* .join-community-card::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
} */

.join-community-content {
    z-index: 2;
    max-width: 80%;
}

.join-community-content span {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
}

.join-community-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.25;
}

.join-community-content p {
    font-size: 14px;
    color: #d4e3f4;
    margin-bottom: 24px;
    line-height: 1.5;
}

.join-community-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--primary-color) !important;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.join-community-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.join-community-image {
    max-width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.join-community-image img {
    max-width: 130px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}


/* --- Dashboard Page Styles --- */
.dashboard-container {
    margin: 40px 0;
}

.dashboard-container-wrap {
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

/* Sidebar Profile Card */
.dashboard-sidebar {
    width: 25%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    padding: 30px 24px;
    height: fit-content;
    text-align: center;
    border: 1px solid #f1f5f9;
    position: relative;
}
.profile-avatar-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f1f5f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.profile-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 8px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.profile-badge.writer {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.profile-badge.reader {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.profile-info-list {
    text-align: left;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-top: 20px;
}

.profile-info-item {
    margin-bottom: 14px;
    font-size: 13px;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-info-item strong {
    color: #0f172a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-info-item span.plan-name {
    text-transform: capitalize;
    font-weight: 600;
    color: #10b981;
}

.skill-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #334155;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 6px;
    margin: 2px;
    font-weight: 500;
}

/* Main Dashboard Panel */
.dashboard-main {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-main h2 i.writer-color {
    color: #6366f1;
}

.dashboard-main h2 i.reader-color {
    color: #ef4444;
}

/* Welcome Card */
.welcome-banner {
    background: linear-gradient(135deg, #4144cc 0%, #cbc8ff 100%);
    border-radius: 20px;
    padding: 00px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: space-between;
}
.welcome_text {
    padding: 46px 0;
}
.welcome-banner h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
}
.welcome-img img {
    width: 200px;
}
.welcome-banner p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    max-width: 500px;
    line-height: 1.6;
}

/* Stats Block */
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 50%;
}
.stat-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    padding: 24px;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-icon.articles {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.stat-icon.reads {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-icon.followers {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content List Box */
.dashboard-main .section {
    margin: 0;
}
.content-box, .section.graph_sec {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    padding: 30px;
    border: 1px solid #f1f5f9;
}

.content-box h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    /* margin: 0 0 20px; */
    /* display: flex; */
    align-items: center;
    gap: 10px;
}

.content-table-wrapper {
    overflow-x: auto;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    overflow-x: scroll;
}

.content-table th {
    text-align: left;
    padding: 12px 16px;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
}

.content-table td {
    padding: 6px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.content-table td.bold-cell {
    font-weight: 600;
}

.content-table tr:last-child td {
    border-bottom: none;
}

.post-status-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: capitalize;
}

.post-status-badge.publish {
    background: rgb(65 16 185 / 10%);
    color: var(--primary-color);
}

.post-status-badge.draft {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}
.content-table td.bold-cell a {
    color: #111;
}

.post-status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.list-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.list-empty-state i {
    font-size: 40px;
    margin-bottom: 14px;
    color: #cbd5e1;
}

.dashboard-cta-btn {
    margin-top: 10px;
    display: inline-block;
}

/* --- Become a Writer Onboarding Page Styles --- */

.onboarding-grid {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    max-width: 100%;
}

.onboarding-header-banner {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    color: #ffffff;
    padding: 40px 40px;
    position: relative;
}
.onboarding-form-panel {
    padding: 40px;
}
.onboarding-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.onboarding-logo span {
    color: var(--secondary-color, #a5b4fc);
}

.onboarding-header-banner h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.onboarding-header-banner p {
    font-size: 15px;
    color: #e0e7ff;
}


.form-step-title:first-of-type {
    margin-top: 0;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled,
.form-group input[readonly],
.form-group select[readonly],
.form-group textarea[readonly] {
    background-color: #f1f5f9;
    color: #94a3b8;
    border-color: #cbd5e1;
    cursor: not-allowed;
}

.form-group label span.required,
.checkbox-label span.required {
    color: #ef4444 !important;
    margin-left: 4px;
}

.form-group input.error-input,
.form-group select.error-input,
.form-group textarea.error-input,
.form-group .select2-container.error-input .select2-selection {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08) !important;
    background-color: #fff5f5 !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.input-with-button {
    display: flex;
    gap: 10px;
}

.input-with-button input {
    flex-grow: 1;
}

.verify-mobile-btn {
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.verify-mobile-btn:hover {
    background: #e2e8f0;
}

.otp-verification-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.otp-input-row {
    display: flex;
    gap: 10px;
}

.otp-input-row input {
    width: 100px !important;
    text-align: center;
    letter-spacing: 4px;
    font-weight: 700;
}

.verified-badge-container {
    margin-top: 8px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-weight: 600;
    font-size: 13px;
}

.verified-badge i {
    font-size: 14px;
}

/* Repeaters */
.repeater-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
}

.repeater-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: #475569;
}

.delete-repeater-btn {
    background: #fef2f2 !important;
    color: #ef4444 !important;
    border: 1px solid #fee2e2 !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.add-repeater-btn {
    background: #ffffff;
    color: #6366f1;
    border: 2px dashed #e2e8f0;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    margin-bottom: 30px;
}

.add-repeater-btn:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.02);
}

/* Plans */
.plan-selection-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.plan-card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.plan-card input[type="radio"] {
    position: absolute;
    top: 24px;
    right: 24px;
    accent-color: #6366f1;
}

.plan-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.plan-card.selected {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.02);
}

.plan-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 24px;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 12px;
}

.plan-price span {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.plan-features li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-features li i {
    color: #10b981;
}

/* Declarations */
.checkbox-declaration {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 4px;
}

.onboarding-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background: #6366f1;
    color: #ffffff;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.onboarding-btn:hover {
    background: #494ce8;
}

/* Select2 customization overrides */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    min-height: 46px !important;
    padding: 6px 12px !important;
    outline: none !important;
}
.featured-post.article .section-title {
    font-size: 24px;
    margin-bottom: 10px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
}

/* --- FAQ Loop Page Styles --- */
.faq-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.faq-filter-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-filter-pill:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.faq-filter-pill.active {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* --- FAQ Page Template Styles --- */
.faq-page-wrapper {
    background: #f8fafc;
    padding-bottom: 80px;
}

.faq-page-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
    margin-bottom: 50px;
}

.faq-page-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.faq-page-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #ffffff;
}

.faq-lead {
    font-size: 15px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-page-content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Writer Approval Notice Boxes --- */
.pending-approval-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.05);
}

.pending-approval-icon {
    font-size: 32px;
    color: #d97706;
    background: #fef3c7;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.1);
}

.pending-approval-content h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: #92400e;
    font-weight: 700;
}

.pending-approval-content p {
    margin: 0;
    font-size: 14px;
    color: #b45309;
    line-height: 1.5;
}

.rejected-approval-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
    border: 1px solid #fecaca;
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.05);
}

.rejected-approval-icon {
    font-size: 32px;
    color: #dc2626;
    background: #fee2e2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.rejected-approval-content h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: #991b1b;
    font-weight: 700;
}

.rejected-approval-content p {
    margin: 0;
    font-size: 14px;
    color: #b91c1c;
    line-height: 1.5;
}
body.author {
    padding-top: 85px;
}

/* --- Become a Writer Form Custom Styles & Croppie Overrides --- */

/* Croppie Slider Overrides */
.cr-slider-wrap {
    margin: 20px auto;
    text-align: center;
    width: 70%;
    display: block !important;
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}
.cr-slider {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    background: #e2e8f0 !important;
    height: 8px !important;
    border-radius: 4px !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}
.cr-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #6366f1 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4) !important;
    position: relative !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
}
.cr-slider::-moz-range-thumb {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #6366f1 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4) !important;
    border: none !important;
    position: relative !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
}

/* Profile Picture Uploader styles */
.profile-pic-group {
    margin-bottom: 25px;
}
.profile-pic-uploader {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}
.profile-pic-preview-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f1f5f9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-pic-preview-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-pic-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.profile-pic-upload-actions label.btn-upload-pic {
    cursor: pointer;
    width: fit-content;
    padding: 8px 16px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 500;
    background: #f8fafc;
    color: #0f172a;
    margin-bottom: 0;
}
.file-info-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    display: block;
}
#profile_pic_error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* ID Proof form styles */
.id-proof-required {
    color: #ef4444;
}

/* Inline selects & Experience Repeater Layout styles */
.form-inline-selects {
    display: flex;
    gap: 10px;
}
.form-inline-selects select {
    flex: 1;
}
.currently-working-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: normal;
    color: #64748b;
}

/* Cropper Modal styles */
.cropper-modal-overlay {
    display: none;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.cropper-modal-container {
    max-width: 500px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    margin: 0 20px;
}
.cropper-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cropper-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}
.cropper-modal-header .close-cropper-btn {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
}
.cropper-modal-body #cropper-container {
    width: 300px !important;
    height: 300px !important;
    margin: 0 auto;
}
.cropper-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.cropper-modal-footer .close-cropper-action-btn {
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 500;
    background: #f8fafc;
    color: #0f172a;
    margin-bottom: 0;
    height: auto;
    width: auto;
    text-transform: none;
    line-height: normal;
}
.cropper-modal-footer .save-crop-btn {
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    background: #6366f1;
    color: #ffffff;
    margin-bottom: 0;
    height: auto;
    width: auto;
    text-transform: none;
    line-height: normal;
}

/* Mobile inputs & disabled fields styling */
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background: #f1f5f9 !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #64748b !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Button Loader Styling */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: btn-spin 0.8s linear infinite;
    -webkit-animation: btn-spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}
.onboarding-btn:disabled {
    background: #a5b4fc !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}
@-webkit-keyframes btn-spin {
    to { -webkit-transform: rotate(360deg); }
}

/* Not Approved Page Styling */
.not-approved-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.not-approved-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    max-width: 600px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.not-approved-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #6366f1 0%, #4f46e5 100%);
}

.not-approved-card.rejected::before {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.not-approved-icon {
    font-size: 48px;
    color: #4f46e5;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: #f5f3ff;
    border-radius: 50%;
}

.not-approved-card.rejected .not-approved-icon {
    color: #ef4444;
    background: #fef2f2;
}

.not-approved-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px;
}

.not-approved-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin: 0 0 32px;
}

.not-approved-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s ease;
}

/* Mobile Profile Sidebar Drawer styles */
.mobile-profile-sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    visibility: hidden;
    transition: visibility .3s ease;
}

.mobile-profile-sidebar-wrapper.active {
    visibility: visible;
}

.mobile-profile-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity .3s ease;
}

.mobile-profile-sidebar-wrapper.active .mobile-profile-sidebar-overlay {
    opacity: 1;
}

.mobile-profile-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.mobile-profile-sidebar-wrapper.active .mobile-profile-sidebar {
    transform: translateX(0);
}

.close-profile-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    line-height: 1;
}

.profile-sidebar-header {
    text-align: center;
    border-bottom: 1px solid #ededed;
    padding-bottom: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.sidebar-avatar-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.sidebar-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-sidebar-header h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.sidebar-role-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 8px;
}

.sidebar-role-badge.writer {
    background: #eef2ff;
    color: #5e40e8;
}

.sidebar-role-badge.reader {
    background: #f0fdf4;
    color: #16a34a;
}

.sidebar-user-email {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    word-break: break-all;
}

.profile-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.profile-sidebar-menu li {
    margin-bottom: 5px;
}

.profile-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    color: #4b5563;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.profile-sidebar-menu li.logout-item {
    position: fixed;
    width: 85%;
    bottom: 0;
}
.profile-sidebar-menu li.logout-item a {
    background: var(--primary-color);
    color: #fff;
}
.profile-sidebar-menu li.logout-item a i {
    color: #fff;
}
.profile-sidebar-menu a:hover {
    background: #f3f4f6;
    color: var(--primary-color);
}

.profile-sidebar-menu a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.profile-sidebar-menu a:hover i {
    color: var(--primary-color);
}

.profile-sidebar-menu li.logout-item a:hover {
    background: #fef2f2;
    color: #dc2626;
}

.profile-sidebar-menu li.logout-item a:hover i {
    color: #dc2626;
}

body.profile-sidebar-opened {
    overflow: hidden;
}

.footer-copyright {
    float: left;
}

.footer-branding {
    float: right;
}

/* Author Card Refactored Styles */
.author-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
}

.author-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.author-card-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-card-profile img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #5e40e8;
}

.author-card-details h3 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-card-details h3 a {
    color: #111827;
    text-decoration: none;
}

.author-card-details h3 a:hover {
    color: #5e40e8;
}

.author-card-verified {
    color: #3b82f6;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}

.author-card-details .author-role {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.author-card-top .author-btn .follow-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: 1.5px solid #5e40e8;
    color: #5e40e8;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.author-card-top .author-btn .follow-btn:hover {
    background: #5e40e8;
    color: #ffffff;
}

.author-card-top .author-btn .follow-btn.following {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.author-card-top .author-btn .follow-btn.following:hover {
    background: #059669;
    border-color: #059669;
}

.author-card-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.author-card-stats .stat-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.author-card-stats .stat-item strong {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.author-card-stats .stat-item span {
    font-size: 13px;
    color: #6b7280;
}

.author-card-bio {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

/* Onboarding Profile Completeness Completed Steps */
.card .step.completed .num {
    background: #4833e8 !important; /* Theme Primary Color */
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix Croppie image display issues (small image, no vertical drag) */
#cropper-container img.cr-image {
    max-width: none !important;
    max-height: none !important;
}

/* Analytics Overlay Locking Styles */
.analytics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}
.analytics-overlay .lock-icon {
    font-size: 44px;
    color: #4734e8;
    margin-bottom: 15px;
    background: rgba(71, 52, 232, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.analytics-overlay h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 700;
    background: none;
    padding: 0;
}
.analytics-overlay p {
    font-size: 14px;
    color: #64748b;
    max-width: 340px;
    margin-bottom: 25px;
    line-height: 1.5;
}
.analytics-overlay .btn-upgrade {
    background: #4734e8;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(71, 52, 232, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}