/* Global Settings - Light Mode */
:root {
    --bg-primary: #FFFFFF;
    /* Clean white background */
    --bg-secondary: #F8F9FA;
    /* Light gray background */
    --bg-accent: #FFF8F0;
    /* Soft orange tint background */
    --primary-color: #3D3B6E;
    /* Upskill Purple */
    --accent-color: #FFA726;
    /* Upskill Orange */
    --glass-border: rgba(61, 59, 110, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Helper Classes */
.text-gradient {
    background: linear-gradient(to right, #FFA726, #FFD54F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bright meta text utility for dark hero headers */
.meta-bright {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
}

/* Live-search dropdown (preloaded JSON, client-side filtering) */
.live-search-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background: #3d356a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px;
    z-index: 99999999;
    max-height: 420px;
    overflow-y: auto;
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.8);
}

/* Bright scrollbar in live-search dropdown */
.live-search-dropdown::-webkit-scrollbar {
    width: 8px;
}

.live-search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.live-search-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 4px;
}

.live-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.45);
}

nav.rank-math-breadcrumb p {
    display: inline-block;
    margin-bottom: 20px;
}

.live-search-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s, transform .15s;
    text-decoration: none !important;
}

.live-search-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(4px);
}

.live-search-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.d-flex.flex-wrap.justify-content-center.gap-2.animate-up.delay-3 {
    position: relative;
    z-index: 2;
}

.search-container.mx-auto.mb-4.animate-up.delay-3.position-relative {
    z-index: 99;
}

