  /* Load Vazirmatn Font */
        @import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

        .wpac-wrapper {
            direction: rtl;
            font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            box-sizing: border-box;
            width: 100%;
            margin: 60px auto;
            display: flex;
            flex-wrap: wrap;
            gap: 0;
            background: #ffffff;
            border-radius: 24px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            border: 1px solid #f3f4f6;
            transition: all 0.3s ease;
        }

        .wpac-wrapper * { box-sizing: border-box; }

        /* Left Sidebar (Input) */
        .wpac-input-section {
            flex: 1;
            min-width: 250px;
            background: #f9fafb;
            padding: 50px 40px;
            border-left: 1px solid #f3f4f6;

        }

        /* Right Content (Result) */
        .wpac-result-section {
            flex: 2;
            min-width: 350px;
            padding: 50px 40px;
            background: #ffffff;
            position: relative;
        }

        .wpac-heading { 
            margin: 0 0 15px 0; 
            font-size: 1.4rem; 
            color: #111827; 
            font-weight: 800; 
            letter-spacing: -0.5px;
        }

        .wpac-group label { 
            display: block; 
            font-size: 0.9rem; 
            color: #4b5563; 
            margin-bottom: 8px; 
            font-weight: 500; 
        }

        .wpac-select-wrap { position: relative; }
        
        .wpac-select-wrap select, .wpac-input { 
            appearance: none; 
            -webkit-appearance: none; 
            width: 100%; 
            padding: 14px 16px; 
            border: 1px solid #e5e7eb; 
            border-radius: 14px; 
            background: #ffffff; 
            font-size: 1rem; 
            color: #1f2937; 
            font-family: inherit; 
            transition: all 0.2s ease;
            box-shadow: 0 1px 2px rgba(0,0,0,0.02);
        }

        .wpac-select-wrap select:focus, .wpac-input:focus {
            outline: none;
            border-color: #6366f1;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

        .wpac-chevron { 
            position: absolute; 
            left: 16px; 
            top: 50%; 
            transform: translateY(-50%); 
            font-size: 0.7rem; 
            color: #9ca3af; 
            pointer-events: none; 
        }

        .wpac-date-row { display: flex; gap: 12px; }
        .wpac-col-day { flex: 0.8; }
        .wpac-col-month { flex: 1.2; }
        .wpac-col-year { flex: 1; }

        #wpac-calc-btn {
            margin-top: auto;
            background: #111827;
            color: #fff;
            border: none;
            padding: 18px;
            border-radius: 16px;
            font-size: 1.05rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            width: 100%;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        #wpac-calc-btn:hover { 
            background: #000; 
            transform: translateY(-2px); 
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .wpac-placeholder { 
            height: 100%; 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            justify-content: center; 
            color: #9ca3af; 
            text-align: center; 
            gap: 20px; 
            min-height: 450px; 
        }
        
        .wpac-placeholder svg { stroke: #e5e7eb; }
        .wpac-placeholder p { font-size: 1.1rem; color: #6b7280; }

        .wpac-fade-in { animation: wpacFade 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
        @keyframes wpacFade { from { opacity: 0; transform: translateY(20px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }

        /* Minimal Result Styles */
        .wpac-age-card { 
            text-align: center; 
            margin-bottom: 40px; 
            padding: 20px;
        }

        .wpac-age-header { 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            gap: 10px; 
            margin-bottom: 20px; 
        }
        
        .wpac-age-header .wpac-label {
            font-size: 1rem;
            color: #6b7280;
            font-weight: 500;
        }

        .wpac-age-values { 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            gap: 30px; 
        }

        .wpac-unit .num { 
            font-size: 3.5rem; 
            font-weight: 800; 
            color: #111827; 
            line-height: 1; 
            letter-spacing: -2px;
        }

        .wpac-unit .txt { 
            font-size: 1rem; 
            color: #9ca3af; 
            margin-top: 8px; 
            font-weight: 500;
        }

        .wpac-divider { 
            width: 2px; 
            height: 50px; 
            background: #f3f4f6; 
            transform: rotate(15deg); 
            border-radius: 2px;
        }

        /* Stats Grid - Minimal Cards */
        .wpac-stats-grid { 
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: space-evenly;
        }

        .wpac-stat-card { 
                width: 22%;
    background: #fff;
    border: 1px solid #f3f4f6;
    padding: 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
    flex-direction: column;
        }
        
        .wpac-stat-card:hover {
            border-color: #e5e7eb;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03);
            transform: translateY(-2px);
        }

        .wpac-stat-icon { 
            width: 48px; 
            height: 48px; 
            border-radius: 14px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            flex-shrink: 0; 
            font-size: 1.2rem;
        }

        .wpac-stat-info { display: flex; flex-direction: column; }
        .wpac-stat-label { font-size: 0.8rem; color: #9ca3af; font-weight: 500; margin-bottom: 4px; }
        .wpac-stat-val { font-size: 1rem; color: #374151; font-weight: 700; }

        /* Progress Bar */
        .wpac-progress-container {
            background: #f3f4f6;
            border-radius: 10px;
            height: 8px;
            width: 100%;
            margin-top: 8px;
            overflow: hidden;
        }
        .wpac-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #6366f1, #a855f7);
            border-radius: 10px;
            transition: width 1s ease-out;
        }

        /* Details */
        .wpac-detail-row { 
            display: flex; 
            gap: 30px; 
            margin-bottom: 30px; 
        }

        .wpac-detail-col { 
            flex: 1; 
            background: #f9fafb;
            padding: 18px;
            border-radius: 20px;
            border: 1px solid #f3f4f6;
        }
        
        .wpac-detail-col h4 { 
            margin: 0 0 15px 0; 
            font-size: 0.95rem; 
            color: #374151; 
            font-weight: 700; 
            display: flex;
            align-items: center;
            gap: 8px;
                justify-content: center;
        }
               .wpac-detail-col ul { 
padding-left: 0 !important;
    padding-right: 0 !important;
        }
        
        
        .wpac-detail-col ul { list-style: none; padding: 0; margin: 0; }
        .wpac-detail-col li { 
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e5e7eb;
    flex-direction: column;
        }
        .wpac-detail-col li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
        .wpac-detail-col li b { color: #111827; font-weight: 600; }

        /* Personality & Quote */
        .wpac-box { 
            margin-bottom: 20px; 
            background: #fff;
            border: 1px solid #f3f4f6;
            padding: 25px;
            border-radius: 20px;
        }
        .wpac-box h4 { margin: 0 0 10px 0; font-size: 1.1rem; color: #111827; font-weight: 700; }
        .wpac-box p { margin: 0; font-size: 0.95rem; color: #4b5563; line-height: 1.8; text-align: justify; }

        .wpac-quote { 
            position: relative; 
            padding: 30px; 
            background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); 
            border-radius: 20px; 
            text-align: center;
        }
        .wpac-quote-icon { 
            color: #8b5cf6; 
            margin-bottom: 10px; 
            display: inline-block;
        }
        .wpac-quote p { margin: 0; font-style: italic; font-size: 1rem; color: #5b21b6; font-weight: 500; line-height: 1.6; }
        
        .wpac-alert { 
            padding: 16px; 
            border-radius: 12px; 
            font-size: 0.9rem; 
            margin-bottom: 15px; 
            background: #fee2e2; 
            color: #b91c1c; 
            border: 1px solid #fecaca; 
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        /* Icon Colors & Backgrounds */
        .bg-purple { background: #f3e8ff; color: #9333ea; }
        .bg-blue { background: #e0f2fe; color: #0284c7; }
        .bg-pink { background: #fce7f3; color: #db2777; }
        .bg-orange { background: #ffedd5; color: #ea580c; }
        .bg-teal { background: #ccfbf1; color: #0d9488; }
        .bg-indigo { background: #e0e7ff; color: #4f46e5; }
        .bg-green { background: #dcfce7; color: #16a34a; }

        @media (max-width: 850px) {
            .wpac-wrapper { flex-direction: column; margin: 20px auto; width: auto; }
            .wpac-input-section { border-left: none; border-bottom: 1px solid #f3f4f6; padding: 30px; }
            .wpac-result-section { padding: 30px; }
            .wpac-detail-row { flex-direction: column; gap: 20px; }
            .wpac-age-values { gap: 15px; }
            .wpac-unit .num { font-size: 2.5rem; }
        }