/* =====================================================
KARUKATHA CUSTOM CSS
Page Specific Sections
===================================================== */

@import url("branding.css");

/* =====================================================
PROMO SECTION
===================================================== */

.kk-promo{
padding:var(--space-8) 0;
background:var(--color-white);
}

.kk-promo-img{
width:100%;
border-radius:16px;
object-fit:cover;
transition:.3s;
}

.kk-promo-img:hover{
transform:scale(1.02);
}

.kk-promo .swiper{
padding-bottom:40px;
}

.kk-promo .swiper-slide{
overflow:hidden;
border-radius:16px;
}


/* =====================================================
WHY KARUKATHA
===================================================== */

.kk-why-section{

padding:var(--space-12) 0;

background:var(--color-bg-secondary);

}


/* =====================================================
GRID
===================================================== */

.kk-why-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:28px;

margin-top:var(--space-6);

}


/* =====================================================
CARD
===================================================== */

.kk-feature-card{

background:var(--color-white);

padding:32px 26px;

border-radius:var(--radius-xl);

border:1px solid var(--border-light);

text-align:center;

transition:all .25s ease;

box-shadow:var(--shadow-sm);

display:flex;

flex-direction:column;

align-items:center;

justify-content:flex-start;

height:100%;

position:relative;

overflow:hidden;

}


/* =====================================================
ICON
===================================================== */

.kk-feature-icon{

width:64px;
height:64px;

display:flex;
align-items:center;
justify-content:center;

margin-bottom:18px;

border-radius:16px;

background:var(--color-brand-light);

color:var(--color-brand);

font-size:26px;

transition:all .25s ease;

}


/* =====================================================
TEXT
===================================================== */

.kk-feature-card h5{

font-size:17px;

font-weight:600;

margin-bottom:8px;

color:var(--color-text-dark);

}

.kk-feature-card p{

font-size:14px;

color:var(--color-text-muted);

line-height:1.6;

margin:0;

}

/* =====================================================
CARD HOVER
===================================================== */

.kk-feature-card:hover{
transform:translateY(-6px);
box-shadow:var(--shadow-md);
}

/* =====================================================
ICON HOVER EFFECT
===================================================== */

.kk-feature-card:hover .kk-feature-icon{
background:var(--color-brand);
color:#fff;
}

/* =====================================================
HIGHLIGHT CARD
===================================================== */

.kk-feature-highlight{

background:linear-gradient(
135deg,
var(--color-brand-light),
#a7d88f
);

border:none;

box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.kk-feature-highlight h5{

color:var(--color-text-dark);

}

.kk-feature-highlight p{

color:#365c3f;

}

.kk-feature-highlight .kk-feature-icon{

background:var(--color-brand);

color:#fff;

}


/* =====================================================
HOVER EFFECT
===================================================== */

.kk-feature-card:hover{

transform:translateY(-8px);

box-shadow:0 18px 40px rgba(0,0,0,.10);

border-color:rgba(126,217,87,.35);

}

.kk-feature-card:hover .kk-feature-icon{

transform:scale(1.08);

}


/* =====================================================
RESPONSIVE
===================================================== */

@media(max-width:992px){

.kk-why-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:576px){

.kk-why-grid{
grid-template-columns:1fr;
gap:20px;
}

}
/* =====================================================
REVIEWS SECTION
===================================================== */

.kk-reviews-section{
padding:var(--space-12) 0;
background:linear-gradient(
180deg,
#ffffff 0%,
#f8fafc 100%
);
}

.kk-review-header{
margin-bottom:var(--space-6);
}

/* grid */

.kk-review-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:26px;
}

/* card */

.kk-review-card{
background:#ffffff;
padding:26px;
border-radius:var(--radius-xl);
border:1px solid rgba(0,0,0,.05);
box-shadow:0 6px 18px rgba(0,0,0,.05);
transition:all .25s ease;
position:relative;
height:100%;
}

.kk-review-card:hover{
transform:translateY(-6px);
box-shadow:0 18px 40px rgba(0,0,0,.10);
}

/* header */

