

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<style>
/* ===== ADMIN HEADER ===== */
.admin-header {
    background: #1a237e;
    color: #fff;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-header .title {
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-header a {
    background: #ffffff;
    color: #1a237e;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.admin-header a:hover {
    background: #e8eaf6;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
    .admin-header .title {
        font-size: 1.1rem;
    }

    .admin-header a {
        padding: 6px 10px;
        font-size: 14px;
    }
}
</style>
</head>

<body>

<div class="admin-header">
    <a href="javascript:history.back()">⬅ Back</a>
    <div class="title">Admin Panel</div>
    <a href="allsettings.php">🏠 Main Page</a>
        <a href="index.php">Log Out</a>
</div>
