:root{
    --fzc-primary:#114a35;
    --fzc-secondary:#246b51;
    --fzc-gold:#d7a947;
    --fzc-bg:#fcfaf8;
    --fzc-border:#eae7e1;
    --fzc-text:#114a35;
    --fzc-muted:#63746e;
    --fzc-radius:24px;
    --fzc-shadow:0 20px 50px rgba(0,0,0,.08);
    --fzc-transition:.25s ease;
    --fzc-dropdown-bg:#ffffff;
    --fzc-dropdown-hover:#F1EFEA;
    --fzc-dropdown-radius:16px;
}

/* Reset & Base */
*{
    box-sizing:border-box;
}

.fzc-container{
    display:grid;
    grid-template-columns:1.4fr 0.9fr;
    gap:40px;
    align-items:start;
    max-width:1280px;
    margin:60px auto;
    padding:0 20px;
    font-family:Inter,system-ui,sans-serif;
}

/* Cards */
.fzc-left-card{
    background:#fff;
    border:1px solid var(--fzc-border);
    border-radius:32px;
    padding:36px;
    box-shadow:var(--fzc-shadow);
}

.fzc-right-card{
    background:linear-gradient(135deg,#114a35,#246b51);
    border-radius:32px;
    padding:36px;
    position:sticky;
    top:30px;
    box-shadow:var(--fzc-shadow);
    color:#fff;
}

.fzc-left-card,
.fzc-right-card{
    overflow:hidden;
    transition:all .25s ease;
}

/* Header */
.fzc-card-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:32px;
}

.fzc-icon{
    width:48px;
    height:48px;
    border-radius:20px;
    background:linear-gradient(135deg,#114a35,#246b51);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.fzc-icon svg{
    width:20px;
    height:20px;
    stroke:#fff;
    fill:none;
    stroke-width:2;
    display:block;
}

.fzc-card-header h2{
    margin:0;
    font-size:24px;
    font-family:Poppins,sans-serif;
    font-weight:700;
    color:#114a35;
    line-height:1.2;
}

.fzc-card-header p{
    margin:2px 0 0;
    font-size:12px;
    line-height:1rem;
    color:#63746e;
    font-family:Inter,system-ui,sans-serif;
}

/* Top Options */
.fzc-top-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:28px;
}

.fzc-option{
    position:relative;
}

.fzc-option label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
    color:#114a35;
    font-family:Inter,system-ui,sans-serif;
}

/* ==========================================================
   CUSTOM DROPDOWN - Red to Green Design
   ========================================================== */

.fzc-custom-select {
    position: relative;
    width: 100%;
}

.fzc-custom-select-trigger {
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border: 2px solid #eae7e1;
    border-radius: 16px;
    background: #fcfaf8;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #114a35;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .25s ease;
    user-select: none;
    position: relative;
}

.fzc-custom-select-trigger:hover {
    border-color: #114a35;
}

.fzc-custom-select.open .fzc-custom-select-trigger {
    border-color: #114a35;
    box-shadow: 0 0 0 3px rgba(17, 74, 53, .10);
}

.fzc-custom-select-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.fzc-custom-select.open .fzc-custom-select-arrow {
    transform: rotate(180deg);
}

.fzc-custom-select-arrow svg {
    width: 12px;
    height: 8px;
    stroke: #114a35;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.fzc-custom-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all .25s ease;
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #eae7e1;
}

.fzc-custom-select.open .fzc-custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fzc-custom-select-option {
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #114a35;
    transition: all .15s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fzc-custom-select-option:hover {
    background: #F1EFEA;
    color: #145A3A;
}

.fzc-custom-select-option.selected {
    background: #114a35;
    color: #ffffff;
}

.fzc-custom-select-option.selected::after {
    content: "✓";
    margin-left: auto;
    font-size: 12px;
    color: #ffffff;
}

/* Scrollbar Styles */
.fzc-custom-select-dropdown::-webkit-scrollbar {
    width: 4px;
}

.fzc-custom-select-dropdown::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.fzc-custom-select-dropdown::-webkit-scrollbar-thumb {
    background: #114a35;
    border-radius: 10px;
}

.fzc-custom-select-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #114a35 #f0f0f0;
}

/* ==========================================================
   NUMBER INPUT WITH SPINNER
   ========================================================== */

.fzc-number-input-wrapper{
    position:relative;
    display:flex;
    align-items:center;
}

.fzc-number-input-wrapper .fzc-input{
    padding-right:45px !important;
}

.fzc-spinner-wrapper{
    position:absolute;
    right:4px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    flex-direction:column;
    gap:0;
    opacity:0;
    transition:opacity 0.3s ease;
    height:26px;
}