.kk-review-top{
display:flex;
align-items:center;
gap:14px;
margin-bottom:12px;
}

/* avatar */

.kk-review-avatar{
width:44px;
height:44px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-weight:600;
background:var(--color-brand-light);
color:var(--color-brand);
font-size:16px;
box-shadow:0 3px 8px rgba(0,0,0,.08);
}

/* text */

.kk-review-card h6{
font-size:15px;
margin:0;
font-weight:600;
color:var(--color-text-dark);
}

.kk-review-card p{
font-size:14px;
color:var(--color-text-muted);
line-height:1.65;
margin:0;
}

/* stars */

.kk-stars{
color:#f59e0b;
font-size:14px;
margin-top:4px;
letter-spacing:1px;
}


/* =====================================================
TABLET
===================================================== */

@media (max-width:992px){

.kk-review-grid{
gap:20px;
}

.kk-review-card{
padding:22px;
}

}


/* =====================================================
MOBILE
===================================================== */

@media (max-width:768px){

.kk-reviews-section{
padding:var(--space-10) 0;
}

.kk-review-grid{
grid-template-columns:1fr;
gap:18px;
}

.kk-review-card{
padding:20px;
}

.kk-review-avatar{
width:38px;
height:38px;
font-size:14px;
}

.kk-review-card p{
font-size:13px;
}

}


/* =====================================================
SMALL MOBILE
===================================================== */

@media (max-width:420px){

.kk-review-card{
padding:16px;
}

.kk-review-top{
gap:10px;
}

.kk-review-avatar{
width:34px;
height:34px;
font-size:13px;
}

.kk-review-card h6{
font-size:14px;
}

}

/* =====================================================
FAQ SECTION
===================================================== */

.kk-faq-box{
background:#ffffff;
padding:30px;
border-radius:var(--radius-xl);
border:1px solid rgba(0,0,0,.05);
box-shadow:0 6px 18px rgba(0,0,0,.05);
}

.kk-faq-title{
font-size:20px;
font-weight:600;
margin-bottom:22px;
color:var(--color-text-dark);
}

.kk-faq .accordion-item{
border:none;
border-bottom:1px solid rgba(0,0,0,.08);
}

.kk-faq .accordion-button{
font-size:15px;
font-weight:500;
color:var(--color-text-dark);
background:transparent;
box-shadow:none;
padding:14px 0;
transition:.2s;
}

.kk-faq .accordion-button:not(.collapsed){
color:var(--color-brand);
}

.kk-faq .accordion-body{
font-size:14px;
color:var(--color-text-muted);
padding:10px 0 18px;
line-height:1.65;
}

/* =====================================================
CART PAGE
===================================================== */

.kk-cart-page{
padding:60px 0;
background:#fafafa;
}

.kk-title{
font-size:28px;
font-weight:700;
margin-bottom:30px;
}


/* =====================================================
EMPTY CART
===================================================== */

.kk-empty-cart{
text-align:center;
padding:80px 20px;
background:#fff;
border-radius:16px;
box-shadow:0 10px 25px rgba(0,0,0,.06);
animation:fadeIn .4s ease;
}

.kk-empty-cart i{
font-size:60px;
color:#bbb;
margin-bottom:20px;
display:block;
}

.kk-empty-cart p{
font-size:18px;
margin-bottom:20px;
color:#555;
}

.kk-btn{
display:inline-block;
background:var(--color-brand);
color:#fff;
padding:10px 22px;
border-radius:8px;
text-decoration:none;
font-weight:600;
transition:.25s ease;
}

.kk-btn:hover{
background:var(--color-brand-dark);
transform:translateY(-1px);
}


/* =====================================================
CART GRID
===================================================== */

.kk-cart-grid{
display:grid;
grid-template-columns:1fr 340px;
gap:30px;
align-items:start;
}


/* =====================================================
CART ITEMS
===================================================== */

.kk-cart-items{
display:flex;
flex-direction:column;
gap:18px;
}

.kk-cart-item{
display:grid;
grid-template-columns:90px 1fr 40px;
gap:16px;
align-items:center;
background:#fff;
padding:14px;
border-radius:12px;

transition:all .25s ease;
}