.live-search-item>div {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.thumbnail-single {
    width: 100%;
}

.live-search-item .title {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    font-size: 0.95rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-search-item .desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.live-search-empty {
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

.bg-black {
    background-color: var(--bg-secondary) !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.brand-logo {
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* Light Mode Text Overrides */
.text-white {
    color: var(--text-primary) !important;
}

.text-white-50 {
    color: var(--text-secondary) !important;
}

.hover-white:hover {
    color: var(--primary-color) !important;
}

/* Bootstrap Color Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2f2d58;
    border-color: #2f2d58;
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-warning:hover {
    background-color: #ff9800;
    border-color: #ff9800;
}

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

.text-warning {
    color: var(--accent-color) !important;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(255, 167, 38, 0.5);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(255, 167, 38, 0.7);
    transform: translateY(-1px);
}

/* Glassmorphism Navigation */
.glass-nav {
    background: transparent;
    border-bottom: none;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: #312e81;
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.glass-nav-light {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 12px;
    padding-bottom: 12px;
}

.glass-nav-light .nav-link {
    color: var(--text-secondary) !important;
}

.glass-nav-light .nav-link:hover,
.glass-nav-light .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 10px;
}

nav.rank-math-breadcrumb p {
    margin-bottom: 0;
    padding: 7px 17px;
    border: 1px solid #2e2c7a;
    border-radius: 30px;
    font-size: 13px;
    background: #ffffff08;
    color: #fff;
}

nav.rank-math-breadcrumb p a {
    color: #bcbcbc;
}

p.text-white-50.fs-5.mb-0,
p.text-white-50.fs-5 {
    color: #fff !important;
}

form.wpcf7-form.init p {
    margin-bottom: 0;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.form-control.form-control-custom {
    height: 120px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    display: none;
}

h6.fw-bold.text-white.mb-3.mt-4 {
    color: #fff !important;
}


.hero-single,
.blog-hero,
.about-hero,
.contact-hero {
    min-height: auto !important;
    padding-top: 100px !important;
    padding-bottom: 80px !important;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%) !important;
}

.capsule-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.verified-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.browser-mockup {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hightlight-box ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    gap: 15px;
}

.hightlight-box ul li {
    list-style: none;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    padding: 18px 22px;
    font-weight: 700;
}

.hightlight-box ul li:before {
    content: "\f00c";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-family: "Font Awesome 6 Free";
    width: 32px;
    height: 32px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex: none;
}

.pros-cons-card ul li:before {
    content: "\f00c";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-family: "Font Awesome 6 Free";
    width: 22px;
    height: 22px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    flex: none;
    position: relative;
    top: 3px;
}

.bg-light-soft ul li {
    margin-bottom: 10px;
}

.bg-light-soft ul {
    margin-bottom: 0;
}

.pros-cons-card.cons-card ul li:before {
    content: "\f00d";
    color: #dc2626;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(255, 165, 165, 0.5);
    font-weight: 900;
}

.browser-header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.traffic-lights {
    display: flex;
    gap: 8px;
}

.traffic-lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.traffic-lights .red {
    background: #ff5f56;
}

.traffic-lights .yellow {
    background: #ffbd2e;
}

.traffic-lights .green {
    background: #27c93f;
}

.browser-url {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 4px 15px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.post-meta.d-flex.justify-content-center.gap-4.text-white-50 {
    color: #fff !important;
}

.post-meta.d-flex.justify-content-center.gap-4.text-white-50 a {
    color: #fff !important;
}

.btn-detail-main {
    background: #312e81;
    color: #fff;
    padding: 14px 32px;
    font-weight: 700;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.btn-detail-main:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-detail-save {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-detail-save:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.update-badge-white {
    background: #fff !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
}

.tool-brand-box {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.tool-brand-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.meta-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}

button.btn.text-white.small.text-decoration-none {
    width: 100px;
    font-size: 12px;
}

.meta-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    opacity: 1;
}

/* Hero Section */
.hero-section {
    min-height: 800px;
    padding-top: 180px;
    padding-bottom: 150px;
    position: relative;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%) !important;
    margin: 0;
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 100px;
    overflow: hidden;
}

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.tech-pattern::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 70%;
    height: 140%;
    background: radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    transform: rotate(-10deg);
}

.tech-pattern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    transform: rotate(15deg);
}

.hero-section h1,
.hero-section .lead,
.hero-section .text-muted,
.hero-section .text-secondary {
    color: #ffffff !important;
}

.hero-section .lead {
    opacity: 0.9;
}

.hero-section .badge {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Background Gradients/Glows */
.glow-bg-1 {
    position: absolute;
    top: -10%;
    left: 10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(61, 59, 110, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.glow-bg-2 {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 167, 38, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.glow-blue,
.glow-intermediate {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-purple,
.glow-advanced {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-green,
.glow-beginner {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Search Box Styling */
.search-container {
    max-width: 550px;
    /* Constrain width ~50% of typical laptop screen */
    width: 100%;
}

.glass-input {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glass-input .form-control {
    color: #ffffff !important;
}

.glass-input .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.glass-input .input-group-text {
    color: rgba(255, 255, 255, 0.6) !important;
}

.glass-input:focus-within {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
}

.code-block {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8) !important;
}

.pros-cons-card ul {
    padding: 0;
}

.pros-cons-card ul li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: #475569;
    font-weight: 500;
    line-height: 1.6;
}

/* Filter Pills */
.tag-pill {
    padding: 6px 14px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.tag-pill:hover {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    transform: translateY(-1px);
}

/* Brand Section */
.brands-section {
    border-bottom: 1px solid rgba(61, 59, 110, 0.05);
}

.grayscale-logos i {
    transition: all 0.3s;
    color: var(--text-muted);
}

.grayscale-logos i:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
}

/* Tool Cards */
.tool-card {
    background: #FFFFFF;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(61, 59, 110, 0.06), transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(61, 59, 110, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
}

.code-block.bg-black.bg-opacity-50.p-3.rounded-3.mb-3.text-white-50.font-monospace.small.text-truncate-demo {
    display: flex;
    align-items: end;
    overflow: hidden;
}

.tool-card:hover::after {
    opacity: 1;
}

.tool-card:hover {
    transform: translateY(-12px);
    border-color: rgba(61, 59, 110, 0.3);
    box-shadow: 0 20px 40px -10px rgba(61, 59, 110, 0.2), 0 0 20px rgba(61, 59, 110, 0.1);
}

.hero-single .text-white {
    color: #fff !important;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0;
}

.tool-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
    background: #fff;
    border-radius: 12px !important;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700 !important;
    color: var(--text-primary);
    margin-top: 10px;
}

.tool-card .badge {
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.3px;
    padding: 6px 12px;
    border-radius: 6px;
}

/* Category tags (like Chatbot, Art, Dev) */
.tool-card .bg-secondary.bg-opacity-25 {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    opacity: 1 !important;
}

/* Status badges (Top right) */
.tool-card .badge.bg-Free,
.tool-card .badge.bg-Freemium,
.tool-card .badge.bg-success {
    background-color: #dcfce7 !important;
    color: #15803d !important;
}

.tool-card .badge.bg-Freemium {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
}

.tool-card .badge.bg-primary {
    background-color: #dbeafe !important;
    color: #1d4ed8 !important;
}

.tool-card .badge.bg-Trial {
    background-color: #e0e7ff !important;
    color: #4338ca !important;
}

.tool-card .badge.bg-warning {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
}

.tool-card .badge.bg-danger {
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
}

/* Visit Button & Stats */
.btn-visit {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569 !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-visit:hover {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61, 59, 110, 0.2);
}

.tool-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stat-item i {
    font-size: 0.9rem;
}

/* Course Cards */
.course-card {
    background: #FFFFFF;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 167, 38, 0.08), transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.course-card:hover::before {
    opacity: 1;
}

.course-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 167, 38, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 167, 38, 0.05) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
}

.course-card:hover::after {
    opacity: 1;
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.course-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 167, 38, 0.4);
    box-shadow: 0 25px 50px -12px rgba(255, 167, 38, 0.2), 0 0 25px rgba(255, 167, 38, 0.1);
}


.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.hover-primary {
    transition: color 0.2s;
}

.course-card:hover .hover-primary {
    color: var(--accent-color) !important;
}

/* Level Badges */
.level-badge {
    display: inline-flex;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 5px;
}

.level-beginner {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.level-intermediate {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.level-advanced {
    background: rgba(244, 63, 94, 0.1);
    color: #fb7185 !important;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

/* Prompts Section */
#prompts {
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%) !important;
    position: relative;
    overflow: hidden;
    margin: 0;
}

#prompts h2,
#prompts h5 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#prompts .text-white-50,
#prompts .text-muted,
#prompts .text-uppercase.small,
#prompts small,
#prompts i {
    color: rgba(255, 255, 255, 0.9) !important;
}

#prompts .badge {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(4px);
}

#prompts .nav-pills .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    transition: all 0.3s ease;
}

#prompts .nav-pills .nav-link i {
    color: inherit;
}

#prompts .nav-pills .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

#prompts .nav-pills .nav-link.active {
    background-color: var(--accent-color) !important;
    color: #ffffff !important;
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px -5px rgba(255, 167, 38, 0.3);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    /* Light glass effect */
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.prompt-card:hover {
    border-color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.08);
    /* Glow on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.code-block {
    background: rgba(0, 0, 0, 0.3) !important;
}

.copy-btn {
    opacity: 0.8;
    transition: opacity 0.2s;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prompt-card:hover .copy-btn {
    opacity: 1;
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.credit-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.credit-free {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.credit-paid {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24 !important;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Fix Play Icon Visibility */
#prompts .demo-media .play-btn-circle {
    width: 46px !important;
    height: 46px !important;
    background-color: #FFFFFF !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

#prompts .demo-media .play-btn-circle i {
    color: #000000 !important;
    font-size: 1rem !important;
    margin-left: 3px !important;
    /* Proper visual centering for triangle */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#prompts .demo-media .play-btn-circle:hover {
    transform: scale(1.1);
    background-color: #F8FAFC !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* News Section */
.news-card {
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #f1f5f9 !important;
}

.news-card .card-img-top {
    height: 240px;
    object-fit: cover;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.news-card .card-title {
    font-size: 1.1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-card:hover .card-title {
    color: var(--primary-color);
}

.news-card .btn-link {
    font-size: 0.85rem;
    transition: gap 0.2s;
}

.news-card .btn-link:hover {
    gap: 8px;
}

/* Newsletter Section */
.bg-light-blue {
    background-color: #f1f7ff;
}

.newsletter-section .btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.newsletter-section .btn-primary:hover {
    background-color: #2d2b56 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 59, 110, 0.3);
}

.newsletter-section .form-control:focus {
    box-shadow: none;
    border: 1px solid var(--primary-color);
}

/* Footer Styling */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Hero Decorative Icons */
.hero-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2.5rem;
    animation: float 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    font-size: 3rem;
}

.icon-2 {
    top: 15%;
    right: 15%;
    animation-delay: 1s;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.08);
}

.icon-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
    font-size: 2.5rem;
}

.icon-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
    font-size: 3.5rem;
}

.icon-5 {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.05);
}

