/*
|--------------------------------------------------------------------------
| Fuel & Gold Price Updates
| Frontend Styles
|--------------------------------------------------------------------------
*/

.fgpu-wrapper{
    display:flex;
    flex-direction:column;
    gap:22px;
    width:100%;
}

/*--------------------------------------------------------------
# Common Card
--------------------------------------------------------------*/

.fgpu-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    border:1px solid #ececec;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.fgpu-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 24px;
    color:#fff;
}

.fgpu-header-left{
    display:flex;
    align-items:center;
    gap:16px;
}

.fgpu-icon{
    width:54px;
    height:54px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.12);
    font-size:24px;
}

.fgpu-title{
    font-size:18px;
    font-weight:700;
    line-height:1.2;
}

.fgpu-subtitle{
    font-size:14px;
    opacity:.9;
    margin-top:4px;
}

.fgpu-updated{
    background:rgba(255,255,255,.12);
    padding:10px 14px;
    border-radius:10px;
    font-size:13px;
    white-space:nowrap;
}

/*--------------------------------------------------------------
# Fuel Theme
--------------------------------------------------------------*/

.fgpu-fuel .fgpu-header{
    background:linear-gradient(135deg,#7d0000,#c31212);
}

/*--------------------------------------------------------------
# Gold Theme
--------------------------------------------------------------*/

.fgpu-gold .fgpu-header{
    background:linear-gradient(135deg,#e5a126,#ffd774);
    color:#222;
}

.fgpu-gold .fgpu-updated{
    background:rgba(255,255,255,.65);
}

.fgpu-gold .fgpu-icon{
    background:rgba(255,255,255,.35);
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.fgpu-content{
    padding:18px;
}

/*--------------------------------------------------------------
# Fuel Grid
--------------------------------------------------------------*/

.fgpu-fuel-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border:1px solid #eee;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
}

.fgpu-fuel-item{
    text-align:center;
    padding:28px 12px;
    border-right:1px solid #eee;
}

.fgpu-fuel-item:last-child{
    border-right:none;
}

.fgpu-fuel-name{
    font-size:18px;
    font-weight:700;
    color:#222;
}

.fgpu-fuel-icon{
    font-size:34px;
    color:#d10000;
    margin:18px 0;
}

.fgpu-fuel-price{
    font-size:24px;
    font-weight:700;
    color:#d10000;
}

/*--------------------------------------------------------------
# Gold Table
--------------------------------------------------------------*/

.fgpu-table{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:14px;
    border:1px solid #eee;
}

.fgpu-table th{
    background:#fafafa;
    font-size:16px;
    font-weight:700;
    padding:18px;
    border-bottom:1px solid #eee;
}

.fgpu-table td{
    padding:22px 18px;
    text-align:center;
    border-bottom:1px solid #eee;
    font-size:18px;
}

.fgpu-table tr:last-child td{
    border-bottom:none;
}

.fgpu-table td:first-child{
    text-align:left;
    font-weight:600;
}

.fgpu-value-india{
    color:#f08a00;
    font-weight:700;
    font-size:18px;
}

.fgpu-value-uae{
    color:#f08a00;
    font-weight:700;
    font-size:18px;
}

/*--------------------------------------------------------------
# Hover
--------------------------------------------------------------*/

.fgpu-card{
    transition:.25s;
}

.fgpu-card:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media(max-width:991px){

    .fgpu-header{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }

    .fgpu-updated{
        width:100%;
        text-align:center;
    }

    .fgpu-fuel-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:600px){

    .fgpu-fuel-grid{
        grid-template-columns:1fr;
    }

    .fgpu-fuel-item{
        border-right:none;
        border-bottom:1px solid #eee;
    }

    .fgpu-fuel-item:last-child{
        border-bottom:none;
    }

    .fgpu-table th,
    .fgpu-table td{
        padding:14px 10px;
        font-size:15px;
    }

    .fgpu-title{
        font-size:17px;
    }

    .fgpu-subtitle{
        font-size:13px;
    }

    .fgpu-fuel-price{
        font-size:22px;
    }

}