/* Hover lift */
.kk-cart-item:hover{
transform:translateY(-3px);
box-shadow:0 12px 25px rgba(0,0,0,.08);
}

/* Removing animation */
.kk-cart-item.removing{
opacity:0;
transform:scale(.9);
transition:.3s ease;
}


/* =====================================================
PRODUCT IMAGE
===================================================== */

.kk-cart-img{
width:90px;
height:90px;
border-radius:10px;
overflow:hidden;
background:#f3f3f3;
}

.kk-cart-img img{
width:100%;
height:100%;
object-fit:cover;
transition:.3s;
}

.kk-cart-item:hover .kk-cart-img img{
transform:scale(1.05);
}


/* =====================================================
   KARUKATHA CART PAGE - ENTERPRISE PRO
   ===================================================== */

/* =====================================================
   KARUKATHA CART - FINAL STABLE VERIFIED
   ===================================================== */

/* ================= DESKTOP LAYOUT ================= */
.kk-cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.kk-cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto; /* Image, Info, Qty, Remove */
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #f1f1f1;
    align-items: center;
    position: relative;
}

/* Image Centering */
.kk-cart-img {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
}

.kk-cart-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Centers and fits artisan art perfectly */
}

/* Info Section */
.kk-cart-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kk-cart-info a {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    margin-bottom: 4px;
}

.kk-cart-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-brand, #2563eb);
}

/* Quantity Control (Standard Desktop) */
.kk-cart-qty {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 4px;
    margin: 0 10px;
}