.icon-6 {
    top: 60%;
    right: 5%;
    animation-delay: 5s;
    font-size: 2.2rem;
}

@keyframes float {

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

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

/* Tool Detail Specific Layout */
.tool-detail-icon {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 15px;
    border-radius: 24px;
    border: 1px solid #edf2f7;
    overflow: hidden;
}

.detail-tabs .nav-link {
    background: transparent !important;
    color: var(--text-secondary) !important;
    border: 1px solid transparent !important;
    font-weight: 600;
    padding: 10px 25px;
}

.detail-tabs .nav-link.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(61, 59, 110, 0.2);
}

.detail-tabs .nav-link:hover:not(.active) {
    background: #edf2f7 !important;
    color: var(--primary-color) !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.tool-large-preview {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid #edf2f7;
}

.feature-check-item {
    background: #fff;
    padding: 18px 22px;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.feature-check-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.title-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-check-item i {
    width: 32px;
    height: 32px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* Course Sidebar Slider */
.course-sidebar-swiper {
    padding-bottom: 40px !important;
}

.course-sidebar-swiper .swiper-pagination-bullet-active {
    background: #3b82f6 !important;
}

.course-sidebar-swiper .course-card {
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff !important;
}

.course-sidebar-swiper .course-card .card-title {
    font-size: 1rem !important;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    height: 2.8em;
    color: #1e293b !important;
}

.course-sidebar-swiper .course-card .card-body {
    padding: 15px !important;
}

.course-sidebar-swiper .course-card .card-footer {
    padding: 12px 15px !important;
}

.course-sidebar-swiper .course-card .card-footer small {
    font-size: 0.75rem;
}

.course-sidebar-swiper .course-card .card-footer .fw-bold.text-primary {
    font-size: 0.95rem;
}

.course-sidebar-swiper .course-card .card-img-top {
    height: 160px;
}


.rating-summary-box {
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #edf2f7;
}

.sidebar-popular-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f7;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.sidebar-popular-item:hover {
    background: #f8fafc;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 12px;
}

.sidebar-popular-item:last-child {
    border-bottom: none;
}

.sidebar-popular-item h6 {
    color: #1e293b;
    transition: color 0.3s ease;
}

.sidebar-popular-item:hover h6 {
    color: #3b82f6;
}

.ranking-number {
    font-weight: 800;
    font-size: 1.4rem;
    color: #cbd5e1;
    min-width: 40px;
    font-style: italic;
    opacity: 0.8;
}

.sidebar-popular-item:nth-child(n) .ranking-number {
    color: #94a3b8;
}

.related-tool-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #edf2f7;
    padding: 24px;
    transition: all 0.3s ease;
    height: 100%;
}

.related-tool-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.bg-light-blue {
    background-color: #f0f7ff !important;
}

.tag-pill-light {
    padding: 6px 16px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Light Mode Footer Fix */
.site-footer.bg-white {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
}

.site-footer.bg-white .text-white,
.site-footer.bg-white h6 {
    color: var(--text-primary) !important;
}

.site-footer.bg-white .text-white-50,
.site-footer.bg-white p,
.site-footer.bg-white li a,
.site-footer.bg-white .text-muted {
    color: var(--text-secondary) !important;
}

.site-footer.bg-white li a:hover {
    color: var(--primary-color) !important;
}

.site-footer.bg-white .border-top {
    border-color: #edf2f7 !important;
}

/* Footer Styling */
.site-footer {
    background-color: #0f172a !important;
    /* Deep charcoal black */
    color: #ffffff !important;
}

.site-footer .text-white,
.site-footer h6 {
    color: #ffffff !important;
}

.site-footer .text-white-50,
.site-footer p,
.site-footer li a,
.site-footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer li a:hover {
    color: var(--accent-color) !important;
}

.site-footer .border-top,
.site-footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 80px;
    }

    .glow-bg-1,
    .glow-bg-2 {
        opacity: 0.5;
    }

    .navbar-collapse {
        background: #0f172a;
        padding: 20px;
        border-radius: 0 0 15px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
}

/* Sidebar CTA Card */
.sidebar-cta-card {
    background: #1d72f2 !important;
    /* Vibrant primary blue */
    border: none !important;
    border-radius: 24px !important;
    padding: 35px !important;
}

.sidebar-cta-card h5 {
    font-size: 1.5rem;
    font-weight: 800;
}

.sidebar-cta-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.sidebar-cta-card .btn-warning {
    background: #ffaa33 !important;
    color: #000 !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(255, 170, 51, 0.4);
    padding: 16px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    transition: all 0.3s ease;
    border-radius: 50px !important;
}

.sidebar-cta-card .btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 170, 51, 0.5);
}