.fzc-number-input-wrapper:hover .fzc-spinner-wrapper,
.fzc-number-input-wrapper:focus-within .fzc-spinner-wrapper{
    opacity:1;
}

.fzc-spinner-btn{
    display:block !important;
    width:18px !important;
    height:14px !important;
    border:none !important;
    background:transparent !important;
    color:#63746e !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:1 !important;
    cursor:pointer !important;
    padding:0px 26px !important;
    margin:0 !important;
    text-align:center !important;
    transition:color 0.2s ease !important;
    font-family:Poppins, system-ui, sans-serif !important;
}

.fzc-spinner-btn:hover{
    color:#114a35 !important;
}

.fzc-spinner-btn:active{
    color:#114a35 !important;
}

/* Custom Nisab */
.fzc-custom-nisab{
    margin-top:20px;
	margin-bottom:20px;
}

.fzc-custom-nisab .fzc-input-box .fzc-input{
    padding-left:36px !important;
    height:48px !important;
	border-radius:16px !important;
}

/* ==========================================================
   FORM FIELDS
   ========================================================== */

.fzc-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
}

.fzc-field label,
.fzc-custom-nisab label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
	line-height:1.25rem !important;
    color:#114a35;
    font-family:Inter,system-ui,sans-serif;
}

.fzc-input-box{
    position:relative;
}

/* Currency Symbol */
.fzc-currency{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    font-size:16px;
    font-family:Poppins,sans-serif;
    color:#63746e;
    pointer-events:none;
    z-index:5;
    line-height:1;
}

/* Input Field */
.fzc-input{
    width:100%;
    height:48px !important;
    padding-left:36px !important;
    padding-right:42px !important;
    border:2px solid #eae7e1 !important;
    border-radius:16px !important;
    background:#fcfaf8 !important;
    font-family:Inter,system-ui,sans-serif !important;
    font-size:15px !important;
    font-weight:600 !important;
    color:#114a35 !important;
    outline:none !important;
    transition:all .25s ease !important;
    box-shadow:none !important;
}

.fzc-input:focus{
    outline:none !important;
    box-shadow:0 0 0 3px rgba(17,74,53,.10) !important;
    border-color:#114a35 !important;
}

.fzc-input-box .fzc-input{
    padding-left:36px !important;
}

/* ==========================================================
   INPUT BORDER STATES
   ========================================================== */

.fzc-input:hover{
    border-color:#114a35 !important;
    border-width:2px !important;
}

.fzc-input:focus{
    border-color:#114a35 !important;
    border-width:2px !important;
    box-shadow:0 0 0 3px rgba(17,74,53,.10) !important;
}

.fzc-input:active{
    border-color:#114a35 !important;
    border-width:2px !important;
    box-shadow:0 0 0 3px rgba(17,74,53,.10) !important;
}

.fzc-field small,
.fzc-custom-nisab small{
    display:block;
    margin-top:4px;
    font-size:12px;
    color:#63746e;
    line-height:1.4;
    font-family:Inter,system-ui,sans-serif;
}

/* Summary / Right Card */
.fzc-summary-icon{
    margin-bottom:20px;
}

.fzc-summary-icon svg{
    width:32px;
    height:32px;
    stroke:#d7a947;
    fill:none;
    stroke-width:2;
    display:block;
}

.fzc-summary-title{
    font-size:12px;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:rgba(252,250,248,.7);
    margin-top:20px;
    line-height:1;
    font-family:Inter,system-ui,sans-serif;
}

.fzc-total{
    margin-top:8px;
    font-family:Poppins,sans-serif;
    font-size:36px;
    font-weight:700;
    line-height:1.2;
    color:#fcfaf8;
    word-break:break-word;
    font-variant-numeric:tabular-nums;
}

.fzc-nisab{
    margin-top:8px;
    font-family:Poppins,sans-serif;
    font-size:20px;
    font-weight:600;
    line-height:1.3;
    color:#fcfaf8;
    font-variant-numeric:tabular-nums;
}

.fzc-right-card hr{
    border:none;
    height:1px;
    background:rgba(255,255,255,.15);
    margin:24px 0;
}

.fzc-zakat{
    margin-top:10px;
    font-family:Poppins,sans-serif;
    font-size:48px;
    font-weight:700;
    line-height:1.1;
    color:#d7a947;
    word-break:break-word;
    font-variant-numeric:tabular-nums;
}

.fzc-message{
    margin-top:14px;
    font-size:14px;
    line-height:1.5;
    color:rgba(252,250,248,.85);
    min-height:22px;
    font-family:Inter,system-ui,sans-serif;
}

