@import url(theme-root.css);

.zakat-banner {
    width: 100%;
    height: 512px;
    background: url(../images/AusRelief-zakat-1400px-512px.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.zakat-banner-title {
    position: absolute;
    bottom: 50px;
    font-size: 88px;
    font-weight: 500;
    line-height: 105.6px;
    color: var(--off-text);
}

.zakat-banner-description {
    padding: 41px 47px 45px 47px;
    background-color: var(--primary-text);
    color: var(--off-text);
    width: 500px;
    font-size: 24px;
    font-weight: 400;
    line-height: 28.8px;
    text-transform: capitalize;
    position: absolute;
    right: 0px;
    bottom: 0px;
    border-radius: 36px 0px 0px 0px;
}

.zakat-calculator {
    padding: 80px 0px;
}

.calculator-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    color: var(--primary-text);
}

.zakat-calculator-main-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 54px;
    color: var(--primary-text);
    margin: 30px 0px;
}

.zakat-logo-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    width: 740px;
}

/* Process Styles */
.process-steps {
    margin-bottom: 40px;
}

.process-wrap {
    width: 30%;
    margin: 0px auto;
}

.process-main {
    width: 100%;
    min-width: 320px;
    display: flex;
}

.col-3 {
    width: 50%;
    position: relative;
}

.col-3:first-child .process-step:before {
    content: '1';
    font-size: 36px;
    font-weight: 500;
    line-height: 36px;
    color: var(--off-text);
}

.col-3:last-child .process-step:before {
    content: '2';
    font-size: 36px;
    font-weight: 500;
    line-height: 36px;
    color: var(--primary-text);
}

.process-main .col-3:not(:first-child):before {
    content: "";
    display: block;
    position: absolute;
    width: 82%;
    height: 10px;
    top: 30px;
    left: calc(-50% + 20px);
    right: 0;
    background: #ebebeb;
    border: 2px #ebebeb solid;
    -o-transition: .4s;
    -ms-transition: .4s;
    -moz-transition: .4s;
    -webkit-transition: .4s;
    transition: .4s;
}

.process-step-cont {
    font-family: sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: space-between;
}

.process-step {
    border-radius: 100%;
    line-height: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
    align-self: center;
    display: flex;
    color: #fff;
    width: 68px;
    height: 68px;
    font-weight: 700;
    margin-bottom: 7px;
    z-index: 4;
    cursor: pointer;
    border: 2px solid var(--primary-bg);
}

.process-label {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    color: var(--light-secondary);
    margin-top: 10px;
}

.process-dots {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ebebeb;
    cursor: pointer;
}

.process-dot-cont {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    width: 60%;
    padding-top: 5px;
}

.active-step1 .col-3:first-child .process-step,
.active-step1 .col-3:first-child .process-dots:first-child,
.active-step1-mini2 .col-3:first-child .process-step,
.active-step1-mini2 .col-3:first-child .process-dots:nth-child(-n+2),
.active-step1-mini3 .col-3:first-child .process-step,
.active-step1-mini3 .col-3:first-child .process-dots:nth-child(-n+3),
.active-step1-mini4 .col-3:first-child .process-step,
.active-step1-mini4 .col-3:first-child .process-dots:nth-child(-n+4) {
    background-color: var(--primary-bg);
}

.active-step1-mini2 .col-3:first-child .process-dots:first-child,
.active-step1-mini3 .col-3:first-child .process-dots:nth-child(-n+2),
.active-step1-mini4 .col-3:first-child .process-dots:nth-child(-n+3) {
    background-color: var(--primary-bg);
}

.active-step1 .col-3:first-child .process-label,
.active-step1-mini3 .col-3:first-child .process-label,
.active-step1-mini2 .col-3:first-child .process-label,
.active-step1-mini4 .col-3:first-child .process-label {
    color: var(--primary-text);
}

.active-step2 .col-3:first-child,
.active-step3 .col-3:nth-child(-n+2),
.active-step4 .col-3:nth-child(-n+3) {
    opacity: 1;
}

.active-step2 .col-3:first-child .process-step:before,
.active-step3 .col-3:nth-child(-n+2) .process-step:before,
.active-step4 .col-3:nth-child(-n+3) .process-step:before {
    content: '\2713';
    padding: 7px;
}