.kk-cart-qty button {
    width: 28px;
    height: 28px;
    border: none;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.kk-cart-qty input {
    width: 35px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

/* Remove Button */
.kk-remove-cart {
    color: #ef4444;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 650px) {
    .kk-cart-grid {
        grid-template-columns: 1fr;
    }

    .kk-cart-item {
        grid-template-columns: 80px 1fr; /* Image and text only */
        padding: 15px;
        min-height: 120px;
        align-items: flex-start;
    }

    .kk-cart-img {
        width: 80px;
        height: 80px;
    }

    .kk-cart-info {
        padding-right: 30px; /* Room for trash icon */
    }

    .kk-cart-info a {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }

    /* Quantity - Fixed Position at Bottom Right */
    .kk-cart-qty {
        position: absolute;
        bottom: 12px;
        right: 12px;
        margin: 0;
        scale: 0.85; /* Reduces size for mobile */
        transform-origin: right bottom;
        background: #f1f1f1;
        border: 1px solid #eee;
    }

    /* Trash - Fixed Position at Top Right */
    .kk-remove-cart {
        position: absolute;
        top: 12px;
        right: 12px;
        font-size: 18px;
    }

    .kk-cart-price {
        font-size: 14px;
        margin-top: 4px;
    }
}

/* Extra small fix for very narrow phones */
@media (max-width: 360px) {
    .kk-cart-info a {
        max-width: 140px;
    }
}
/* =====================================================
WISHLIST PAGE
===================================================== */

.kk-wishlist-page{
padding:60px 0;
background:#fafafa;
}

.kk-title{
font-size:28px;
font-weight:700;
margin-bottom:30px;
}


/* =====================================================
EMPTY WISHLIST
===================================================== */

.kk-empty-wishlist{
text-align:center;
padding:80px 20px;
background:#fff;
border-radius:16px;
box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.kk-empty-wishlist i{
font-size:60px;
color:#bbb;
margin-bottom:20px;
display:block;
}

.kk-empty-wishlist p{
font-size:18px;
margin-bottom:20px;
color:#555;
}

.kk-btn{
display:inline-block;
background:var(--color-brand);
color:#fff;
padding:10px 22px;
border-radius:8px;
text-decoration:none;
font-weight:600;
transition:.2s;
}

.kk-btn:hover{
background:var(--color-brand-dark);
}


/* =====================================================
GRID
===================================================== */

.kk-wishlist-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:24px;
}


/* =====================================================
CARD
===================================================== */

.kk-wishlist-card{
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 6px 14px rgba(0,0,0,.05);
transition:.25s;
}

.kk-wishlist-card:hover{
transform:translateY(-4px);
box-shadow:0 12px 24px rgba(0,0,0,.08);
}


/* =====================================================
IMAGE
===================================================== */

.kk-wishlist-img{
display:block;
height:220px;
background:#f3f3f3;
overflow:hidden;
}

.kk-wishlist-img img{
width:100%;
height:100%;
object-fit:cover;
}


/* =====================================================
INFO
===================================================== */

.kk-wishlist-info{
padding:14px;
}

.kk-wishlist-title{
font-size:14px;
font-weight:600;
color:#333;
text-decoration:none;
display:block;
margin-bottom:6px;
}

.kk-wishlist-title:hover{
color:var(--color-brand);
}

.kk-wishlist-price{
font-size:15px;
font-weight:700;
margin-bottom:10px;
}


/* =====================================================
ACTIONS
===================================================== */

.kk-wishlist-actions{
display:flex;
gap:8px;
}

.kk-add-cart{
flex:1;
background:var(--color-brand);
border:none;
color:#fff;
padding:8px;
border-radius:8px;
font-size:13px;
cursor:pointer;
transition:.2s;
}

.kk-add-cart:hover{
background:var(--color-brand-dark);
}

.kk-remove-wishlist{
background:#f3f3f3;
border:none;
padding:8px;
border-radius:8px;
cursor:pointer;
font-size:16px;
color:#666;
transition:.2s;
}

.kk-remove-wishlist:hover{
color:#e53935;
background:#ffeaea;
}


/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width:768px){

.kk-wishlist-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:480px){

.kk-wishlist-grid{
grid-template-columns:1fr;
}

}

/* =====================================================
AUTH PAGE
===================================================== */

.kk-auth-body{
background:#f8fafc;
}

.kk-auth-page{
padding:var(--space-12) 0;
}


/* =====================================================
CARD
===================================================== */

.kk-auth-card{
background:#fff;
border-radius:var(--radius-brand);
border:1px solid #eef2f7;
box-shadow:0 20px 50px rgba(0,0,0,.08);
overflow:hidden;
}


/* =====================================================
LEFT PANEL
===================================================== */

.kk-auth-left{
background:var(--color-brand);
color:#fff;
padding:60px;
display:flex;
align-items:center;
}

.kk-auth-left h2{
font-size:32px;
font-weight:700;
margin-bottom:20px;
}

.kk-auth-left p{
opacity:.9;
font-size:14px;
line-height:1.7;
}

.kk-auth-divider{
width:60px;
height:4px;
background:rgba(255,255,255,.5);
border-radius:20px;
margin-top:25px;
}


/* =====================================================
RIGHT PANEL
===================================================== */

.kk-auth-right{
padding:50px;
}


/* =====================================================
LOGIN / SIGNUP TOGGLE
===================================================== */

.kk-auth-toggle{
display:flex;
background:#f1f5f9;
border-radius:var(--radius-brand);
padding:4px;
margin-bottom:30px;
}

.kk-auth-toggle button{
flex:1;
border:none;
background:transparent;
padding:10px;
font-weight:600;
border-radius:var(--radius-brand);
cursor:pointer;
transition:.2s;
}

.kk-auth-toggle button.active{
background:var(--color-brand);
color:#fff;
}


/* =====================================================
TITLE
===================================================== */

.kk-auth-title{
text-align:center;
margin-bottom:25px;
font-weight:600;
}


/* =====================================================
GOOGLE BUTTON
===================================================== */

.kk-google-btn{
display:flex;
align-items:center;
justify-content:center;
gap:10px;
border:1px solid #e5e7eb;
padding:12px;
border-radius:var(--radius-brand);
text-decoration:none;
color:#111;
margin-bottom:20px;
transition:.2s;
}

.kk-google-btn:hover{
background:#f9fafb;
}

.kk-google-btn img{
width:20px;
}

.kk-auth-or{
text-align:center;
font-size:12px;
color:#9ca3af;
margin-bottom:20px;
}


/* =====================================================
FLOATING INPUT FIELDS
===================================================== */

.floating-form .kk-field{
position:relative;
margin-bottom:1.75rem;
}

.floating-form .kk-field input{
width:100%;
padding:1rem 3.5rem 1rem 3rem;
border:1px solid #e5e7eb;
border-radius:var(--radius-brand);
outline:none;
font-size:0.875rem;
background:#fff;
transition:.2s;
box-shadow:0 1px 2px rgba(0,0,0,.05);
}

.floating-form .kk-field input:focus{
border-color:var(--color-brand,#65b743);
box-shadow:0 0 0 3px rgba(101,183,67,0.1),0 1px 3px rgba(0,0,0,.1);
}

/* FLOATING LABEL */

.floating-form .kk-field label{
position:absolute;
top:50%;
left:3rem;
transform:translateY(-50%);
font-size:0.8125rem;
color:#6b7280;
transition:.2s;
pointer-events:none;
background:#fff;
padding:0 .5rem;
z-index:1;
}

.floating-form .kk-field input:focus + label,
.floating-form .kk-field input:not(:placeholder-shown) + label{
top:-0.2rem;
font-size:0.6875rem;
font-weight:500;
color:var(--color-brand,#65b743);
}


/* =====================================================
INPUT ICON
===================================================== */

.input-icon-left{
position:absolute;
left:1rem;
top:50%;
transform:translateY(-50%);
color:#9ca3af;
font-size:1rem;
z-index:1;
}


/* =====================================================
PASSWORD TOGGLE
===================================================== */

.toggle-password{
position:absolute;
right:1rem;
top:50%;
transform:translateY(-50%);
cursor:pointer;
color:#6b7280;
font-size:1rem;
transition:.2s;
z-index:1;
}

.toggle-password:hover{
color:var(--color-brand);
opacity:.8;
}


/* =====================================================
REMEMBER ME + FORGOT PASSWORD
===================================================== */

.kk-auth-options{
display:flex !important;
align-items:center !important;
justify-content:space-between !important;
gap:16px !important;

font-size:0.875rem;
margin:16px 0 24px;

color:#374151;
width:100%;
}

/* checkbox group */

.kk-auth-options label{
display:flex !important;
align-items:center !important;
gap:8px !important;

cursor:pointer;
margin:0;
font-weight:500;

flex:0 0 auto;
}

/* checkbox */

.kk-auth-options input[type="checkbox"]{
width:16px;
height:16px;
margin:0;
cursor:pointer;

accent-color:var(--color-brand);
flex-shrink:0;
}

/* forgot password */

.kk-auth-options .forgot-link{
margin-left:auto !important;

color:var(--color-brand)!important;
text-decoration:none;
font-weight:600;

white-space:nowrap;
}

.kk-auth-options .forgot-link:hover{
text-decoration:underline;
opacity:.85;
}
/* =====================================================
TERMS CHECKBOX
===================================================== */

.kk-terms{
display:flex;
align-items:flex-start;
gap:.5rem;
font-size:0.8125rem;
margin-bottom:1.5rem;
color:#374151;
}

.kk-terms input{
width:18px;
height:18px;
margin-top:3px;
accent-color:var(--color-brand);
}

.kk-terms label{
margin:0;
cursor:pointer;
line-height:1.5;
}

.kk-terms a{
color:var(--color-brand)!important;
text-decoration:none;
font-weight:500;
}

.kk-terms a:hover{
text-decoration:underline;
}


/* =====================================================
OTP MODAL
===================================================== */

.kk-otp-modal{
border-radius:var(--radius-brand);
padding:2rem;
}

.kk-otp-text{
font-size:0.875rem;
color:#6b7280;
margin-bottom:2rem;
text-align:center;
}

.kk-otp-group{
display:flex;
justify-content:center;
gap:.75rem;
margin-bottom:1.25rem;
}

.kk-otp-box{
width:3.5rem;
height:3.5rem;
border:2px solid #e5e7eb;
border-radius:.75rem;
text-align:center;
font-size:1.25rem;
font-weight:600;
outline:none;
transition:.2s;
}

.kk-otp-box:focus{
border-color:var(--color-brand);
box-shadow:0 0 0 3px rgba(101,183,67,0.15);
transform:scale(1.02);
}

.kk-otp-resend{
font-size:0.8125rem;
color:#6b7280;
text-align:center;
}

.kk-otp-resend button{
border:none;
background:none;
color:var(--color-brand);
font-weight:600;
cursor:pointer;
text-decoration:underline;
}

.kk-otp-resend button:hover{
opacity:.8;
}

.kk-otp-resend button:disabled{
opacity:.5;
cursor:not-allowed;
}


/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width:768px){

.kk-auth-right{
padding:2rem 1.5rem;
}

.kk-auth-left{
padding:2rem;
min-height:300px;
}

.kk-auth-card{
margin:1rem;
}

.kk-otp-box{
width:3rem;
height:3rem;
font-size:1.125rem;
}

}

/* =====================================================
SELLER PAGE
===================================================== */

/* =====================================
PROFESSIONAL DARK SELLER HERO
===================================== */
.kk-seller-hero {
    /* Dark gradient overlay: Top-left to Bottom-right */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(20, 20, 20, 0.7) 100%), 
                url('../img/web/seller-bg.webp');
    background-size: cover;
    background-position: center;
    padding-block: var(--space-16);
    position: relative;
    border-bottom: 1px solid var(--gray-800);
    color: var(--color-white); /* Force white text for the section */
}

.kk-badge-pill {
    display: inline-block;
    padding: var(--space-1) var(--space-4);
    background: var(--color-brand); /* Solid brand color for contrast */
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
}

.kk-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    color: var(--color-white);
}

