.writenepali-converter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.writenepali-converter-card * {
    box-sizing: border-box;
}

.writenepali-header {
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.writenepali-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    border-radius: 30px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.writenepali-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.writenepali-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.writenepali-section-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
}

.section-title-tag {
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.design-tab-btn {
    flex: 1;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.design-tab-btn.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

/* Templates Styling */
.bharpai-template {
    display: none;
    width: 600px;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: #0f172a;
}

.bharpai-template.active-template {
    display: block;
}

.design-style-1 {
    border: 2px dashed #0284c7;
}

.d1-header {
    text-align: center;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.d1-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.d1-header p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #64748b;
}

.d1-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 15px;
}

.d1-body {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.d1-footer {
    display: flex;
    justify-content: flex-end;
}

.d1-sig-box {
    text-align: center;
    width: 180px;
}

.writenepali-vibrant-btn {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.writenepali-secondary-btn {
    border: none;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
}