/*==================================================
    HYT GASMIN ADMIN PANEL
    Version : 2.0
==================================================*/


/*==================================================
    GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/*==================================================
    RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#F4F7FC;
    color:#333;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    color:inherit;

}

button{

    border:none;
    cursor:pointer;
    font-family:'Poppins',sans-serif;

}

input,
textarea,
select{

    font-family:'Poppins',sans-serif;
    outline:none;

}

ul{

    list-style:none;

}
/*==================================================
    COLOR
==================================================*/

:root{

    --primary:#1F4E79;
    --secondary:#F5A623;
    --background:#F4F7FC;
    --white:#FFFFFF;
    --text:#333333;
    --gray:#777777;
    --border:#E6E6E6;
    --danger:#E74C3C;
    --success:#27AE60;
    --warning:#F39C12;
    --radius:18px;
    --shadow:0 10px 25px rgba(0,0,0,.08);

}
/*==================================================
    WRAPPER
==================================================*/

.wrapper{

    display:flex;
    min-height:100vh;

}
/*==================================================
    SIDEBAR
==================================================*/

.sidebar{

    width:260px;
    height:100vh;
    background:var(--primary);
    position:fixed;
    left:0;
    top:0;
    overflow-y:auto;
    padding:25px;

}
/*==================================================
    LOGO
==================================================*/

.logo{

    text-align:center;

    margin-bottom:40px;

}

.logo img{

    width:90px;
    margin:auto;
    margin-bottom:15px;

}

.logo h2{

    color:white;
    font-size:24px;

}

.logo p{

    color:white;
    opacity:.8;
    margin-top:6px;

}
/*==================================================
    MENU
==================================================*/

.sidebar ul{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.sidebar ul li a{

    display:flex;
    align-items:center;
    gap:15px;
    padding:14px 18px;
    color:white;
    border-radius:12px;
    transition:.3s;

}

.sidebar ul li a:hover{

    background:rgba(255,255,255,.15);

}

.sidebar ul li.active a{

    background:var(--secondary);

}
/*==================================================
    LOGOUT
==================================================*/

.logout{

    margin-top:40px;

}

.logout a{

    display:flex;
    align-items:center;
    gap:15px;
    color:white;
    padding:14px 18px;
    border-radius:12px;
    transition:.3s;

}

.logout a:hover{

    background:#d63031;

}
/*==================================================
    MAIN
==================================================*/

.main{

    margin-left:260px;
    width:calc(100% - 260px);
    padding:30px;

}
/*==================================================
    HEADER
==================================================*/

.header{

    background:white;
    border-radius:var(--radius);
    padding:25px 30px;
    box-shadow:var(--shadow);
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;

}
/*==================================================
    HEADER TITLE
==================================================*/

.header-title h1{

    font-size:34px;
    color:var(--primary);

}

.header-title p{

    color:var(--gray);
    margin-top:5px;

}
/*==================================================
    HEADER RIGHT
==================================================*/

.header-right{

    display:flex;
    align-items:center;
    gap:20px;

}
/*==================================================
    WEBSITE BUTTON
==================================================*/

.website-btn{

    background:var(--primary);
    color:white;
    padding:12px 22px;
    border-radius:12px;
    display:flex;
    align-items:center;
    gap:10px;
    transition:.3s;

}

.website-btn:hover{

    background:#163B5B;

}
/*==================================================
    ADMIN PROFILE
==================================================*/

.admin-profile{

    display:flex;
    align-items:center;
    gap:12px;

}

.admin-profile img{

    width:48px;
    height:48px;
    border-radius:50%;

}

.admin-profile span{

    font-weight:600;

}
/*==================================================
    DASHBOARD CARD
==================================================*/

.card-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-bottom:30px;

}

.card{

    background:var(--white);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    transition:.3s;
    cursor:pointer;

}

.card:hover{

    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);

}

.card-info h4{

    color:var(--gray);
    font-size:15px;
    margin-bottom:8px;

}

.card-info h2{

    color:var(--primary);
    font-size:32px;

}

.card-icon{

    width:65px;
    height:65px;
    border-radius:15px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(31,78,121,.10);

}

.card-icon i{

    font-size:28px;
    color:var(--primary);

}
/*==================================================
    CONTENT BOX
==================================================*/

.content-box{

    background:var(--white);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:25px;
    margin-bottom:30px;

}

.content-box h2{

    color:var(--primary);
    margin-bottom:20px;
    font-size:24px;

}
/*==================================================
    TOOLBAR
==================================================*/

