/* EDVC Mapper - Navbar Styles */

.edvc-navbar {
    background-color: var(--edvc-bg-navbar);
    border-bottom: 1px solid #e1e8ed;
    padding: 0 1rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.edvc-nav-left,
.edvc-nav-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.edvc-nav-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 2rem;
}

/* Menu Button */
.edvc-menu-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--edvc-border-radius);
    cursor: pointer;
    transition: var(--edvc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edvc-menu-btn:hover {
    background-color: rgba(0, 124, 186, 0.1);
}

.edvc-menu-btn img {
    width: 24px;
    height: 24px;
	pointer-events: none;
}

/* Map Title Input */
.edvc-map-title {
    background: transparent !important;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: var(--edvc-text-primary);
    padding: 8px 12px !important;
	border: none !important;
    border-radius: var(--edvc-border-radius) !important;
    transition: none !important;
	
    min-width: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
	height: inherit !important;
}

.edvc-map-title:hover {
    background-color: rgba(0, 124, 186, 0.1) !important;
}

.edvc-map-title:focus {
    outline: 2px solid #007cba !important;
    background-color: #fff !important;
	outline-offset: 0px;
}

.edvc-map-title::placeholder {
    color: var(--edvc-text-placeholder);
    text-transform: uppercase;
}

/* Info Button */
.edvc-info-btn {
    background: none;
    border: 1px solid #e1e8ed;
    padding: 6px;
    margin-left: 8px;
    border-radius: var(--edvc-border-radius);
    cursor: pointer;
    transition: var(--edvc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.edvc-info-btn:hover {
    background-color: rgba(0, 124, 186, 0.1);
}


.edvc-info-btn img {
    width: 16px;
    height: 16px;
    transition: var(--edvc-transition);
}

/* Center Map Button */
.edvc-center-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--edvc-border-radius);
    cursor: pointer;
    transition: var(--edvc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edvc-center-btn:hover {
    background-color: rgba(0, 124, 186, 0.1);
}

.edvc-center-btn img {
    width: 20px;
    height: 20px;
}

/* Map Info Panel */
.edvc-map-info {
    background-color: white;
    border-bottom: 1px solid #e1e8ed;
    padding: 1rem;
    animation: edvcGrowHeight 0.3s ease-out;
}

.edvc-map-info textarea {
    border: none;
    resize: vertical;
    min-height: 80px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--edvc-text-primary);
}

.edvc-map-info textarea:focus {
    box-shadow: none;
    outline: 1px solid var(--edvc-highlight);
}

.edvc-map-info textarea::placeholder {
    color: var(--edvc-text-placeholder);
    font-style: italic;
}

/* Phase Tabs Container */
.edvc-phases-container {
    background-color: var(--edvc-bg-navbar);
    border-bottom: 1px solid #e1e8ed;
    padding: 0 1rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
}

.edvc-phases-tabs {
    display: flex;
    gap: 0.5rem;
    min-width: max-content;
}

/* Phase Tab */
.edvc-phase-tab {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #e1e8ed;
    border-radius: var(--edvc-border-radius) var(--edvc-border-radius) 0 0;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--edvc-transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--edvc-text-secondary);
    white-space: nowrap;
    position: relative;
}

.edvc-phase-tab:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--edvc-text-primary);
}

.edvc-phase-tab.active {
    background-color: white;
    color: var(--edvc-text-primary);
    border-bottom-color: white;
    margin-bottom: -1px;
    z-index: 1;
}

.edvc-phase-tab span {
    pointer-events: none;
}

/* Phase Menu Button */
.edvc-phase-menu {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    transition: var(--edvc-transition);
    opacity: 0;
}

.edvc-phase-tab:hover .edvc-phase-menu {
    opacity: 1;
}

.edvc-phase-menu:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .edvc-navbar {
        padding: 0 0.5rem;
    }
    
    .edvc-nav-center {
        margin: 0 1rem;
    }
    
    .edvc-map-title {
        min-width: 150px;
        font-size: 14px;
    }
    
    .edvc-phases-container {
        padding: 0 0.5rem;
    }
    
    .edvc-phase-tab {
        padding: 0.5rem 0.75rem;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .edvc-navbar {
        height: 50px;
    }
    
    .edvc-nav-center {
        margin: 0 0.5rem;
    }
    
    .edvc-map-title {
        min-width: 100px;
        font-size: 12px;
    }
    
    .edvc-phases-container {
        min-height: 40px;
    }
    
    .edvc-phase-tab {
        padding: 0.4rem 0.6rem;
        font-size: 10px;
    }
}

/* High DPI Displays */
@media (min-width: 1920px) {
    .edvc-navbar {
        height: 70px;
        padding: 0 2rem;
    }
    
    .edvc-map-title {
        font-size: 18px;
        min-width: 300px;
    }
    
    .edvc-menu-btn img,
    .edvc-center-btn img {
        width: 28px;
        height: 28px;
    }
    
    .edvc-info-btn {
        width: 36px;
        height: 36px;
    }
    
    .edvc-info-btn img {
        width: 18px;
        height: 18px;
    }
}