.kk-hero-lead {
    font-size: var(--text-lg);
    color: var(--gray-300); /* Lighter gray for readability on dark */
    max-width: 540px;
    margin-bottom: var(--space-8);
}

/* Benefits list */
.kk-hero-benefits {
    display: grid;
    gap: var(--space-3);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
    color: var(--gray-100);
}

.benefit-item i {
    color: var(--color-brand-light); /* Lighter green for better visibility */
    font-size: var(--text-xl);
}

/* =====================================================
   PROFESSIONAL STATS CARD
   ===================================================== */
.kk-hero-stats-card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-3xl); /* Smoother corners */
    border: 1px solid rgba(101, 183, 67, 0.1); /* Subtle brand border */
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.05),
        0 20px 25px -5px rgba(101, 183, 67, 0.05);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

/* Subtle background accent blob */
.kk-hero-stats-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--color-brand-light) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
}

.kk-hero-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-brand);
}

.stats-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.stat-box {
    flex: 1;
    text-align: center;
}

.stat-box h3 {
    color: var(--color-brand-dark);
    font-size: var(--text-4xl);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: var(--space-1);
    font-family: var(--font-display);
}

.stat-box p {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--gray-500);
    margin-bottom: 0;
}

.stat-divider {
    height: 40px;
    width: 1.5px;
    background: linear-gradient(to bottom, transparent, var(--gray-200), transparent);
}

