/* Rectangular Bordered Box SaaS UI Styles */
.writenepali-converter-wrapper {
    max-width: 650px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.writenepali-converter-wrapper * {
    box-sizing: border-box;
}

.writenepali-converter-card {
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.writenepali-header {
    text-align: center;
    margin-bottom: 28px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.writenepali-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: #fff;
    border-radius: 6px;
    margin-bottom: 12px;
}

.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 {
    margin-bottom: 20px;
}

.writenepali-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.writenepali-input-box {
    width: 100%;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    outline: none;
}

.writenepali-input-box:focus {
    border-color: #8b5cf6;
    background: #ffffff;
}

.writenepali-result-card {
    background: #fdf4ff;
    border: 1px solid #f0abfc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.writenepali-result-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #701a75;
    margin: 0 0 6px 0;
}

.writenepali-result-card p {
    font-size: 14px;
    font-weight: 600;
    color: #8b5cf6;
    margin: 0 0 14px 0;
}

.writenepali-sub-action-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.writenepali-sub-action-btn:hover {
    background: #e2e8f0;
}

.writenepali-progress-container {
    margin-bottom: 20px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 16px;
}

.writenepali-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.writenepali-progress-bar-bg {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.writenepali-progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    transition: width 0.25s linear;
    border-radius: 5px;
}

.writenepali-convert-btn-vibrant {
    width: 100%;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(139, 92, 246, 0.35);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.writenepali-convert-btn-vibrant:hover:not(:disabled) {
    opacity: 0.95;
    transform: translateY(-1px);
}

.writenepali-convert-btn-vibrant:disabled {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.writenepali-reset-btn {
    width: 100%;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #94a3b8;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.writenepali-reset-btn:hover {
    background: #e2e8f0;
}

.writenepali-status-box {
    margin-top: 16px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #8b5cf6;
}