/* Edit Mode Banner */
.edit-mode-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    padding: 12px 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.edit-mode-banner.hidden {
    display: none;
}

.edit-mode-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.edit-mode-text .icon {
    font-size: 24px;
}

.edit-mode-actions {
    display: flex;
    gap: 12px;
}

.edit-button {
    background: white;
    color: #0f172a;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 14px;
}

.edit-button:hover {
    transform: scale(1.05);
}

.edit-button.export {
    background: #06b6d4;
    color: white;
}

.edit-button.save {
    background: #10b981;
    color: white;
}

.edit-button.cancel {
    background: #ef4444;
    color: white;
}

/* Header */
.header {
    background: #1e293b;
    border-bottom: 1px solid #334155;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 100;
    height: 72px; /* Fixed height to prevent jumping */
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #334155;
    border: 1px solid #475569;
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.back-button:hover {
    background: #475569;
    border-color: #64748b;
    color: white;
    transform: translateX(-2px);
}

.back-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.15s ease;
}

.back-button:hover svg {
    transform: translateX(-2px);
}

.header-title h2 {
    font-size: 20px;
    font-weight: 700;
}

.header-title p {
    font-size: 14px;
    color: #94a3b8;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    padding: 8px 12px 8px 36px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    width: 250px;
}

.search-box input:focus {
    outline: none;
    border-color: #06b6d4;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* Edit Mode Toggle */
.edit-mode-toggle {
    background: #334155;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.edit-mode-toggle:hover {
    background: #475569;
}

.edit-mode-toggle.active {
    background: #f59e0b;
}