.stats-footer {
    margin-top: var(--space-6);
    padding: var(--space-3) var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.stats-footer p {
    margin: 0;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-brand-dark);
}

.stats-footer i {
    color: var(--color-gold); /* Gold shield for "Verified" feel */
    font-size: 1rem;
}

/* =====================================================
REGISTRATION FORM (CLEAN + PROFESSIONAL)
===================================================== */

/* ================= CARD ================= */
.registration-card {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* ================= STEP INDICATOR ================= */
.step-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 30px;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 18px; /* aligned with circle center */
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gray-200);
  z-index: 1;
}

/* ================= STEP ================= */
.step {
  position: relative;
  z-index: 2;
  text-align: center;
  background: #fff;
  padding: 0 10px;
}

.step span {
  width: 36px;
  height: 36px;
  line-height: 36px;
  display: block;
  background: var(--gray-200);
  border-radius: 50%;
  margin: 0 auto 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.step p {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
}

/* ACTIVE STEP */
.step.active span {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 4px 10px rgba(101,183,67,0.3);
}

.step.active p {
  color: var(--color-brand-dark);
  font-weight: 600;
}

/* ================= FORM STEP ================= */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= BUTTON FIX ================= */

/* Fix Bootstrap active/focus weird styles */
.registration-card .btn:first-child:active,
.registration-card .btn:first-child:focus,
.registration-card .btn:first-child.active {
  background-color: transparent !important;
  color: var(--color-brand) !important;
  border-color: var(--color-brand) !important;
  box-shadow: none !important;
}

/* Primary button fix */
.registration-card .btn-primary:first-child:active {
  background-color: var(--color-brand-dark) !important;
  color: #fff !important;
}

/* Button consistency */
.registration-card .btn {
  border-radius: var(--radius-lg) !important;
  font-weight: 600;
  padding: 10px 18px;
}

/* Fix flex button spacing */
.d-flex.flex-column .btn {
  margin-bottom: 0 !important;
}

/* =====================================================
KARUKATHA FORM + SELECT2 SYSTEM (FINAL PRODUCTION FIXED)
===================================================== */

/* ================= FORM GROUP & LABEL ================= */
.kk-form-group {
    position: relative;
    margin-bottom: var(--space-6);
}

.kk-form-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: var(--text-sm);
    color: var(--color-text-light);
    background: var(--color-white);
    padding: 0 var(--space-1);
    transition: all var(--transition-normal);
    pointer-events: none;
    z-index: var(--z-index-1);
}