.toolbar{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    flex-wrap:wrap;
    gap:20px;

}
/*==================================================
    SEARCH BOX
==================================================*/

.search-box{

    position:relative;

}

.search-box input{

    width:320px;
    height:48px;
    border:1px solid var(--border);
    border-radius:12px;
    padding-left:45px;
    padding-right:15px;
    font-size:15px;

}

.search-box i{

    position:absolute;
    top:50%;
    left:18px;
    transform:translateY(-50%);
    color:#999;

}
/*==================================================
    BUTTON
==================================================*/

.btn{

    padding:12px 24px;
    border-radius:12px;
    font-weight:600;
    transition:.3s;
    display:inline-flex;
    align-items:center;
    gap:10px;

}

.btn:hover{

    transform:translateY(-2px);

}

.btn-primary{

    background:var(--primary);
    color:white;

}

.btn-primary:hover{

    background:#163B5B;

}

.btn-warning{

width:42px;
height:42px;
border:none;
border-radius:10px;
background:#F9A826;
color:#fff;
display:flex;
justify-content:center;
align-items:center;
font-size:17px;
cursor:pointer;
transition:.3s;

}

.btn-warning:hover{

background:#e39200;
transform:translateY(-3px);

}

.btn-danger{

width:42px;
height:42px;
border:none;
border-radius:10px;
background:#EF4444;
color:#fff;
display:flex;
justify-content:center;
align-items:center;
font-size:17px;
cursor:pointer;
transition:.3s;

}

.btn-danger:hover{

background:#dc2626;
transform:translateY(-3px);

}

.btn-success{

    background:var(--success);

    color:white;

}

.btn-success:hover{

    background:#1f8a4d;

}
/*==================================================
    TABLE
==================================================*/

.table-responsive{

    width:100%;
    overflow-x:auto;

}

table{

    width:100%;
    border-collapse:collapse;

}

table thead{

    background:var(--primary);

}

table th{

    color:white;
    padding:16px;
    text-align:left;
    font-size:15px;

}

table td{

    padding:16px;
    border-bottom:1px solid #eee;
    vertical-align:middle;

}

table tbody tr:hover{

    background:#fafafa;

}
/*==================================================
    TABLE IMAGE
==================================================*/

.table-image{

    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:12px;

}
/*==================================================
    BADGE
==================================================*/

.badge{

    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    color:white;
    font-weight:500;

}

.badge-success{

    background:var(--success);

}

.badge-warning{

    background:var(--warning);

}

.badge-danger{

    background:var(--danger);

}
/*==================================================
    ACTION BUTTON
==================================================*/

.table-action{
    margin-top:auto;
    display:flex;
    justify-content:flex-start;
    gap:12px;
    padding-top:20px;
}
/*==================================================
    FORM
==================================================*/

.form-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;

}

.form-group{

    display:flex;
    flex-direction:column;

}

.form-group.full{

    grid-column:1/3;

}

.form-group label{

    margin-bottom:8px;
    color:var(--text);
    font-weight:600;
    font-size:15px;

}

.form-group input,
.form-group textarea,
.form-group select{

    width:100%;
    border:1px solid var(--border);
    border-radius:12px;
    padding:14px 16px;
    font-size:15px;
    transition:.3s;

}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{

    border-color:var(--primary);

}

textarea{

    resize:none;

}
/*==================================================
    FILE INPUT
==================================================*/

input[type=file]{

    padding:10px;

}
/*==================================================
    FORM BUTTON
==================================================*/

.form-button{

    margin-top:25px;
    display:flex;
    justify-content:flex-end;

}
/*==================================================
    MODAL
==================================================*/

.modal{

    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.45);
    z-index:999;

}

.modal.active{

    display:flex;

}

.modal-content{

    width:700px;
    max-width:95%;
    background:white;
    border-radius:20px;
    padding:30px;
    animation:popup .3s;

}
/*==================================================
    MODAL ANIMATION
==================================================*/

@keyframes popup{

    from{

        transform:scale(.8);
        opacity:0;

    }

    to{

        transform:scale(1);
        opacity:1;

    }

}
/*==================================================
    GALLERY
==================================================*/

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery-card{

    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.3s;

}

.gallery-card:hover{

    transform:translateY(-6px);

}

.gallery-card img{
    width:100%;
    height:160px;      /* bisa diubah 180px–250px sesuai selera */
    object-fit:cover;  /* gambar tetap proporsional */
    display:block;
    border-radius:15px 15px 0 0;
}

.gallery-card .gallery-body{

    padding:15px;

}
/*==================================================
    SERVICE CARD
==================================================*/

