:root{
    --input-color-box:var(--theme-color);
    --background-color: #ffffff;
    --dom-primary-color:#57ec29;
    --dom-sec-color:#ffa83e;
    --profile-border:#ffffff;
}

#card_form *{
    font-size: 14px !important;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f4f6f9;
}

.sidebar {
    width: 200px;
    height: 100vh;
    background: #111827;
    padding: 30px 20px;
    position: fixed;
}

.sidebar .logo {
    color: white;
    margin-bottom: 30px;
}

.sidebar a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    padding: 10px 0;
    transition: 0.3s;
}

.sidebar a:hover {
    color: white;
}

.content {
    /* margin-left: 250px; */
    padding: 20px;
}

.topbar {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}


.preview-card {
    --theme-color:#0d6efd;
    --background-color:white;
    border-radius:18px;
    overflow:hidden;
    overflow-y: scroll;
    max-width:380px;
    margin:auto;
    box-shadow:0 15px 40px rgba(0,0,0,0.1);
    position:relative;
    min-height: 90vh;
}


.download_image_btn{
    display: block;
    height: 30px;
    appearance: none;
    border: 1px solid #eee;
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 10px;
}

.preview-card {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
  overflow-y: scroll;        /* Optional: ensures the div is scrollable */
}

.template_col{
    width: calc(100% / 1.5);
    height: 60px;
    border: 1px solid #d1d1d1;
}

.modal_template_col{
    width: calc(100% / 1.5);
    height: 150px;
    border: 1px solid #d1d1d1;
}

/* For Chrome, Safari, Opera, and newer Edge browsers */
.preview-card::-webkit-scrollbar {
  display: none;
}

.preview-cover {
    height:210px;
    background:var(--theme-color);
    background-size:cover;
    background-position:center;
}

.preview-avatar {
    width:95px;
    height:95px;
    border-radius:50%;
    border:4px solid var(--profile-border);
    margin:-50px auto 10px auto;
    background:#eee;
    background-size:cover;
    background-position:center;
}

.preview-content {
    padding:20px;
    text-align:center;
}

.preview-actions {
    display:flex;
    align-items: center;
    justify-content:center;
    gap:8px;
    width: 80% !important;
    background:var(--background-color);
    border-radius: 7%;
}

.action-btn {
    padding:6px 12px;
    background:var(--theme-color);
    color:white;
    font-size:12px;
}

.btn-text{
    color: #111827;
    font-weight: 500;
}

.ww-80{
    width: 100% !important;
    display: flex;
    justify-content: center;
}

.decoration-none{
    text-decoration:none;
    border-radius:20px;
}

.social-icons {
    display:flex;
    justify-content:center;
    gap:10px;
}

.social-icons a {
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    text-decoration:none;
    font-size:14px;
}



.social-icons a .favicon-img{
    width:32px;
    height:32px;
}

.service-item {
    margin: 10px;
    background:var(--theme-color);
    padding:10px;
    border-radius:10px;
    margin-bottom:10px;
    text-align:left;
}

.service-price {
    float:right;
    font-weight:bold;
}

.contact-btn {
    display:flex;
    align-items:center;
    gap:6px;
    padding:8px 14px;
    border-radius:25px;
    font-size:13px;
    background:var(--theme-color);
    color:white;
    transition:0.3s;
    
}

.background_image{
    display: none;
}

.contact-btn i {
    font-size:14px;
}

.contact-btn.whatsapp {
    background:#25D366;
}

input[type="color"]{
    height: 40px !important;
}


#serviceList .card {
    border-radius:10px;
    background:#f8fafc;
}

#previewServices{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.service-item {
    background:var(--theme-color);
    padding:10px;
    border-radius:10px;
    margin-bottom:10px;
    text-align:left;
    position:relative;
}


.service-thumb {
    width:100%;
    max-height:120px;
    object-fit:cover;
    border-radius:8px;
    margin-bottom:6px;
}