/* FLOAT LABEL */
.kk-form-control:focus + label,
.kk-form-control:not(:placeholder-shown) + label,
.select2-container--open + label,
.select2-container--has-value + label {
    top: 0;
    font-size: var(--text-xs);
    color: var(--color-brand);
    font-weight: 600;
}

/* ================= BASE INPUT ================= */
.kk-form-control {
    width: 100%;
    height: 46px;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    background: var(--color-white) !important;
    transition: all var(--transition-fast);
    color: var(--color-text-dark);
}

.kk-form-control:focus {
    border-color: var(--color-brand) !important;
    box-shadow: 0 0 0 3px rgba(101, 183, 67, 0.15) !important;
    outline: none !important;
}

/* ================= TEXTAREA ================= */
textarea.kk-form-control {
    height: auto !important;            
    min-height: 90px;                  
    padding: 12px !important;
    line-height: 1.5;
    resize: vertical;                  
}

/* =====================================================
SELECT2 BASE
===================================================== */
.select2-container {
    width: 100% !important;
}

/* =====================================================
SELECT2 SINGLE
===================================================== */
.select2-container--default .select2-selection--single {
    height: 46px !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    background: var(--color-white) !important;
    position: relative;
}

/* REMOVE DEFAULT ARROW */
.select2-selection__arrow {
    display: none !important;
}

/* =====================================================
MULTI SELECT (FIXED STRUCTURE)
===================================================== */
.select2-container--default .select2-selection--multiple {

    height: 46px !important;
    min-height: 46px !important;

    display: flex !important;
    align-items: center !important;

    padding: 4px 36px 4px 10px !important;
    gap: 6px !important;

    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    background: var(--color-white) !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;

    position: relative !important;
}

/* FOCUS */
.select2-container--default.select2-container--focus 
.select2-selection--multiple {
    border-color: var(--color-brand) !important;
    box-shadow: 0 0 0 3px rgba(101, 183, 67, 0.15) !important;
}

/* =====================================================
TAGS (FINAL PERFECT ALIGN)
===================================================== */
.select2-container--default 
.select2-selection--multiple 
.select2-selection__choice {

    display: inline-flex !important;
    align-items: center !important;

    background: var(--color-brand-light) !important;
    border: 1px solid var(--color-brand) !important;
    border-radius: var(--radius-sm) !important;

    padding: 3px 6px 3px 8px !important;
    height: 26px !important;

    margin: 0 !important;
}

