/* ===== GLOBAL ===== */
body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6f9;
}

/* ===== NAVBAR ===== */
.topnav{
    background:#0d6efd;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 25px;
    flex-wrap:wrap;
}

.logo{
    color:white;
    font-size:16px;
    font-weight:bold;
}

.menu{
    display:flex;
    flex-wrap:wrap;
}

.menu a{
    color:white;
    text-decoration:none;
    margin-left:12px;
    padding:8px 12px;
    border-radius:5px;
    font-size:14px;
}

.menu a:hover{
    background:white;
    color:#0d6efd;
}

.logout{
    background:#dc3545;
}

.logout:hover{
    background:#bb2d3b;
    color:white !important;
}

/* ===== CONTENT AREA ===== */
.content{
    padding:30px;
}

/* ===== CARDS / BOXES ===== */
.dashboard-box,
.profile-box{
    background:white;
    padding:25px;
    border-radius:8px;
    box-shadow:0 0 10px rgba(0,0,0,0.08);
    max-width:1000px;
    margin:30px auto;
}

/* ===== TABLE STYLE ===== */
table{
    width:100%;
    border-collapse:collapse;
}

table td{
    padding:12px;
    border-bottom:1px solid #eee;
}

table td:first-child{
    font-weight:bold;
    width:30%;
    background:#f8f9fa;
}

/* ===== IMAGES ===== */
img{
    max-width:150px;
    border-radius:6px;
}

/* ===== STATUS BADGES ===== */
.status-enabled{
    color:green;
    font-weight:bold;
}

.status-disabled{
    color:red;
    font-weight:bold;
}

/* ===== FORMS ===== */
form{
    max-width:400px;
    margin:40px auto;
    background:white;
    padding:25px;
    border-radius:8px;
    box-shadow:0 0 10px rgba(0,0,0,0.08);
}

input, textarea, select{
    width:100%;
    padding:10px;
    margin-top:5px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:5px;
}

button{
    background:#0d6efd;
    color:white;
    border:none;
    padding:10px;
    border-radius:5px;
    width:100%;
    cursor:pointer;
}

button:hover{
    background:#0b5ed7;
}

/* ===== MOBILE RESPONSIVE ===== */
@media(max-width:768px){

    .topnav{
        flex-direction:column;
        align-items:flex-start;
    }

    .menu{
        width:100%;
        margin-top:10px;
    }

    .menu a{
        display:block;
        margin:5px 0;
    }

    table td{
        display:block;
        width:100%;
    }

    table td:first-child{
        background:none;
        font-weight:bold;
    }
}
