/* ELEMENTARNO City Switcher Styles */

button.elementarno-city-switcher-btn {
    background: #fff !important;
    padding: 5px 5px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px !important;
    transition: all 0.3s ease;
    color: #677B97 !important;
    text-transform: none;
}

button.elementarno-city-switcher-btn:hover {
    background-color: #fff !important;
    color: #677B97 !important;
}

.elementarno-city-switcher-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Модальне вікно */
.elementarno-city-switcher-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: elementarno-city-fadeIn 0.3s ease;
}

.elementarno-city-switcher-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes elementarno-city-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.elementarno-city-switcher-modal-content {
    background-color: #fff;
    padding: 28px 20px 20px;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: elementarno-city-slideUp 0.3s ease;
    position: relative;
}

@keyframes elementarno-city-slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.elementarno-city-switcher-modal-header {
    margin-bottom: 30px;
}

.elementarno-city-switcher-modal-header h4 {
    margin: 0 !important;
    font-size: 24px !important;
    color: #333 !important;
    font-weight: 700 !important;
}

.elementarno-city-switcher-modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

button.elementarno-city-switcher-city-btn {
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: 1px solid #677B97 !important;
    background: white !important;
    color: #677B97 !important;
    border-radius: 0;
    cursor: pointer;
}

button.elementarno-city-switcher-city-btn:hover {
    background-color: #677B97 !important;
    color: white  !important;
}

button.elementarno-city-switcher-city-btn.active {
    background-color: #677B97 !important;
    color: white !important;
}

button.elementarno-city-switcher-close {
    position: absolute;
    top: 4px;
    right: 10px;
    font-size: 32px !important;
    font-weight: bold !important;
    color: #677B97 !important;
    cursor: pointer;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    transition: color 0.2s ease;
    min-height: unset !important;
    line-height: 1 !important;
}

button.elementarno-city-switcher-close:hover {
    color: #333;
}

@media (max-width: 768px) {
    .elementarno-city-switcher-modal-content {
        padding: 30px 20px;
    }
    
    .elementarno-city-switcher-modal-header h4 {
        font-size: 20px;
    }
    
    button.elementarno-city-switcher-city-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
	
	.elementarno-city-switcher-open-btn span {
		display: none;
		font-size: 0px;
	}
    
    button.elementarno-city-switcher-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}