.elementor-601 .elementor-element.elementor-element-ff09fdf{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:16px;--padding-right:16px;}.elementor-601 .elementor-element.elementor-element-ff09fdf:not(.elementor-motion-effects-element-type-background), .elementor-601 .elementor-element.elementor-element-ff09fdf > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-ebf6c25 );}.elementor-601 .elementor-element.elementor-element-2fa3f78{--display:flex;--min-height:500px;--border-radius:8px 8px 8px 8px;box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.05);}.elementor-601 .elementor-element.elementor-element-2fa3f78:not(.elementor-motion-effects-element-type-background), .elementor-601 .elementor-element.elementor-element-2fa3f78 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-601 .elementor-element.elementor-element-f868e71{text-align:center;}.elementor-601 .elementor-element.elementor-element-e36d873{width:100%;max-width:100%;}.elementor-601 .elementor-element.elementor-element-e36d873.elementor-element{--align-self:center;}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-601 .elementor-element.elementor-element-e36d873{width:100%;max-width:100%;}.elementor-601 .elementor-element.elementor-element-e36d873.elementor-element{--align-self:center;}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-601 .elementor-element.elementor-element-e36d873{width:100%;max-width:100%;}}/* Start custom CSS for html, class: .elementor-element-e36d873 */.age-container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.age-container .row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.age-container label {
    font-size: 14px;
    font-weight: 600;
    color: #3F3B47;
}

.age-container input,
.age-container select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid #E4E1EC;
    font-size: 15px;
    font-family: inherit;
    color: #24202B;
    background: #FBFAFE;
    transition: border-color .15s ease, box-shadow .15s ease;
    outline: none;
}

.age-container input:focus,
.age-container select:focus {
    border-color: #6D28D9;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
    background: #fff;
}

.age-container .fields-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 12px;
}

#calculate {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, #6D28D9, #8B5CF6);
    box-shadow: 0 8px 20px -6px rgba(109, 40, 217, 0.55);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
    margin-top: 4px;
}

#calculate:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px rgba(109, 40, 217, 0.6);
}

#calculate:active {
    transform: translateY(0);
}

#calculate:focus {
    outline: none;
}

.age-container .error-msg {
    color: #DC2626;
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    margin-top: 10px;
    display: none;
}

#result-container {
    max-width: 520px;
    margin: 18px auto 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
}

.result-card {
    background: linear-gradient(160deg, #6D28D9 0%, #7C3AED 55%, #8B5CF6 100%);
    border-radius: 20px;
    padding: 30px 26px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px -14px rgba(109, 40, 217, 0.55);
    animation: resultFadeIn .35s ease;
}

.result-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% -10%, rgba(255, 255, 255, 0.18), transparent 55%),
        radial-gradient(circle at -10% 110%, rgba(255, 255, 255, 0.12), transparent 50%);
    pointer-events: none;
}

@keyframes resultFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card .main-age {
    position: relative;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.result-card .main-age span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    opacity: .8;
    margin-bottom: 4px;
}

.result-card .stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.result-card .stat-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 12px 14px;
    backdrop-filter: blur(2px);
}

.result-card .stat-box .stat-label {
    font-size: 12px;
    opacity: .75;
    margin-bottom: 4px;
}

.result-card .stat-box .stat-value {
    font-size: 15.5px;
    font-weight: 700;
}

.result-card .dates-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 14px 16px;
}

.result-card .dates-list .date-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.result-card .dates-list .date-row .label {
    opacity: .75;
}

.result-card .dates-list .date-row .value {
    font-weight: 700;
}

@media (max-width: 480px) {
    .age-container .fields-grid {
        grid-template-columns: 1fr;
    }

    .result-card .main-age {
        font-size: 21px;
    }
}/* End custom CSS */