.sidebar-popular-card {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
}

/* Pros & Cons Refined Section */
.pros-cons-card {
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease;
}

.pros-card {
    background: #f0fdf4 !important;
    /* Extremely light green */
}

.cons-card {
    background: #fef2f2 !important;
    /* Extremely light red */
}

.pc-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.pros-card .pc-icon-box {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.cons-card .pc-icon-box {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.pc-title {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pc-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: #475569;
    font-weight: 500;
    line-height: 1.6;
}

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

.pc-check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pros-card .pc-check-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.5);
}

.cons-card .pc-check-icon {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.05);
    font-size: 0.85rem;
}

/* Pagination Styling */
.pagination {
    margin-top: 40px;
}

.page-link {
    background: rgba(61, 59, 110, 0.05);
    border: 1px solid rgba(61, 59, 110, 0.15);
    color: var(--text-primary);
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.page-link:hover {
    background: rgba(61, 59, 110, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(61, 59, 110, 0.3);
}

.page-item.disabled .page-link,
.page-item.disabled .page-link:hover {
    background: rgba(61, 59, 110, 0.05);
    border-color: rgba(61, 59, 110, 0.15);
    color: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    transform: none;
}

/* Tag Pills Active State */
.tag-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(61, 59, 110, 0.3);
}

/* Carousel Controls Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(61, 59, 110, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    filter: brightness(0) invert(1);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Responsive carousel controls */
@media (max-width: 768px) {

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: -10px;
    }

    .carousel-control-next {
        right: -10px;
    }
}

/* Custom Pagination */
.custom-pagination .page-item .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    background-color: #fff;
    margin: 0 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.custom-pagination .page-item .page-link:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.custom-pagination .page-item.active .page-link {
    background-color: #3b436d;
    border-color: #3b436d;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(59, 67, 109, 0.3);
}

