.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;

    background: linear-gradient(90deg, #0f1f3d, #0a172e);

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;

    z-index: 1000;

    border-bottom: 1px solid rgba(96,165,250,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.logo {
    font-size: 34px;
    font-weight: 700;
    color: #60a5fa;
    text-shadow: 0 0 12px rgba(96,165,250,0.4);
}

/* USER */

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;

    box-shadow: 0 0 10px rgba(37,99,235,0.5);
}

/* SIDEBAR */

.sidebar {
    display: flex;
    flex-direction: column;

    position: fixed;
    top: 80px;
    left: 0;
    width: 260px;
    bottom: 0;

    padding-top: 25px;
    padding-bottom: 40px;

    background: linear-gradient(180deg, #0f1f3d, #0a172e);

    border-right: 1px solid rgba(96,165,250,0.1);
}

/* LINKS */

.sidebar a {
    display: block;
    padding: 14px 20px;

    font-size: 15px;
    color: #94a3b8;
    text-decoration: none;

    border-radius: 10px;
    margin: 6px 12px;

    transition: all 0.2s ease;
}

/* HOVER */

.sidebar a:hover {
    background: rgba(59,130,246,0.12);
    color: #e2e8f0;
}

/* ACTIVE */

.sidebar a.active {
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    color: white;

    box-shadow: 0 0 15px rgba(37,99,235,0.5);
}

/* ADMIN */

.admin-section {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-section h4 {
    font-size: 16px;
    color: #60a5fa;
    margin-bottom: 12px;
    opacity: 0.8;
    padding-left: 15px;
}

.admin-section a {
    display: block;
    padding: 10px 15px;
    margin: 6px 10px;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.2s;
}

.admin-section a:hover {
    background: rgba(59,130,246,0.12);
    color: #ffffff;
    transform: translateX(4px);
}

/* MAIN CONTENT */

#content {
    margin-left: 260px;
    padding: 120px 70px 60px 70px;
    min-height: 100vh;
}

#content h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #e6edf3;
}

/* DROPDOWN */

.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 180px;

    background: linear-gradient(145deg, #13294b, #0c1a33);
    backdrop-filter: blur(10px);

    border-radius: 10px;
    padding: 10px 0;

    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    display: none;

    border: 1px solid rgba(96,165,250,0.1);
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #e2e8f0;
    font-size: 14px;
}

.user-dropdown a:hover {
    background: rgba(59,130,246,0.12);
}

/* MAP */

#loginMap {
    height: 75vh;
    width: 100%;
    border-radius: 12px;
}

/* PULSE MARKER */

.pulse-core {
    width: 14px;
    height: 14px;
    background: #facc15;
    border-radius: 50%;

    box-shadow: 0 0 0 rgba(250, 204, 21, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
    }
    70% {
        box-shadow: 0 0 0 25px rgba(250, 204, 21, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }
}