/* Button */
.fzc-button{
    margin-top:24px;
    height:54px;
    border-radius:32px;
    background:linear-gradient(135deg,#d7a947,#e3b063);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-decoration:none;
    font-family:Poppins,sans-serif;
    font-size:15px;
    font-weight:700;
    color:#114a35;
    box-shadow:0 8px 24px -8px rgba(192,145,42,.45);
    transition:all .25s ease;
}

.fzc-button:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 40px -12px rgba(20,61,46,.18);
    color:#114a35;
}

.fzc-button:active{
    transform:translateY(0);
}

.fzc-button svg{
    width:18px;
    height:18px;
    fill:currentColor;
    stroke:currentColor;
    display:block;
}

.fzc-bottom-text{
    margin-top:12px;
    text-align:center;
    font-size:12px;
    line-height:1.4;
    color:rgba(252,250,248,.6);
    font-family:Inter,system-ui,sans-serif;
}

/* Utility Overrides */
.fzc-input,
.fzc-option select,
.fzc-number-input-wrapper .fzc-input,
.fzc-custom-nisab .fzc-input-box .fzc-input{
    border-radius:16px !important;
    border-width:2px !important;
}

.fzc-input,
.fzc-option select,
.fzc-button{
    transition:all .25s ease;
}

/* ==========================================================
   RESPONSIVE STYLES
   ========================================================== */

@media(max-width:1200px){
    .fzc-container{
        grid-template-columns:1fr 360px;
        gap:30px;
    }

    .fzc-left-card,
    .fzc-right-card{
        padding:30px;
    }
}

@media(max-width:991px){
    .fzc-container{
        grid-template-columns:1fr;
    }

    .fzc-right-card{
        position:relative;
        top:auto;
    }
}

@media(max-width:768px){
    .fzc-container{
        margin:30px auto;
        padding:0 15px;
    }

    .fzc-left-card,
    .fzc-right-card{
        padding:24px;
        border-radius:24px;
    }

    .fzc-card-header{
        align-items:flex-start;
        margin-bottom:24px;
    }

    .fzc-card-header h2{
        font-size:22px;
    }

    .fzc-top-options{
        grid-template-columns:1fr;
        gap:16px;
        margin-bottom:22px;
    }

    .fzc-form{
        grid-template-columns:1fr;
        gap:18px;
    }

    .fzc-total{
        font-size:32px;
    }

    .fzc-zakat{
        font-size:42px;
    }

    /* Custom Dropdown Tablet */
    .fzc-custom-select-trigger {
        height: 46px !important;
        font-size: 14px !important;
    }

    .fzc-custom-select-dropdown {
        max-height: 200px !important;
    }

    .fzc-custom-select-option {
        padding: 9px 14px !important;
        font-size: 14px !important;
    }
}

@media(max-width:480px){
    .fzc-container{
        padding:0 12px;
    }

    .fzc-left-card,
    .fzc-right-card{
        padding:20px;
        border-radius:20px;
    }

    .fzc-card-header{
        gap:14px;
    }

    .fzc-icon{
        width:44px;
        height:44px;
        border-radius:16px;
    }

    .fzc-icon svg{
        width:18px;
        height:18px;
    }

    .fzc-card-header h2{
        font-size:20px;
    }

    .fzc-card-header p{
        font-size:11px;
    }

    .fzc-option select{
        height:48px !important;
        font-size:14px;
    }

    .fzc-input{
        height:48px !important;
        font-size:14px;
        padding-left:34px !important;
        padding-right:38px !important;
    }

    .fzc-input-box .fzc-input{
        padding-left:34px !important;
    }

    .fzc-button{
        height:50px;
        font-size:14px;
        border-radius:20px;
    }

    .fzc-total{
        font-size:28px;
    }

    .fzc-nisab{
        font-size:18px;
    }

    .fzc-zakat{
        font-size:36px;
    }

    .fzc-input,
    .fzc-option select,
    .fzc-number-input-wrapper .fzc-input,
    .fzc-custom-nisab .fzc-input-box .fzc-input{
        border-radius:16px !important;
    }

    /* Custom Dropdown Mobile */
    .fzc-custom-select-trigger {
        height: 44px !important;
        font-size: 14px !important;
        padding: 0 40px 0 16px !important;
    }

    .fzc-custom-select-dropdown {
        max-height: 180px !important;
        padding: 6px !important;
        border-radius: 14px !important;
    }

    .fzc-custom-select-option {
        padding: 8px 12px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }

    .fzc-custom-select-arrow svg {
        width: 10px !important;
        height: 7px !important;
    }
}