.custom-pagination .page-item.disabled .page-link {
    color: #94a3b8;
    background-color: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.d-flex.gap-2.list-social a {
    width: 30px;
    height: 30px;
}

/* === Pagination Styles === */
nav .page-numbers {
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    margin: 0 !important;
}

nav .page-numbers li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav .page-numbers span.page-numbers,
nav .page-numbers a.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 8px 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50px !important;
    color: #64748b !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

nav .page-numbers a.page-numbers:hover {
    border-color: #6366f1 !important;
    color: #6366f1 !important;
    background: #f8f9ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

nav .page-numbers span.current {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border-color: #6366f1 !important;
    color: #ffffff !important;
    cursor: default !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
}

nav .page-numbers span.current:hover {
    transform: none !important;
}

nav .page-numbers a.next,
nav .page-numbers a.prev {
    gap: 6px !important;
    white-space: nowrap !important;
}

nav .page-numbers a.next i,
nav .page-numbers a.prev i {
    font-size: 12px !important;
}

@media (max-width: 768px) {
    nav .page-numbers {
        gap: 6px !important;
    }

    nav .page-numbers span.page-numbers,
    nav .page-numbers a.page-numbers {
        min-width: 38px !important;
        height: 38px !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

/* === Search Form Styles === */
.box-search {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.course-benefits ul {
    padding: 0;
}

.course-benefits ul li {
    list-style: none;
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.course-benefits ul li:last-child {
    margin-bottom: 0;
}

.course-benefits ul li:before {
    content: "\f00c";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-weight: 900;
    font-family: 'Font Awesome 6 Free';
    width: 24px;
    height: 24px;
    min-width: 24px;
    justify-content: center;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50% !important;
    color: #22c55e;
    font-size: 0.75rem;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
}

.premium-list-side ul {
    padding: 0;
}

.premium-list-side ul li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid #a8a8a830;
    color: #475569 !important;
    font-weight: 500;
    line-height: 1.5;
    font-size: 15px;
}

.premium-list-side ul li:before {
    content: "\f00c";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-weight: 900;
    font-family: 'Font Awesome 6 Free';
    width: 24px;
    height: 24px;
    min-width: 24px;
    justify-content: center;
    background: rgba(161, 196, 255, 0.2);
    border-radius: 50% !important;
    color: #312e81;
    font-size: 0.75rem;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
}

.search-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-group {
    display: flex !important;
    gap: 0 !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgb(255 243 214) !important;
    border: 1px solid #fff7de !important;
}

.search-input {
    border: none !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    background: #ffffff !important;
    color: #1a1a1a !important;
    flex: 1;
}

.search-input::placeholder {
    color: #94a3b8 !important;
}

.search-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.search-btn {
    border: none !important;
    background: linear-gradient(135deg, #ffaa29, #ffd65b) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}

.search-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4) !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 768px) {
    .box-search {
        padding: 16px;
        margin-bottom: 30px;
    }

    .search-group {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
        border-radius: 8px !important;
    }
}

/* === 404 Page Styles === */
.page404 {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-container {
    max-width: 700px;
    margin: 0 auto;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffa726 0%, #ffb033 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {

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

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

.error-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.error-description {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.8;
    margin-bottom: 10px;
}

.search-box-404 {
    background: linear-gradient(135deg, #fffbef 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #ffc107;
    box-shadow: 0 4px 20px rgb(255 244 223 / 8%);
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.action-buttons .btn {
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.action-buttons .btn-primary {
    background: linear-gradient(135deg, #ffab2b, #ffcc50);
    border: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.action-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.4);
}

.action-buttons .btn-outline-primary {
    color: #ffb232;
    border-color: #ffcd51;
}

.action-buttons .btn-outline-primary:hover {
    background: #7c3aed;
    color: #ffffff;
    transform: translateY(-2px);
}

.suggestions {
    border-top: 2px solid #e2e8f0;
}

.suggestions h4 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 25px;
}

.suggestion-card {
    display: block;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.suggestion-card:hover {
    border-color: #7c3aed;
    background: #faf5ff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffc84b, #ffc107);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.suggestion-card:hover .suggestion-icon {
    transform: translateX(4px);
}

.suggestion-card h6 {
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 1.8rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .search-box-404 {
        padding: 20px;
        margin-bottom: 30px;
    }

    .suggestions {
        margin-top: 30px;
    }

    .suggestion-card {
        padding: 18px;
    }
}

/* ========================================
   Course Filter Styling
   ======================================== */

.box-search {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.95) 0%, rgba(49, 46, 129, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.box-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 167, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.course-filter-form {
    position: relative;
    z-index: 1;
}

.course-filter-form .form-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7) !important;
}

.course-filter-form .form-select {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.course-filter-form .form-select:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.course-filter-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 167, 38, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none;
}

.course-filter-form .form-select option {
    background: #1e1b4b;
    color: #ffffff;
    padding: 10px;
}

.course-filter-form .btn-primary {
    background: linear-gradient(135deg, #FFA726 0%, #FF9800 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 167, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.course-filter-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.course-filter-form .btn-primary:hover::before {
    left: 100%;
}

.course-filter-form .btn-primary:hover {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 167, 38, 0.4);
}

.course-filter-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 167, 38, 0.3);
}

.course-filter-form .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.course-filter-form .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px) rotate(180deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.course-filter-form .btn-outline-secondary:active {
    transform: translateY(0) rotate(180deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .box-search {
        padding: 20px;
        border-radius: 16px;
    }

    .course-filter-form .form-select {
        font-size: 0.85rem;
        padding: 10px 14px;
    }

    .course-filter-form .btn-primary,
    .course-filter-form .btn-outline-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

#authModal .modal-dialog {
    max-width: 450px
}

#authModal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15)
}

#authModal .modal-header {
    border-bottom: none;
    position: relative;
    padding: 0
}

#authModal .modal-header .auth-tabs-wrapper {
    width: 100%
}

#authModal .modal-header .auth-nav-pills {
    display: flex;
    background: #f8fafc;
    border-radius: 12px;
    padding: 4px;
    margin: 0;
    border: none;
    width: 100%
}

#authModal .modal-header .auth-nav-pills .nav-item {
    flex: 1
}

#authModal .modal-header .auth-nav-pills .nav-link {
    border: none;
    background: rgba(0, 0, 0, 0);
    color: #64748b !important;
    font-weight: 500;
    padding: 12px 24px;
    text-align: center;
    margin: 0;
    transition: all .3s ease;
    font-size: 15px;
    width: 100%;
    border-bottom: 2px solid #ededed;
    border-radius: 0
}

.text-truncate-demo {
    position: relative;
}

.demo-media img {
    width: 100%;
    border-radius: 6px;
    object-fit: contain;
    padding: 10px;
    background: #22214c;
}

.prompt-card.glass-panel.p-4.rounded-4.position-relative.border.border-secondary.border-opacity-10.h-100.card-prompt-archive.js-view-prompt {
    padding: 10px !important;
}

h5.fw-bold.mb-3.text-white.title-prompt {
    font-size: 16px !important;
}

.card-prompt-archive .demo-media img {
    object-fit: cover;
}

.text-truncate-demo {
    height: 250px;
}

.marks-text {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #00000000 10%, #252250 85%) !important;
    bottom: 0;
}

#authModal .modal-header .auth-nav-pills .nav-link.active {
    color: #312e81 !important;
    background: #fff;
    border-bottom: 2px solid #312e81 !important;
}

#authModal .modal-header .btn-close {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f71919;
    border: none;
    opacity: .8;
    color: #fff
}