.service-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;

}

.service-card{
    background:#fff;
    border-radius:18px;
    padding:28px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:280px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.service-card:hover{

    transform:translateY(-5px);

}

.service-card h3{

    margin-bottom:10px;

}
/*==================================================
    FAQ
==================================================*/

.faq-item{

    background:white;
    border-radius:18px;
    box-shadow:var(--shadow);
    padding:20px;
    margin-bottom:20px;

}

.faq-item h3{

    color:var(--primary);
    margin-bottom:10px;

}
/*==================================================
    DASHBOARD GRID
==================================================*/

.dashboard-grid{

    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
    margin-bottom:30px;

}
/*==================================================
    CHART
==================================================*/

.chart{

    height:320px;
    display:flex;
    align-items:flex-end;
    justify-content:space-around;

}

.chart-bar{

    width:45px;
    background:linear-gradient(
        to top,
        var(--primary),
        var(--secondary)
    );

    border-radius:10px 10px 0 0;

}
/*==================================================
    ACTIVITY
==================================================*/

.activity{

    display:flex;
    flex-direction:column;
    gap:18px;

}

.activity-item{

    display:flex;
    gap:15px;
    align-items:center;

}

.activity-item i{

    color:var(--success);

}
/*==================================================
    FOOTER
==================================================*/

.footer{

    margin-top:40px;
    text-align:center;
    color:#999;
    padding:20px;

}
/*==================================================
    LOGIN PAGE
==================================================*/

.login-page{

    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#1F4E79,#163B5B);
    padding:30px;

}

.login-card{

    width:420px;
    background:#fff;
    border-radius:20px;
    padding:40px;
    box-shadow:0 20px 50px rgba(0,0,0,.25);

}

.login-logo{

    text-align:center;
    margin-bottom:30px;

}

.login-logo img{

    width:90px;
    margin:auto;
    margin-bottom:15px;

}

.login-logo h2{

    color:var(--primary);
    font-size:28px;

}

.login-logo p{

    color:#777;
    margin-top:5px;

}
/*==================================================
    LOGIN FORM
==================================================*/

.login-form{

    display:flex;
    flex-direction:column;
    gap:20px;

}

.login-form label{

    font-weight:600;
    margin-bottom:6px;
    display:block;

}

.login-form input{

    width:100%;
    height:50px;
    border:1px solid var(--border);
    border-radius:12px;
    padding:0 15px;

}

.login-form button{

    height:52px;
    background:var(--primary);
    color:white;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
    transition:.3s;

}

.login-form button:hover{

    background:#163B5B;

}
/*==================================================
    SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#ececec;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);
    border-radius:20px;

}
/*==================================================
    ANIMATION
==================================================*/

.fade{

    animation:fade .4s;

}

@keyframes fade{

    from{

        opacity:0;
        transform:translateY(15px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}
/*==================================================
    UTILITY
==================================================*/

.text-center{

    text-align:center;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-30{

    margin-bottom:30px;

}

.w-100{

    width:100%;

}
/*==================================================
    RESPONSIVE TABLET
==================================================*/

@media(max-width:992px){

.sidebar{

    width:90px;

}

.logo h2,
.logo p{

    display:none;

}

.sidebar ul li a{

    justify-content:center;

}

.sidebar ul li span{

    display:none;

}

.logout span{

    display:none;

}

.main{

    margin-left:90px;
    width:calc(100% - 90px);

}

.card-grid{

    grid-template-columns:repeat(2,1fr);

}

.gallery-grid{

    grid-template-columns:repeat(2,1fr);

}

.service-grid{

    grid-template-columns:repeat(2,1fr);

}

.dashboard-grid{

    grid-template-columns:1fr;

}

}
/*==================================================
    RESPONSIVE MOBILE
==================================================*/

@media(max-width:768px){

.main{

    margin-left:0;
    width:100%;
    padding:20px;

}

.sidebar{

    display:none;

}

.header{

    flex-direction:column;
    align-items:flex-start;
    gap:20px;

}

.header-right{

    width:100%;
    justify-content:space-between;

}

.card-grid{

    grid-template-columns:1fr;

}

.gallery-grid{

    grid-template-columns:1fr;

}

.service-grid{

    grid-template-columns:1fr;

}

.form-grid{

    grid-template-columns:1fr;

}

.form-group.full{

    grid-column:1;

}

.toolbar{

    flex-direction:column;
    align-items:stretch;

}

.search-box input{

    width:100%;

}

.table-action{

    flex-direction:column;

}

}
/* ===============================
   SERVICE CARD
=================================*/

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.service-card{
    background:#fff;
    border-radius:16px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-6px);
}

.service-icon{
    width:64px;
    height:64px;
    border-radius:50%;
    background:#295782;

    display:flex;
    justify-content:center;
    align-items:center;

    flex-shrink:0;
}

.service-icon i{

    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
    color:#fff;
    font-size:28px;
    line-height:1;
}

.service-card h3{

    margin:0 0 12px;
    color:#295782;
    font-size:28px;

}

.service-card p{

    color:#666;
    line-height:1.7;
    font-size:15px;
    margin-bottom:20px;

}
/*==========================
 FAQ
===========================*/

.faq-admin{

display:grid;
gap:20px;

}

.faq-item{

background:#fff;
padding:25px;
border-radius:15px;
box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.faq-item h3{

margin-bottom:15px;
color:var(--primary);

}

.faq-item p{

color:#666;
line-height:1.7;
margin-bottom:20px;

}
/*=========================
FOOTER
==========================*/

.footer{

    margin-top:35px;
    padding:20px;
    text-align:center;
    color:#777;
    border-top:1px solid #eee;
    font-size:14px;

}
::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#EDF2F7;

}

::-webkit-scrollbar-thumb{

background:#295782;
border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

background:#1f4466;

}
@media(max-width:992px){

.sidebar{

width:90px;

}

.sidebar h2,

.sidebar p,

.sidebar span{

display:none;

}

.main{

margin-left:90px;

}

.header{

flex-direction:column;
align-items:flex-start;
gap:20px;

}

.card-grid{

grid-template-columns:repeat(2,1fr);

}

}
/*====================================
LOGIN PAGE
====================================*/

body{
    margin:0;
    font-family:'Poppins',sans-serif;
    background:#f4f7fb;
}

.login-container{
    display:flex;
    min-height:100vh;
}

.login-left{
    width:45%;
    background:linear-gradient(135deg,#1F4E79,#295782);
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:60px;
}

.login-left img{
    width:180px;
    margin-bottom:30px;
}

.login-left h1{
    font-size:42px;
    margin-bottom:10px;
}

.login-left p{
    font-size:18px;
    opacity:.9;
}

.login-right{
    width:55%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f4f7fb;
}

.login-right form{
    width:420px;
    background:#fff;
    padding:45px;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,.1);
}

.login-title{
    text-align:center;
    margin-bottom:35px;
    color:#1F4E79;
}

.input-group{
    margin-bottom:20px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.input-group input{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
    box-sizing:border-box;
}

.input-group input:focus{
    outline:none;
    border-color:#1F4E79;
}

.login-right button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#1F4E79;
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.login-right button:hover{
    background:#163c5e;
    transform:translateY(-2px);
}

.login-right button i{
    margin-right:8px;
}
@media(max-width:768px){

.login-container{
    flex-direction:column;
}

.login-left,
.login-right{
    width:100%;
}

.login-left{
    padding:40px 20px;
}

.login-left img{
    width:120px;
}

.login-left h1{
    font-size:32px;
}

.login-right{
    padding:30px 20px;
}

.login-right form{
    width:100%;
}
}

.service-line{

border:none;
border-top:1px solid #eee;
margin:20px 0;

}

.service-action{
    display:flex;
    gap:12px;
    margin-top:auto;
}
.service-edit{

width:48px;
height:48px;
background:#F59E0B;
border:none;
border-radius:12px;
display:flex;
justify-content:center;
align-items:center;
cursor:pointer;

}

.service-delete{

width:48px;
height:48px;
background:#EF4444;
border:none;
border-radius:12px;
display:flex;
justify-content:center;
align-items:center;
cursor:pointer;

}

.service-edit i,
.service-delete i{

color:#fff;
font-size:18px;

}
.gallery-action{

display:flex;
justify-content:flex-start;
gap:10px;
margin-top:18px;

}
.gallery-edit,
.gallery-delete{

display:flex;
align-items:center;
justify-content:center;

gap:8px;

padding:10px 16px;

border:none;
border-radius:10px;

font-size:14px;
font-weight:600;

cursor:pointer;

width:auto;
height:42px;

}
.gallery-edit{

background:#F9A826;
color:#fff;

}

.gallery-edit:hover{

background:#e29000;

}
.gallery-delete{

background:#EF4444;
color:#fff;

}

.gallery-delete:hover{

background:#d93636;

}
.gallery-edit i,
.gallery-delete i{

font-size:16px;
color:#fff;

}