/*
|--------------------------------------------------------------------------
| 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:12px;
}

.fgpu-fuel .fgpu-icon{
    width:44px;
    height:44px;
    border-radius:10px;
    border:2px solid rgba(255,255,255,.28);
    background:transparent;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.fgpu-title{
    font-size:22px;
    font-weight:700;
    color:#fff;
}

.fgpu-subtitle{
    font-size:14px;
    color:rgba(255,255,255,.75);
    margin-top:4px;
}

.fgpu-fuel .fgpu-updated{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.15);
    color:#fff;
    border-radius:10px;
}

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

.fgpu-fuel{
    background:linear-gradient(135deg,#C91D34 0%,#A41429 55%,#830E20 100%);
    border:none;
    position:relative;
    overflow:hidden;
}

.fgpu-fuel::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right,
        rgba(255,255,255,.08),
        transparent 45%);
    pointer-events:none;
}

.fgpu-fuel .fgpu-header{
    background:transparent;
    padding:24px 24px 10px;
}

/*--------------------------------------------------------------
# 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,minmax(0,1fr));
    gap:12px;
    margin-top:12px;
}

.fgpu-fuel-item{
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
    padding:18px 12px;
    text-align:center;
    transition:all .25s ease;
    backdrop-filter:blur(6px);
}

.fgpu-fuel-item:hover{
    transform:translateY(-4px);
    background:rgba(255,255,255,.10);
    border-color:rgba(255,255,255,.30);
}

.fgpu-fuel-name{
    font-size:15px;
    font-weight:600;
    color:#fff;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    margin-bottom:18px;
    letter-spacing:.2px;
}

.fgpu-fuel-price{
    font-size:34px;
    font-weight:700;
    line-height:1.1;
    letter-spacing:.5px;
}
/*--------------------------------------------------------------
# Gold Table
--------------------------------------------------------------*/

.fgpu-table{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:12px;
    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-fuel-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:575px){

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

    .fgpu-fuel-name{
        font-size:15px;
    }

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

}