#authModal .modal-header .btn-close:hover {
    opacity: 1
}

#authModal .modal-body {
    padding: 24px
}

#authModal .auth-notice {
    text-align: center;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #fef3cd;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    color: #92400e;
    font-size: 14px;
    font-weight: 500
}

#authModal .auth-form .form-group {
    margin-bottom: 20px
}

#authModal .auth-form .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px
}

#authModal .auth-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center
}

#authModal .auth-form .input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    z-index: 2;
    color: #9ca3af;
    display: flex;
    align-items: center
}

#authModal .auth-form .input-wrapper .input-icon svg {
    width: 20px;
    height: 20px
}

#authModal .auth-form .input-wrapper .form-control {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 16px 12px 48px;
    font-size: 14px;
    background: #f9fafb;
    transition: all .3s ease;
    width: 100%
}

#authModal .auth-form .input-wrapper .form-control::placeholder {
    color: #9ca3af
}

#authModal .auth-form .input-wrapper .form-control:focus {
    border-color: #312e81;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .1);
    background: #fff
}

#authModal .auth-form .input-wrapper.password-wrapper .form-control {
    padding-right: 80px
}

#authModal .auth-form .input-wrapper.password-wrapper .password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #312e81;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    z-index: 2
}

#authModal .auth-form .input-wrapper.password-wrapper .password-toggle:hover {
    color: #312e81
}

#authModal .auth-form .input-wrapper.email-verification-wrapper .form-control {
    padding-right: 100px
}

#authModal .auth-form .input-wrapper.email-verification-wrapper .btn-send-code {
    position: absolute;
    right: 12px;
    background: #312e81;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
    z-index: 2
}

#authModal .auth-form .input-wrapper.email-verification-wrapper .btn-send-code:hover {
    background: #1e40af
}

#authModal .auth-form .input-wrapper.email-verification-wrapper .btn-send-code:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: .6
}

#authModal .auth-form .input-wrapper.email-verification-wrapper .countdown-text {
    position: absolute;
    right: 16px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    background: #fff;
    padding: 0 4px
}

#authModal .auth-form .verification-code-group {
    animation: slideDown .3s ease
}

#authModal .auth-form .verification-code-group .form-control {
    letter-spacing: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    font-family: monospace
}

#authModal .auth-form .verification-code-group .verification-hint {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

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

#authModal .auth-form .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px
}

#authModal .auth-form .form-options .form-check {
    display: flex;
    align-items: center
}

#authModal .auth-form .form-options .form-check .form-check-input {
    margin-right: 8px;
    accent-color: #312e81
}

#authModal .auth-form .form-options .form-check .form-check-label {
    font-size: 14px;
    color: #6b7280
}

#authModal .auth-form .form-options .forgot-password {
    color: #312e81;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none
}

#authModal .auth-form .form-options .forgot-password:hover {
    text-decoration: underline;
    color: #312e81
}

#authModal .auth-form .form-submit {
    margin-bottom: 20px
}

#authModal .auth-form .form-submit .btn-auth {
    width: 100%;
    background: #312e81;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    transition: all .3s ease
}

#authModal .auth-form .form-submit .btn-auth:hover {
    background: #1e40af;
    transform: translateY(-1px)
}

#authModal .auth-form .form-submit .btn-auth:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none
}

#authModal .auth-form .auth-message {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: none
}

#authModal .auth-form .auth-message.alert-success,
#authModal .auth-form .auth-message.alert-danger {
    display: block
}

#authModal .auth-form .auth-message.alert-success {
    background: rgba(11, 59, 140, .1);
    color: #312e81;
    border: 1px solid #312e81
}

#authModal .auth-form .auth-message.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444
}

#authModal .auth-form .auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative
}

#authModal .auth-form .auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb
}

#authModal .auth-form .auth-divider span {
    background: #fff;
    padding: 0 16px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    position: relative
}

#authModal .auth-form .social-login {
    margin-bottom: 24px
}

#authModal .auth-form .social-login .btn-google {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all .3s ease
}

#authModal .auth-form .social-login .btn-google:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px)
}

#authModal .auth-form .social-login .btn-google svg {
    width: 20px;
    height: 20px
}

#authModal .auth-form .auth-switch {
    text-align: center;
    font-size: 14px;
    color: #6b7280
}

#authModal .auth-form .auth-switch a {
    color: #312e81;
    font-weight: 600;
    text-decoration: none
}

#authModal .auth-form .auth-switch a:hover {
    text-decoration: underline;
    color: #312e81
}

.woocommerce .navbar-brand img,
.woocommerce-page .navbar-brand img {
    max-width: none;
    height: 32px;
}

.credit-amount {
    margin-top: 0 !important;
}

