.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);
    max-width: 750px;
    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);
    letter-spacing: 0.5px;
}

.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;
    line-height: 1.5;
}

/* Progress Bar Styling */
.progress-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.progress-label-wrap {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 4px;
    transition: width 0.2s linear;
}

.wn-stacked-box-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.writenepali-section-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    transition: all 0.2s ease;
}

.writenepali-section-box:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.section-title-tag {
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.dow-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.full-width-span {
    grid-column: span 2;
}

.input-group label {
    display: block;
    font-size: 12px;
    color: #475569;
    font-weight: 700;
    margin-bottom: 6px;
}

.writenepali-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.writenepali-input:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
    background: #fff;
}

.writenepali-vibrant-btn {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
    transition: all 0.2s ease;
}

.writenepali-vibrant-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
}

.output-section-wrapper {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1.5px solid #bae6fd;
}

.output-tag {
    color: #0369a1;
}

.conversion-result-display {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-main-box {
    background: #ffffff;
    border: 1.5px solid #7dd3fc;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.05);
}

.box-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #0369a1;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.box-main-value {
    font-size: 18px;
    font-weight: 800;
}

.result-boxes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.result-sub-box {
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.sub-box-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.sub-box-val {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
}

.writenepali-status-box {
    margin-top: 16px;
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
}

@media (max-width: 600px) {
    .dow-inputs-grid, .result-boxes-grid {
        grid-template-columns: 1fr;
    }
    .full-width-span {
        grid-column: span 1;
    }
}