/* ================= RESET ================= */

body{
    margin:0;
    font-family:'Segoe UI', Arial, sans-serif;
    background:#f4f6f9;
    color:#333;
}

/* ================= APP HEADER ================= */

.app-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:55px;
    background:#2c3e50;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 15px;
    z-index:1000;
}

.app-header h3{
    font-size:16px;
    margin:0;
}

.app-header .user{
    font-size:13px;
}

/* ================= CONTENT ================= */

.app-content{
    padding:70px 15px 80px;
}

/* ================= CARD ================= */

.card-box{
    background:#fff;
    padding:15px;
    border-radius:12px;
    margin-bottom:12px;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
    transition:0.2s;
}

.card-box:hover{
    transform:translateY(-2px);
}

/* ================= TEXT ================= */

h4{
    margin:0 0 5px;
    font-size:18px;
}

h5{
    margin:10px 0 5px;
    font-size:15px;
}

/* ================= GRID (CARDS) ================= */

.card-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}

/* ================= APP GRID (DASHBOARD) ================= */

.app-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:10px;
}

.app-item{
    background:#fff;
    border-radius:14px;
    padding:16px 10px;
    text-align:center;
    text-decoration:none;
    color:#333;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
    transition:0.2s;
}

.app-item:hover{
    transform:translateY(-3px);
}

.app-item i{
    font-size:22px;
    margin-bottom:6px;
    display:block;
    color:#2c3e50;
}

.app-item span{
    font-size:12px;
}

/* LOGOUT */
.app-item.logout i{
    color:#e74c3c;
}

/* ================= SECTION TITLE ================= */

.section-title{
    font-size:14px;
    margin:15px 5px 5px;
    color:#666;
}

/* ================= BUTTON ================= */

.btn-mobile{
    display:block;
    width:100%;
    padding:12px;
    border-radius:10px;
    font-size:14px;
    margin-bottom:10px;
    border:none;
}

/* ================= FORM ================= */

.form-box{
    background:#fff;
    padding:15px;
    border-radius:10px;
}

.form-box label{
    font-size:13px;
    margin-top:10px;
    display:block;
}

.form-box input,
.form-box select,
.form-box textarea,
.form-control{
    width:100%;
    padding:10px;
    margin-top:5px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:14px;
}

/* ================= TABLE ================= */

.table-responsive{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
    font-size:13px;
}

table th{
    background:#2c3e50;
    color:#fff;
    padding:10px;
}

table td{
    padding:10px;
    border-bottom:1px solid #eee;
}

/* ================= BUTTONS ================= */

.btn-save{
    background:#27ae60;
    color:#fff;
    font-weight:600;
}

.btn-save:hover{
    background:#219150;
}

.btn-add{
    background:#007bff;
    color:#fff;
    border-radius:50%;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.btn-edit{
    background:#3498db;
    color:#fff;
}

.btn-delete{
    background:#e74c3c;
    color:#fff;
}

/* ================= STATUS ================= */

.status-badge{
    padding:4px 10px;
    border-radius:8px;
    font-size:12px;
}

.status-badge.active{
    background:#e6f7ee;
    color:#27ae60;
}

.status-badge.inactive{
    background:#fdecea;
    color:#e74c3c;
}

/* ================= ICON ACTIONS ================= */

.action-icons{
    display:flex;
    gap:10px;
    margin-top:8px;
}

.icon-btn{
    width:38px;
    height:38px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:14px;
}

.icon-btn.edit{
    background:#eaf4ff;
    color:#007bff;
}

.icon-btn.delete{
    background:#fdecea;
    color:#e74c3c;
}

.icon-btn.view{
    background:#eef3ff;
    color:#3b5bdb;
}

/* ================= IMAGES ================= */

.card-box img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:10px;
}

.member-img img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
}

/* ================= BOTTOM NAV ================= */

.bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:60px;
    background:#fff;
    border-top:1px solid #ddd;
    display:flex;
    justify-content:space-around;
    align-items:center;
    z-index:1000;
}

.bottom-nav a{
    text-decoration:none;
    color:#555;
    font-size:11px;
    text-align:center;
}

.bottom-nav a i{
    display:block;
    font-size:20px;
    margin-bottom:3px;
}

.bottom-nav a.active{
    color:#007bff;
}

/* ================= RESPONSIVE ================= */

@media (max-width:768px){
    .app-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:480px){
    .app-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .card-grid{
        grid-template-columns:1fr;
    }
}