:root {
    --pgh-gold: #FFB800;
    --pgh-black: #1A1A1A;
}

html, body {
    height: 100%;
}

body {
    font-family: sans-serif;
    margin: 0;
    background: #f4f4f4;
}

nav.legacy-nav {
    background: var(--pgh-black);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

nav.legacy-nav a {
    color: var(--pgh-gold);
    text-decoration: none;
    font-weight: bold;
    margin-left: 15px;
}

.container {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.flash {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.flash-success {
    background: #d4edda;
    color: #155724;
}

.flash-danger {
    background: #f8d7da;
    color: #721c24;
}

#map { 
    position: fixed;
    inset: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.user-location-marker {
    background: transparent !important;
    border: none !important;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-location-pulse {
    width: 14px;
    height: 14px;
    background: #007AFF;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    position: relative;
    flex-shrink: 0;
}

.user-location-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: rgba(0, 122, 255, 0.25);
    border-radius: 50%;
    animation: pulse-ring 3s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        width: 14px;
        height: 14px;
        opacity: 0.6;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

.ember-marker {
    background: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ember-marker svg {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
    transform-origin: center bottom;
}

.ember-marker-highlight svg {
    transform: scale(1.6);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
}

.btn-pgh {
    background-color: #FFB800;
    color: #000;
    font-weight: bold;
    width: 100%;
    border: none;
    padding: 12px;
    border-radius: 8px;
}

.form-control {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.auth-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.input-field {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

.btn-main {
    background: var(--pgh-gold);
    color: black;
    border: none;
    padding: 15px 30px;
    width: 100%;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.btn-main:hover {
    background: #e6a600;
}

/* Greyscale the map slightly when offline to show it's "Static" */
.map-offline-locked {
    filter: grayscale(0.25);
    cursor: not-allowed !important;
}