/* TEXT */
.select2-selection__choice__display {
    font-size: var(--text-xs);
    color: var(--color-brand-dark);
    margin-right: 6px !important;
}

/* 🔥 FIX: REMOVE ICON RIGHT (NO FLOAT BUG) */
.select2-container--default 
.select2-selection--multiple 
.select2-selection__choice__remove {

    order: 2 !important;              /* push right */
    margin-left: 6px !important;
    margin-right: 0 !important;

    position: relative !important;
    left: auto !important;
    right: auto !important;

    color: var(--color-brand-dark) !important;
    font-size: 13px !important;
    font-weight: bold !important;

    cursor: pointer !important;
    opacity: 0.7;
}

/* HOVER */
.select2-selection__choice__remove:hover {
    color: #fff !important;
    background: var(--color-brand) !important;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* SEARCH */
.select2-search__field {
    height: 26px !important;
    margin: 0 !important;
    font-size: 13px !important;
}

/* =====================================================
🔥 CUSTOM CHEVRON (PERFECT CENTER FIXED)
===================================================== */
.select2-container--default 
.select2-selection--multiple::after,
.select2-container--default 
.select2-selection--single::after {

    content: "";

    position: absolute;
    right: 14px;
    top: 50%;

    width: 7px;
    height: 7px;

    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);

    transform: translateY(-50%) rotate(45deg); /* ✅ PERFECT CENTER */

    pointer-events: none;
    transition: all 0.25s ease;
}

/* ROTATE WHEN OPEN */
.select2-container--open 
.select2-selection--multiple::after,
.select2-container--open 
.select2-selection--single::after {
    transform: translateY(-50%) rotate(-135deg);
}

/* =====================================================
DROPDOWN
===================================================== */
.select2-dropdown {
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-md) !important;
}

.select2-results__option--highlighted {
    background: var(--color-brand) !important;
    color: #fff !important;
}

/* HIDE DEFAULT MESSAGE */
.select2-results__message {
    display: none !important;
}
/* =====================================================
SWAL FIX
===================================================== */
body.swal2-shown {
    padding-right: 0 !important;
    overflow-y: auto !important;
}

.swal2-backdrop-show {
    backdrop-filter: blur(2px);
}

.swal2-popup {
    border-radius: var(--radius-lg);
}

/* STATUS BADGE RIGHT */
.kk-has-status {
    position: relative;
}

.kk-status {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: none;
}

/* STATES */
.kk-status.success {
    color: #166534;
    background: #dcfce7;
    display: inline-block;
}

.kk-status.error {
    color: #991b1b;
    background: #fee2e2;
    display: inline-block;
}

.kk-status.loading {
    color: #555;
    background: #f3f4f6;
    display: inline-block;
}
/* =====================================================
   PROFESSIONAL ACCESS BAR (POST-FORM)
   ===================================================== */
.kk-partner-access-bar {
    border-top: 1px solid var(--gray-200);
    background-color: #ffffff;
}

.access-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.badge-pill-light {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-brand-light);
    color: var(--color-brand-dark);
    border-radius: 50px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.access-title {
    font-weight: 800;
    color: var(--color-brand-dark);
    margin-bottom: 4px;
    font-size: 1.25rem;
}

.access-subtitle {
    color: var(--gray-500);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* =====================================================
   PROFESSIONAL LINK BUTTON (REFINED)
   ===================================================== */
.btn-professional-link {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* Slightly more gap for a modern look */
    padding: 10px 24px;
    background: transparent;
    border: 1.5px solid var(--color-brand-dark) !important;
    color: var(--color-brand-dark) !important;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.85rem; /* Slightly smaller for elegance */
    text-transform: uppercase; /* Adds a professional "Action" feel */
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-professional-link:hover {
    background-color: var(--color-brand-dark) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px); /* Lift up looks more premium than sideways */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-professional-link i {
    transition: transform 0.3s ease;
}

.btn-professional-link:hover i {
    transform: translateX(4px); /* Only the arrow moves forward */
}

/* Responsive Fix */
@media (max-width: 768px) {
    .access-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
}