li.wc_payment_method.payment_method_pay2s img {
    width: 50px;
}

li.wc_payment_method.payment_method_pay2s img {
    width: 50px;
}

.wp-video {
    display: block;
    margin: 0 auto;
}

form#woocommerce-checkout-form-coupon {
    display: flex;
    padding: 10px;
    margin: 10px 0;
    margin-top: 0 !important;
    border: none;
    background: #deebff;
}

form#woocommerce-checkout-form-coupon p.form-row.form-row-first {
    width: calc(100% - 100px);
    margin-bottom: 0;
}

form#woocommerce-checkout-form-coupon p.form-row.form-row-last {
    width: 100px;
    font-size: 14px;
    margin-bottom: 0;
}

form.woocommerce-form.woocommerce-form-login.login {
    max-width: 500px;
    margin: 0 auto;
}

p.woocommerce-LostPassword.lost_password {
    font-size: 14px;
}

.woocommerce-info {
    margin-bottom: 10px;
}

form#woocommerce-checkout-form-coupon p.form-row.form-row-last button {
    height: 40px;
    margin-bottom: 0;
    background: #052d7e;
    color: #fff;
}

form#woocommerce-checkout-form-coupon .clear {
    display: none !important;
}

/* User Profile Pill & Credit Display Revamp */
.user-profile-pill {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 50px;
    padding: 2px 14px 2px 4px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
}

.user-profile-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.user-profile-pill img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
}

.user-profile-pill .user-name-text {
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
}

.credit-display-revamp {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
    transition: all 0.3s ease;
    height: 40px;
}

.credit-display-revamp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #ffa726;
}

.credit-display-revamp i {
    color: #ffa726;
    font-size: 14px;
}

.credit-display-revamp span {
    color: #0f172a;
    font-weight: 700;
    font-size: 13px;
}

/* My Account Navigation Customization */
.woocommerce-MyAccount-navigation {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.user-account-header {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.user-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.user-info h5 {
    color: #0f172a;
    font-size: 18px;
}

.account-nav-list .account-nav-item {
    margin-bottom: 5px;
}

.account-nav-list .account-nav-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s ease;
}

.account-nav-list .account-nav-item.is-active a {
    background-color: #f0f3ff;
    color: #3b44f6;
}

.account-nav-list .account-nav-item a:hover:not(.is-active) {
    background-color: #f8fafc;
}

.account-nav-list .account-nav-item .nav-icon {
    font-size: 20px;
}

/* Recharge Package Card Styles */
.recharge-account-context {
    padding-top: 10px;
}

.recharge-package-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recharge-package-card:hover {
    border-color: #6366f1;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.recharge-package-card .package-icon {
    font-size: 24px;
    margin-bottom: 20px;
}

.recharge-package-card .package-icon.color-blue {
    color: #6366f1;
}

.recharge-package-card .package-icon.color-purple {
    color: #8b5cf6;
}

.recharge-package-card .package-icon.color-cyan {
    color: #06b6d4;
}

.recharge-package-card .package-icon.color-orange {
    color: #f59e0b;
}

.recharge-package-card .package-icon.color-green {
    color: #10b981;
}

.recharge-package-card .credit-amount {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.recharge-package-card .package-price {
    font-size: 20px;
    font-weight: 700;
    color: #ce083a;
    margin-bottom: 25px;
}

.blog-body .user-avatar img {
    margin: 0;
}

.recharge-account-context h3.fw-bold.mb-4.text-dark {
    margin-top: 0;
    margin-bottom: 5px !important;
}

.recharge-package-card .package-price ins {
    text-decoration: none;
}

.recharge-package-card .package-price del {
    font-size: 16px;
    color: #94a3b8;
    margin-right: 5px;
}

.recharge-package-card .btn-recharge-now {
    width: 100%;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    background: transparent;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.recharge-package-card .btn-recharge-now:hover {
    background: #3b82f6;
    color: #fff;
}

.recharge-package-card.is-popular {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.recharge-package-card.is-popular .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    border-radius: 50px;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
    width: 100%;
}

.page-id-319 article.blog-detail-content.blog-article {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 0;
}

.page-id-319 article.blog-detail-content.blog-article h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.woocommerce-info {
    border-top: 0;
    border: 1px solid #ededed;
    padding: 12px;
    font-size: 14px;
    border-radius: 7px;
}

.woocommerce-info::before {
    display: none;
}

.woocommerce-info a {
    color: #dc3545;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
    font-size: 14px;
    font-weight: 600;
    color: #312e81;
}

.credit-history-context .table tbody tr td:first-child {
    font-size: 14px;
}

thead.table-light th {
    background: #ededed !important;
}

.credit-history-context .table thead th:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.credit-history-context .table thead th:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
    border: 1px solid #b3b3b3;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    border: 1px solid #b3b3b3;
    height: 40px;
    font-size: 14px;
}

.woocommerce-billing-fields {
    margin-bottom: 20px;
}

div#order_review {
    font-size: 15px;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: #ffeef9;
    border-radius: 13px;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    background-color: #002d7e;
    border-radius: 12px;
    color: #fff;
}

#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid #032d7e;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    border-radius: 30px;
    background: #032d7e;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px !important;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details:before,
ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details:after,
ul.wc-bacs-bank-details.order_details.bacs_details:before {
    display: none;
}

.woocommerce ul.order_details li {
    border: 1px solid #ededed;
    padding: 9px;
    border-radius: 5px;
    margin-right: 0;
    float: none;
}

.woocommerce ul.order_details li:last-of-type {
    border: 1px solid #ededed;
}

.woocommerce ul.order_details li strong {
    font-size: 15px;
    margin-top: 5px;
}

h2.wc-bacs-bank-details-heading {
    font-size: 20px;
    margin: 10px 0 !important;
}

.woocommerce ul.order_details {
    margin: 0;
    display: flex;
}

ul.wc-bacs-bank-details.order_details.bacs_details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    gap: 10px;
}

