/* Goldstadt Apartments - Worker Mobile PWA Styling */

.worker-app {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 90px;
}

.worker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
}

/* Route Timeline "Mein Tag" */
.timeline-container {
    position: relative;
    padding-left: 20px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent-blue));
    border-radius: var(--radius-full);
}

.route-card {
    position: relative;
    margin-bottom: 20px;
    padding: 18px;
}

.route-card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 10px var(--primary);
}

.route-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.route-step {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.route-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.route-time-window {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin: 8px 0;
}

.route-priority {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Pool Shift Cards */
.pool-card {
    padding: 18px;
    margin-bottom: 16px;
}

.pool-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* Bottom Nav for Mobile PWA */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 900;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-icon {
    font-size: 1.2rem;
}

/* Camera Upload Dropzone */
.upload-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.upload-dropzone:hover {
    border-color: var(--primary);
    background: rgba(245, 158, 11, 0.05);
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.photo-preview-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}