.service-image {
    width:100%;
    height: 100px;
    object-fit: cover;
    border-radius:8px;
    margin-bottom:8px;
}

.service-card {
    background:#f8fafc;
    border-radius:10px;
}



.preview-cover {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.xsmall {
    font-size: 12px;
    padding: 8px;
}

.preview-card.template4 .preview-avatar {
    display: none !important;
    height: 0px !important;
    width: 0px !important;
}


/* ================= TEMPLATE 2 - CORPORATE STRUCTURED ================= */

.preview-card.template2 {
    --background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* Keep cover */
.preview-card.template2 .preview-cover {
    height: 220px;
    background: linear-gradient(135deg, var(--theme-color), #111827);
    background-size: cover;
}

/* Square avatar but keep position */
.preview-card.template2 .preview-avatar {
    border-radius: 10px;
    width: 110px;
    height: 110px;
    margin: -55px auto 15px auto;
    border: 5px solid white;
}

/* Structured content */
.preview-card.template2 .preview-body {
    padding: 30px;
    text-align: center;
}

/* Contact as rectangular pills */
.preview-card.template2 .contact-btn {
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 500;
}

/* Social row separated */
.preview-card.template2 .social-icons {
    margin-top: 15px;
}

/* Services styled like business list */
.preview-card.template2 .service-item {
    background:var(--theme-color);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
}

/* Service image rectangular */
.preview-card.template2 .service-image {
    border-radius: 6px;
}



/* ================= TEMPLATE 3 - CREATIVE CURVED ================= */

.preview-card.template3 {
    --background-color: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
}

/* Curved cover */
.preview-card.template3 .preview-cover {
    height: 160px;
    background: linear-gradient(135deg, var(--theme-color), #9333ea);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    background-size: cover;
}

/* Larger avatar */
.preview-card.template3 .preview-avatar {
    width: 120px;
    height: 120px;
    margin: -60px auto 15px auto;
    border: 6px solid white;
}

/* Center text */
.preview-card.template3 .preview-body {
    padding: 25px;
    text-align: center;
}

/* Contact stacked vertically */
.preview-card.template3 .preview-actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

/* Rounded contact pills */
.preview-card.template3 .contact-btn {
    border-radius: 50px;
    padding: 10px 20px;
}

/* Social icons bigger */
.preview-card.template3 .social-icons a {
    width: 40px;
    height: 40px;
}

/* Service card elevated */
.preview-card.template3 .service-item {
    background:var(--theme-color);
    border-radius: 18px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Service image rounded */
.preview-card.template3 .service-image {
    border-radius: 14px;
}


/* Minimal Apple Style */

.preview-card.template4 {
    --background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.preview-card.template4 .preview-cover {
    height: 210px;
}



.preview-card.template4 .service-item {
    background:var(--theme-color);
    border-radius: 20px;
}


/* Black Luxury */
/* TEMPLATE 7 — SIDE AVATAR LAYOUT */

.preview-card.template5 {
    position: relative;
}

.preview-card.template5 .preview-cover {
    height: 210px;
}

.preview-card.template5 .preview-avatar {
    position: absolute;
    left: 25px;
    top:228px;
    width: 110px;
    height: 110px;
    border-radius: 20px;
    border: 5px solid white;
}

.preview-card.template5 .preview-body {
    padding: 30px;
    padding-top: 80px;
    text-align: left;
}

.preview-card.template5 h3 {
    margin-left: 130px;
    position: absolute;
    top: 233px;
    font-weight: 600;
    font-size: 25px;
}


/* Card with Left Accent Stripe */


.preview-card.template6 {
    --background-color: white;
    border-radius: 15px;
    border-left: 10px solid var(--theme-color);
}

.preview-card.template6 .preview-avatar {
    border-radius: 15px;
}

.preview-card.template6 .service-item {
    border-left: 4px solid var(--theme-color);
}


/* Soft ui  */

/* TEMPLATE 7 — SOFT ORGANIC */

.preview-card.template7 {
    position: relative;
    --background-color: #ffffff;
    border-radius: 40px;
    overflow: hidden;
}

/* SVG blob background */
.preview-card.template7::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -120px;
    right: -120px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path fill='%23e0f2fe' d='M40,-60C55,-50,70,-40,75,-25C80,-10,75,10,65,30C55,50,40,70,20,75C0,80,-20,70,-40,60C-60,50,-80,40,-85,20C-90,0,-80,-30,-60,-45C-40,-60,-20,-60,0,-60C20,-60,25,-60,40,-60Z'/></svg>") no-repeat center;
    background-size: cover;
    opacity: 0.6;
}

.preview-card.template7 .preview-avatar {
    border-radius: 30px;
}

.preview-card.template7 .service-item {
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}


/* Gradient Feel */
/* 
.preview-card.template8 {
    background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
    color: white;
    border-radius: 25px;
}

.preview-card.template8 .service-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
} */


/* TEMPLATE 8 — HERO SPLIT */

.preview-card.template8 {
    
    border-radius: 25px;
    overflow: hidden;
}

.preview-card.template8 .preview-cover {
    height: 200px;
    background: linear-gradient(135deg,var(--theme-color),#9333ea);
}

.preview-card.template8 .preview-avatar {
    margin-top: -80px;
    width: 130px;
    height: 130px;
    border: 6px solid white;
}

.preview-card.template8 .preview-body {
    background: linear-gradient(135deg,#fff,#fff,var(--theme-color));
    padding: 30px;
}

.preview-card.template8 #previewServices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}




/* Border Outline Modern */



.preview-card.template9 {
    background: white;
    border-radius: 12px;
    border: 3px solid var(--theme-color);
}

.preview-card.template9 .service-item {
    border: 1px solid #e5e7eb;
}





/* Elevated Floating Sections */

.preview-card.template10 {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
}

.preview-card.template10 .preview-cover {
    border: 5px solid var(--theme-color);
    border-radius: 10px;
}

.preview-card.template10 h3 {
    font-size: 26px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.preview-card.template10 .preview-body {
    text-align: left;
}

.preview-card.template10 .service-item {
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background: transparent;
}


/* Magazine Layout */
/* TEMPLATE 13 — ORGANIC PASTEL */

.preview-card.template13 {
    background: #fdf2f8;
    border-radius: 30px;
    position: relative;
}

.preview-card.template13::after {
    content:"";
    position:absolute;
    bottom:-50px;
    left:-50px;
    width:200px;
    height:200px;
    background:url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'>\
    <path fill='%23fbcfe8' d='M40,-60C60,-50,80,-40,85,-20C90,0,80,20,70,40C60,60,40,80,20,85C0,90,-20,80,-40,70C-60,60,-80,40,-85,20C-90,0,-80,-20,-60,-35C-40,-50,-20,-60,0,-65C20,-70,30,-65,40,-60Z'/>\
    </svg>") no-repeat center;
    background-size: cover;
    opacity: 0.6;
}

.preview-card.template13 .service-item {
    border-radius: 20px;
}


/* Neon Tech */

.preview-card.template12 {
    border-radius: 20px;
    box-shadow: inset 19px -20px 25px var(--theme-color);
}

.preview-card.template12 .service-item {
    border: 1px solid var(--theme-color);
    background: transparent;
}

.preview-card.template12 .contact-btn {
    border: 1px solid var(--theme-color);
    background: transparent;
}

.preview-card.template12 .preview-avatar {
    box-shadow: 0 0 20px var(--theme-color);
}


/* ================= TEMPLATE 14 — WAVE MOBILE ================= */

.preview-card.template14 {
    background: var(--background-color);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    position: relative;
}

/* Large cover */
.preview-card.template14 .preview-cover {
    height: 240px;
    position: relative;
}

/* SVG Wave Divider */



.preview-card.template14 .preview-cover::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;

    background: var(--background-color);

    -webkit-mask: url("data:image/svg+xml;utf8,\
<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'>\
<path d='M0,160L80,144C160,128,320,96,480,112C640,128,800,192,960,202.7C1120,213,1280,171,1360,149.3L1440,128L1440,320L0,320Z'></path>\
</svg>") no-repeat bottom;

    mask: url("data:image/svg+xml;utf8,\
<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'>\
<path d='M0,160L80,144C160,128,320,96,480,112C640,128,800,192,960,202.7C1120,213,1280,171,1360,149.3L1440,128L1440,320L0,320Z'></path>\
</svg>") no-repeat bottom;

    -webkit-mask-size: cover;
    mask-size: cover;
}

/* Avatar floating */
.preview-card.template14 .preview-avatar {
    position: absolute;
    top: 260px;
    left: 25%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 30px;
    border: 6px solid white;
    box-shadow: 0 15px 30px rgb(159 159 159 / 20%);
}


/* Content */
.preview-card.template14 .preview-body {
    padding: 100px 25px 30px 25px;
    text-align: center;
}

/* Name styling */
.preview-card.template14 h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    position: absolute;
    top: 235px;
    left: 165px;
}


.preview-card.template14 #previewDesignation_company {
    position: absolute;
    top: 270px;
    left: 165px;
    width: 50%;
    text-align: left;
}

.preview-card.template14 #previewServicesTitle,
.preview-card.template14 .text-muted{
    font-weight: 600;
}


/* Subtitle */
.preview-card.template14 p {
    font-size: 14px;
}

/* Contact layout vertical icons */
.preview-card.template14 .preview-actions {
    gap: 12px;
    margin-top: 20px;
    width: 85% !important;
}




.preview-card.template14 .contact-btn {
    border-radius: 50px;
    padding: 12px 18px;
    font-size: 14px;
}

/* Social icons bottom row */
.preview-card.template14 .social-icons {
    margin-top: 20px;
    justify-content: center;
}

/* Services styled as soft cards */
.preview-card.template14 .service-item {
    background:var(--theme-color);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}




/* background theme  */

.preview-card.template15 .preview-background{
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.preview-card.template15 .preview-cover{
    display: none !important;
}


.preview-card.template15 .preview-avatar{
    position: relative;
    top: 140px;
}


.preview-card.template15 .background_image{
    display: block !important;
}


.preview-card.template15 .preview-avatar {
    width: 110px;
    height: 110px;
}

.preview-card.template15 .preview-body{
    position: absolute;
    top: 210px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.preview-card.template15 .preview-actions {
    width: 85% !important;
    flex-direction: column;
    align-items: unset !important;
    text-align: left;

}


.preview-card.template15 #previewName{
    font-weight: 600;
}


.preview-card.template15 .service-item {
    background: var(--theme-color);
    margin-bottom: 20px;
}




.sendForm{
    background: var(--dom-primary-color);
}

.qr-popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

#qrCode{
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-card{
    background:white;
    padding:30px;
    border-radius:12px;
    text-align:center;
    width:300px;
}

.qr-buttons button{
    width:100%;
    margin-top:10px;
}

.btn-primaryM{
    background-color: var(--dom-primary-color);
}

.btn-successM{
    background-color: var(--dom-sec-color);
}

#previewServicesTitle{
    font-weight: 800;
    font-size: 18px;
    background:var(--background-color);
}


.ui-btns{
    position: absolute;
    transform: rotate(270deg);
    right: -20%;
    top: 70vh;
}

.shareCardBtn,
.contactForm{
    font-size: 12px;
    font-weight: 600;
}

.card-views{
    display: flex;
    background: var(--theme-color);
    border: 1px solid var(--dom-primary-color);
    width: fit-content;
    padding: 2px 15px;
    font-weight: 600;
    border-radius: 15px;
    font-size: 13px;
    position: absolute;
    left: -9%;
    top: 180px;
    transform: rotate(270deg);
}