/* =========================
   PRODUCT UI
========================= */
.fat-product-calc{
    background:#fff;
    padding:20px;
    border-radius:12px;
    margin:20px 0;
    max-width:420px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.fat-product-calc h3{
    font-size:18px;
    margin-bottom:15px;
}

/* ROW */
.fat-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
}

.fat-row label{
    font-size:14px;
    font-weight:500;
    width:80px;
    color:#333;
}

.fat-row input{
    width:90px;
    height:32px;
    padding:5px 8px;
    border:1px solid #ddd;
    border-radius:6px;
    font-size:13px;
}


.fat-row label{
    width:70px;
    font-size:13px;
}



/* OR TEXT */
.fat-or{
    text-align:center;
    margin:10px 0;
    font-size:13px;
    color:#777;
}

/* LINK */
.fat-link{
    font-size:14px;
    margin:10px 0;
}

.fat-link span{
    color:red;
    font-weight:600;
    cursor:pointer;
}

/* COVERAGE TEXT */
#fat-coverage{
    font-weight:600;
}

/* TOTAL PRICE */
.fat-total{
    color:red;
    font-size:24px;
    font-weight:700;
    margin-top:10px;
}

/* =========================
   POPUP OVERLAY
========================= */
.fat-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.fat-popup.active{
    display:flex;
}

/* =========================
   POPUP BOX
========================= */
.fat-popup-content{
    background:#fff;
    width:95%;
    max-width:720px;
    border-radius:14px;
    padding:30px;
    position:relative;
    animation:fadeIn 0.3s ease;
}

/* HEADER */
.fat-popup-content h3{
    font-size:22px;
    margin-bottom:5px;
}

.fat-popup-content p{
    color:#666;
    font-size:14px;
}

/* CLOSE BUTTON */
.fat-close{
    position:absolute;
    top:15px;
    right:20px;
    font-size:22px;
    cursor:pointer;
}

/* =========================
   ROOM INPUT ROW
========================= */
.fat-room{
    display:flex;
    align-items:center;
    gap:8px;
    margin:12px 0;
}

.fat-room input{
    width:70px;
    height:32px;
    padding:5px;
    border:1px solid #ddd;
    border-radius:6px;
    font-size:12px;
}


.fat-room span{
    font-weight:bold;
    font-size:14px;
}

/* DELETE BUTTON */
.fat-remove{
    background:#eee;
    border:none;
    padding:6px 10px;
    border-radius:6px;
    cursor:pointer;
    transition:0.2s;
}

.fat-remove:hover{
    background:#ddd;
}

/* =========================
   ADD ROOM BUTTON
========================= */
#fat-add-room{
    background:#fff;
    border:1px solid #ccc;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    margin-top:10px;
}

#fat-add-room:hover{
    background:#f5f5f5;
}

/* =========================
   RESULT BOX
========================= */
.fat-result-box{
    background:#f8f8f8;
    padding:15px;
    border-radius:10px;
    margin-top:15px;
}

.fat-result-box p{
    display:flex;
    justify-content:space-between;
    margin:5px 0;
    font-size:14px;
}

/* =========================
   APPLY BUTTON
========================= */
#fat-apply{
    width:100%;
    background:#6c7781;
    color:#fff;
    padding:12px;
    border:none;
    border-radius:8px;
    margin-top:15px;
    font-weight:600;
    cursor:pointer;
    transition:0.2s;
}

#fat-apply:hover{
    background:#555;
}


/* =========================
   ANIMATION
========================= */
@keyframes fadeIn{
    from{transform:scale(0.9);opacity:0;}
    to{transform:scale(1);opacity:1;}
}