.active-step2 .col-3:last-child .process-step:before,
.active-step3 .col-3:nth-child(-n+2) .process-step:before,
.active-step4 .col-3:nth-child(-n+3) .process-step:before {
    color: #fff;
}

.active-step2 .col-3:nth-child(-n+2) .process-step,
.active-step2 .col-3:nth-child(-n+2) .process-dots,
.active-step3 .col-3:nth-child(-n+3) .process-step,
.active-step3 .col-3:nth-child(-n+3) .process-dots {
    background-color: var(--primary-bg);
    color: var(--off-text) !important;
}

.active-step2 .col-3:nth-child(-n+2) .process-label,
.active-step3 .col-3:nth-child(-n+3) .process-label,
.active-step4 .col-3:nth-child(-n+4) .process-label {
    color: var(--primary-text);
}

.active-step2 .col-3:nth-child(-n+2):before,
.active-step3 .col-3:nth-child(-n+3):before,
.active-step4 .col-3:nth-child(-n+4):before {
    background: var(--primary-bg) !important;
}
.calculator{
    width: 846px;
    margin: auto;
    margin-bottom: 80px;
}
.calculator-box-title{
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 54px;
}
.calculator-process-box{
    width: 100%;
    padding: 50px;
    background-color: var(--Background-Light-Grey);
}
.nisab-calculation{
    font-size: 24px;
    font-weight: 500;
    line-height: 33.6px;
}
.zakat-donation-btn{
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    line-height: 25.2px;
    color: var(--light-secondary);
    padding: 18px 20px 18px 50px;
    border-radius: 12px;
    background-color: var(--off-text);
    cursor: pointer;
    border: 2px solid var(--Background-Grey);
    position: relative;
}
.zakat-donation-radio{
    position: absolute;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
}
.zakat-donation-radio:checked + .zakat-donation-btn {
    color: var(--primary-text);
}
.zakat-donation-btn svg{
    margin-right: 10px;
}
.zakat-donation-btn::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z' stroke='%2398A2B3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.75 12L10.58 14.83L16.25 9.16998' stroke='%2398A2B3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    margin-right: 10px;
    position: absolute;
    left: 15px;
    top: 16.5px;
}
.zakat-donation-radio:checked + .zakat-donation-btn::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M17.3103 10.2303L17.3104 10.2304L17.3192 10.2213C17.8854 9.63559 17.8981 8.69743 17.3103 8.10967C16.7274 7.52678 15.7726 7.52678 15.1897 8.10967L10.58 12.7193L8.81033 10.9497C8.22744 10.3668 7.27256 10.3668 6.68967 10.9497C6.10678 11.5326 6.10678 12.4874 6.68967 13.0703L9.51967 15.9003C9.79872 16.1794 10.1788 16.34 10.58 16.34C10.9812 16.34 11.3613 16.1794 11.6403 15.9003L17.3103 10.2303ZM2.75 12C2.75 6.90421 6.90421 2.75 12 2.75C17.0958 2.75 21.25 6.90421 21.25 12C21.25 17.0958 17.0958 21.25 12 21.25C6.90421 21.25 2.75 17.0958 2.75 12Z' fill='%23275A91' stroke='%23275A91' stroke-width='1.5'/%3E%3C/svg%3E");
    margin-right: 10px;
}
.nisab-value, .gold-price, .silver-price{
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
}
.asset-field-input{
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid var(--Background-Grey);
    background-color: var(--off-bg);
    font-size: 18px;
    font-weight: 400;
    line-height: 25.2px;
}
.asset-field-input:focus-visible{
    outline: none;
}
.asset-field-input::placeholder{
    color: var(--light-secondary);
}
.add-another-field{
    border: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
}
.add-another-field::before{
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5Z' stroke='black' stroke-width='1.125' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 9H12' stroke='black' stroke-width='1.125' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 12V6' stroke='black' stroke-width='1.125' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    margin-right: 10px;
}
.styled-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid var(--Background-Grey);
    background-color: var(--off-bg);
    font-size: 18px;
    font-weight: 400;
    line-height: 25.2px;
    margin-bottom: 8px;
}
.styled-input::placeholder{
    color: var(--light-secondary);
}
.styled-input:focus-visible{
    outline: none;
}
.asset-total, .liability-total, .zakat-payable{
    font-size: 18px;
    font-weight: 500;
    line-height: 25.2px;
}
.zakat-due{
    font-size: 24px;
    font-weight: 500;
    line-height: 25.2px;
}
.zakat-bottom-section{
    padding: 30px 20px 42px 20px;
    background-color: var(--prominent-dark-text);
}
.zakat-donation-box{
    width: 648px;
    margin: auto;
}
.zakat-donaton-title{
    font-size: 24px;
    font-weight: 400;
    line-height: 33.6px;
    color: var(--off-text);
}
.zakat-donation-price{
    width: 20%;
}
.zakat-donation-price input{
    padding: 16px 22px 16px 22px;
    border-radius: 12px;
    border: 1px solid var(--Background-Grey);
    width: 100%;
    text-align: center;
}
.zakat-category-select {
    position: relative;
}
.zakat-category-select select {
    display: none;
}
.zakat-add-cart button{
    padding: 18px 30px;
    border-radius: 50px;
    background-color: var(--prominent-bg);
    color: var(--Primary-Navy);
    font-size: 18px;
    font-weight: 400;
    line-height: 25.2px;
    border: none;
}
.zakat-add-cart button:hover{
    background-color: var(--primary-bg);
    color: var(--prominent-text);
}
.asset-liability-total{
    border-top: 1px solid var(--light-secondary);
    border-bottom: 1px solid var(--light-secondary);
    padding: 15px 0px;
}
@media screen and (max-width: 1440px) {
    .process-main .col-3:not(:first-child):before {
        width: 75%;
    }
}
@media screen and (max-width: 768px) {
    .calculator {
        width: 720px;
    }
    .zakat-banner-description {
        width: 455px;
    }
    .zakat-calculator-main-title {
        font-size: 35px;
        line-height: 40px;
    }
    .process-wrap {
        width: 60%;
    }
    .process-main .col-3:not(:first-child):before{
        width: 77%;
    }
    .nisab-gold-silver{
        width: 100%;
    }
    .empty-div{
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .zakat-bottom-section{
        display: none;
    }
    .calculator {
        width: 330px;
    }
    .zakat-banner {
        height: 375px;
    }
    .zakat-banner-title {
        font-size: 48px;
        font-weight: 500;
        line-height: 57.6px;
        bottom: 100px;
        left: 25px;
    }
    .zakat-banner-description {
        font-size: 16px;
        font-weight: 500;
        line-height: 19.2px;
        padding: 26px 35px 19px 41px;
        width: 350px;
    }
    .zakat-calculator {
        padding: 40px 10px;
    }
    .calculator-title {
        font-size: 14px;
        font-weight: 500;
        line-height: 16.8px;
    }
    .zakat-calculator-main-title {
        font-size: 20px;
        font-weight: 500;
        line-height: 24px; 
        margin: 20px 0px !important;
    }
    .logo_text{
        display: block !important;
    }
    .zakat-logo-text{
        margin: 0px !important;
        width: 100%;
        font-size: 14px;
        font-weight: 500;
        line-height: 16.8px;
    }
    .process-wrap {
        width: 100%;
    }
    .process-step {
        width: 52px;
        height: 52px;
    }
    .process-main .col-3:not(:first-child):before {
        top: 23px;
        width: 74%;
    }
    .process-label {
        font-size: 12px;
        font-weight: 500;
        line-height: 14.4px;
    }
    .col-3 {
        width: 45%;
    }
    .calculator-box-title {
        font-size: 24px;
        font-weight: 500;
        line-height: 28.8px;
    }
    .calculator-process-box {
        padding: 30px 19px 38px 20px;
    }
    .nisab-calculation {
        font-size: 20px;
        font-weight: 500;
        line-height: 24px;
    }
    .nisab-gold-silver{
        display: block !important;
    }
    .gold-silver-price{
        margin: 0px !important;
        margin-top: 10px !important;
    }
    .asset-total, .liability-total, .zakat-payable{
        font-size: 16px;
        font-weight: 500;
        line-height: 19.2px;
    }
    .zakat-due{
        font-size: 20px;
        font-weight: 500;
        line-height: 24px;
    }
}