h2.woocommerce-order-details__title {
    font-size: 20px;
    margin: 10px 0 !important;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    font-size: 14px;
}

.woocommerce .woocommerce-customer-details .woocommerce-column__title {
    font-size: 20px;
    margin: 10px 0;
}

.woocommerce .woocommerce-customer-details :last-child,
.woocommerce .woocommerce-order-details :last-child,
.woocommerce .woocommerce-order-downloads :last-child {
    font-size: 14px;
}

a.btn.btn-warning.rounded-pill.px-4.fw-bold.shadow-sm {
    color: #fff;
    font-weight: 500;
}

/* Credit History Table Enhancements */
.credit-history-context {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.credit-history-context .table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.credit-history-context .table tr {
    transition: all 0.3s ease;
}

.credit-history-context .table tbody tr:hover {
    background-color: #f8fbff;
    transform: scale(1.005);
}

.credit-history-context .table td,
.credit-history-context .table th {
    border: none !important;
    padding: 15px;
}

.credit-history-context .table thead th {
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.credit-history-context .table tbody td {
    background: #fff;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.credit-history-context .table tbody tr td:first-child {
    border-left: 1px solid #f1f5f9 !important;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.credit-history-context .table tbody tr td:last-child {
    border-right: 1px solid #f1f5f9 !important;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: 14px;
}

.mejs-container.wp-video-shortcode.mejs-video {
    max-height: 740px !important;
}

.wp-video-shortcode video {
    max-height: 700px !important;
    object-fit: contain;
}

/* Prompt Detail Modal Styles */
#promptDetailModal .modal-content {
    background: transparent;
    border: none;
    overflow: hidden;
}

i.fa-solid.fa-tag.text-white {
    color: #fff !important;
}

.wp-video-shortcode video,
video.wp-video-shortcode {
    max-height: 800px;
}

#promptDetailModal .modal-dialog {
    max-width: 800px;
}

.prompt-modal-preview {
    background: #000;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prompt-modal-preview img {
    max-height: 100%;
    width: 100%;
    object-fit: cover;
}

.prompt-modal-info {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #1a1a1a !important;
}

.prompt-content-box {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.prompt-content-box::-webkit-scrollbar {
    width: 6px;
}

.prompt-content-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.prompt-modal-loading {
    padding: 100px 0;
    text-align: center;
    color: #fff;
    width: 100%;
}

.video-container-modal iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

@media (max-width: 991px) {
    .prompt-modal-info {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    #promptDetailModal .modal-dialog {
        margin: 10px;
    }
}

/* Specialized Prompt Modal Dark Theme - Overriding theme defaults */
#promptDetailModal .prompt-modal-info {
    background-color: #111111 !important;
    color: #eeeeee !important;
}

#promptDetailModal .prompt-modal-info .text-white {
    color: #ffffff !important;
}

#promptDetailModal .prompt-modal-info .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

#promptDetailModal .prompt-content-box {
    background-color: rgba(255, 255, 255, 0.05) !important;
    /* Proper dark box */
    color: #cccccc !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#promptDetailModal .prompt-content-box * {
    color: #cccccc !important;
}

#promptDetailModal .actions-badges .btn-dark,
#promptDetailModal .author-info .btn-dark {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

#promptDetailModal .actions-badges .btn-dark:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

#promptDetailModal .badge.bg-secondary {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Ensure the prompt text is visible */
.prompt-unlocked-text p,
.prompt-unlocked-text {
    color: #eeeeee !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Absolute overrides for prompt modal elements to ensure visibility on dark theme */
#promptDetailModal .modal-content {
    background-color: #111111 !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

#promptDetailModal .prompt-modal-info .author-info .fw-bold {
    color: #ffffff !important;
}

#promptDetailModal .prompt-modal-info h6 {
    color: #ffffff !important;
    opacity: 1 !important;
}

#promptDetailModal .btn-dark {
    background-color: #222222 !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
}

#promptDetailModal .btn-dark:hover {
    background-color: #333333 !important;
}

#promptDetailModal .badge {
    color: #ffffff !important;
}

#promptDetailModal .prompt-content-box p {
    color: #cccccc !important;
}

#promptDetailModal .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Tool Coupons Styles */
.coupon-section {
    border: 1px solid rgba(13, 110, 253, 0.05);
}

.coupon-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.glow-overlay-coupon {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.coupon-code-wrapper {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.coupon-card .btn {
    transition: all 0.2s ease;
}

.coupon-card .btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .coupon-card h2 {
        font-size: 1.5rem !important;
    }
}

/* Tool Categories Page Styles */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}